mynetworks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

mynetworks

Helmut Schneider
Hallo,

[helmut@BSDHelmut ~]$ sudo postmulti -i postfix-out -x postconf
mynetworks
mynetworks = 192.168.124.36/32
[helmut@BSDHelmut ~]$ sudo postmulti -i postfix-out -x postconf
mynetworks_style
mynetworks_style = subnet
[helmut@BSDHelmut ~]$ grep mynetworks /usr/local/etc/postfix-out/main.cf
mynetworks_style = subnet
[helmut@BSDHelmut ~]$ postmulti -i postfix-out -x postconf
inet_interfaces
inet_interfaces = 192.168.124.36
[helmut@BSDHelmut ~]$

Ich hätte für mynetworks

[helmut@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
[helmut@BSDHelmut ~]$

erwartet. Was hab ich übersehen?

[helmut@BSDHelmut ~]$ postconf -d | grep mail_version
mail_version = 3.3.1
[helmut@BSDHelmut ~]$

Danke.

Reply | Threaded
Open this post in threaded view
|

Re: [ext] mynetworks

Ralf Hildebrandt
* Helmut Schneider <[hidden email]>:
> Hallo,
>
> [helmut@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@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@BSDHelmut ~]$ grep mynetworks /usr/local/etc/postfix-out/main.cf
> mynetworks_style = subnet

S.o.

> [helmut@BSDHelmut ~]$ postmulti -i postfix-out -x postconf inet_interfaces
> inet_interfaces = 192.168.124.36

Postfix horcht nur auf 192.168.124.36


> [helmut@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.

--
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [hidden email] | https://www.charite.de
           
Reply | Threaded
Open this post in threaded view
|

Re: [ext] mynetworks

Helmut Schneider
Ralf Hildebrandt wrote:

> * Helmut Schneider <[hidden email]>:
> > Hallo,
> >
> > [helmut@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@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@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@BSDHelmut ~]$ sudo grep -ir 'mynetworks '
/usr/local/etc/postfix-out/main.cf
[helmut@BSDHelmut ~]$

Reply | Threaded
Open this post in threaded view
|

Re: [ext] mynetworks

Michael Grundmann-2
Hi,

mach doch mal ein schnödes:
postconf -n | grep mynetworks
dann siehst du es doch

Gruß Michael

Wenn du verstehst, was du tust, wirst du nichts lernen

Am 20.07.18 um 11:06 schrieb Helmut Schneider:

> Ralf Hildebrandt wrote:
>
>> * Helmut Schneider <[hidden email]>:
>>> Hallo,
>>>
>>> [helmut@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@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@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@BSDHelmut ~]$ sudo grep -ir 'mynetworks '
> /usr/local/etc/postfix-out/main.cf
> [helmut@BSDHelmut ~]$
>
Reply | Threaded
Open this post in threaded view
|

Re: [ext] mynetworks

Helmut Schneider
Michael Grundmann wrote:

> Am 20.07.18 um 11:06 schrieb Helmut Schneider:
> > Ralf Hildebrandt wrote:
> >
> > > * Helmut Schneider <[hidden email]>:
> > > > Hallo,
> > > >
> > > > [helmut@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@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@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@BSDHelmut ~]$ sudo grep -ir 'mynetworks '
> > /usr/local/etc/postfix-out/main.cf
> > [helmut@BSDHelmut ~]$
>
> mach doch mal ein schnödes:
> postconf -n | grep mynetworks
> dann siehst du es doch

[helmut@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@BSDHelmut ~]$ postmulti -i postfix-out -x postconf -n mynetworks
[helmut@BSDHelmut ~]$ postmulti -i postfix-out -x postconf mynetworks
mynetworks = 192.168.124.36/32
[helmut@BSDHelmut ~]$