OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: How is it: mynetworks = 127.0.0.0/8 yet local network users are able to send.

From: Wietse Venema (wietseporcupine.org)
Date: Wed Jun 03 2009 - 06:47:30 CDT


Sthu Pous:
> Thank You for Your time and answer, Carlos:
>
> > So for those three machines above to be able to send email using
> > Postfix, I need add the
> > following to '/etc/postfix/mynetworks':
> >
> > 127.0.0.0/8
> > 10.1.0.0/16
> >
> > Try that, reload Postfix and try and send email. Hope that helps. Also
> > your logs should show
> > some errors if not resolving.
>
> Interesting to note, but on
>
> postconf -d
>
> I see mynetworks = 127.0.0.0/8 v.x.y.z/25 192.168.0.0/24
>
> from whence it comes? - I have no mynetworks file.

The command "postconf -d" does NOT show main.cf.

Formatting page, please wait...Done.

POSTCONF(1) POSTCONF(1)

NAME
       postconf - Postfix configuration utility
...

       -d Print default parameter settings instead of actual
              settings.
...
       -n Print parameter settings that are not left at their
              built-in default value, because they are explicitly
              specified in main.cf.