Post by Rob ChanterPost by ChrisOk - lemme rephase. Along with a legit IP in the above example, is it
required to have 127.0.0.1/8? If yes, what happens if it not there.
If no - are there ramifications.
Should be 127.0.0.0/8 or 127.0.0.1/32.
Yes, good catch!
Post by Rob ChanterPost by ChrisPerhaps I didn't articulate (being late and working long hours).
Not required AFAIK, but it won't prevent mail being submitted locally
unless you also secure the sendmail binary and anything else that might
invoke postdrop or otherwise put things in the maildrop queue.
Local mail submission is not via SMTP, so mynetworks does not apply.
There is no requirement to list 127.0.0.1 in mynetworks unless there
are applications that need relay rights and talk SMTP to 127.0.0.1
on port 25 (re-injection from content_filters is usually handled with
explicit restrictions in master.cf or a second Postfix instance also
with separate restrictions).
Post by Rob ChanterEven then, someone logged in locally can still connect to the
non-loopback address. Apart from multi-instance setups, I can't think of
any reason you'd want to omit localhost from inet_interfaces.
Yes, there is not much to be gained by leaving it out, note the OP is
talking about mynetworks (relay access) not inet_interfaces (where the
server listens).
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:***@postfix.org?body=unsubscribe%20postfix-users>