[ext] mynetworks
Helmut Schneider
jumper99 at gmx.de
Fr Jul 20 20:46:02 CEST 2018
Michael Grundmann wrote:
> Am 20.07.18 um 11:06 schrieb Helmut Schneider:
> > Ralf Hildebrandt wrote:
> >
> > > * Helmut Schneider <jumper99 at gmx.de>:
> > > > Hallo,
> > > >
> > > > [helmut at BSDHelmut ~]$ sudo postmulti -i postfix-out -x postconf
> > > > mynetworks mynetworks = 192.168.124.36/32
> > >
> > > postfix-out nutzt "mynetworks = 192.168.124.36/32"
> > >
> > > > [helmut at BSDHelmut ~]$ sudo postmulti -i postfix-out -x postconf
> > > > mynetworks_style
> > > > mynetworks_style = subnet
> > >
> > > Das ist egal, weil "mynetworks = 192.168.124.36/32" explizit
> > > gesetzt
> > [...]
> > > > [helmut at BSDHelmut ~]$ sudo postmulti -i postfix-out -x postconf
> > > > -d mynetworks mynetworks = 192.168.124.0/24 192.168.124.36/32
> > > > 127.0.0.0/8 10.0.124.129/32 [fe80::]/64 [2003:ed:2bcf:eb00::]/64
> > > > [::1]/128
> > >
> > > Das ist der Default, du hast aber explizit "mynetworks =
> > > 192.168.124.36/32" gesetzt.
> >
> > Eben nicht, das ist es ja:
> >
> > [helmut at BSDHelmut ~]$ sudo grep -ir 'mynetworks '
> > /usr/local/etc/postfix-out/main.cf
> > [helmut at BSDHelmut ~]$
>
> mach doch mal ein schnödes:
> postconf -n | grep mynetworks
> dann siehst du es doch
[helmut at BSDHelmut ~]$ postmulti -i postfix-out -x postconf -n | grep
mynetworks
mynetworks_style = subnet
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated
check_client_access hash:/usr/local/etc/postfix-out/client_access
warn_if_reject reject_unknown_client_hostname warn_if_reject
reject_unknown_reverse_client_hostname
smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated
check_helo_access hash:/usr/local/etc/postfix-out/helo_access
reject_non_fqdn_helo_hostname reject_invalid_helo_hostname
warn_if_reject reject_unknown_helo_hostname
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
smtpd_sender_restrictions = permit_mynetworks permit_sasl_authenticated
[helmut at BSDHelmut ~]$ postmulti -i postfix-out -x postconf -n mynetworks
[helmut at BSDHelmut ~]$ postmulti -i postfix-out -x postconf mynetworks
mynetworks = 192.168.124.36/32
[helmut at BSDHelmut ~]$
Mehr Informationen über die Mailingliste Postfixbuch-users