Re: postfix and bounced email (loops back to myself)

2020-04-17 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Apr 17, 2020 at 02:28:10PM +0200, Vieri Di Paola wrote: > > > One of these mailbox servers has indeed the same "SMTP name" as one of > > the Postfix servers. In this case, I do get a message like this in the > > log: host XXX greeted me with my own hostname YYY > > > >

Re: postfix and bounced email (loops back to myself)

2020-04-17 Thread Viktor Dukhovni
On Fri, Apr 17, 2020 at 02:28:10PM +0200, Vieri Di Paola wrote: > One of these mailbox servers has indeed the same "SMTP name" as one of > the Postfix servers. In this case, I do get a message like this in the > log: host XXX greeted me with my own hostname YYY > > However, it's only a WARNING, a

Re: postfix and bounced email (loops back to myself)

2020-04-17 Thread Vieri Di Paola
On Thu, Apr 16, 2020 at 7:07 PM Viktor Dukhovni wrote: > > > # postconf -Mf > > smtp unix - - n - - smtp > > relay unix - - n - - smtp > > Please add: > > smtpv unix - - n - - smtp -v > >

Re: postfix and bounced email (loops back to myself)

2020-04-16 Thread Viktor Dukhovni
On Thu, Apr 16, 2020 at 10:47:00AM +0200, Vieri Di Paola wrote: > Not chrooted. > > # postconf -Mf > smtp unix - - n - - smtp > relay unix - - n - - smtp Please add: smtpv unix - - n - -

Re: postfix and bounced email (loops back to myself)

2020-04-16 Thread Wietse Venema
Vieri Di Paola: > postfix/smtpd[22926]: AB3AB12404F: client=unknown[10.2.0.1] > postfix/cleanup[23782]: AB3AB12404F: > message-id=<1587025299.219481.935321531.1891234@external.domain.org> > postfix/qmgr[22889]: AB3AB12404F: from=, > size=2855, nrcpt=1 (queue active) > postfix/smtp[22953]: AB3AB

Re: postfix and bounced email (loops back to myself)

2020-04-16 Thread Vieri Di Paola
On Thu, Apr 16, 2020 at 3:12 AM Viktor Dukhovni wrote: > > On Thu, Apr 16, 2020 at 02:58:44AM +0200, Vieri Di Paola wrote: > > > > > The collate script seems to confirm that the non-delivery > > > > notifications have been sent out. I rest assured. > > > > > > And what is the output of: > > > > >

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Viktor Dukhovni
On Thu, Apr 16, 2020 at 02:58:44AM +0200, Vieri Di Paola wrote: > > > The collate script seems to confirm that the non-delivery > > > notifications have been sent out. I rest assured. > > > > And what is the output of: > > > > getent hosts $( > > postconf -hx inet_interfaces proxy_inte

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Vieri Di Paola
On Thu, Apr 16, 2020 at 2:03 AM Viktor Dukhovni wrote: > > On Thu, Apr 16, 2020 at 01:40:42AM +0200, Vieri Di Paola wrote: > > > On Thu, Apr 16, 2020 at 12:35 AM Viktor Dukhovni > > wrote: > > > > > > Not all log messages carry the queue-id. Use the collate.pl script > > > to find any other pert

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Viktor Dukhovni
On Thu, Apr 16, 2020 at 01:40:42AM +0200, Vieri Di Paola wrote: > On Thu, Apr 16, 2020 at 12:35 AM Viktor Dukhovni > wrote: > > > > Not all log messages carry the queue-id. Use the collate.pl script > > to find any other pertinent log messages from 'smtp[13093]'. > > The collate script seems to

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Vieri Di Paola
On Thu, Apr 16, 2020 at 12:42 AM Wietse Venema wrote: > > You need to find out why 10.0.0.10 matches inet_interfaces or > proxy_interfaces. Because that is why Postfix complains. > > Someting in /etc/hosts? # grep -v ^# /etc/hosts 127.0.0.1 localhost ::1 localhost I guess I on

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Vieri Di Paola
On Thu, Apr 16, 2020 at 12:35 AM Viktor Dukhovni wrote: > > Not all log messages carry the queue-id. Use the collate.pl script > to find any other pertinent log messages from 'smtp[13093]'. The collate script seems to confirm that the non-delivery notifications have been sent out. I rest assured

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Wietse Venema
Vieri Di Paola: > On Wed, Apr 15, 2020 at 6:18 PM Wietse Venema wrote: > > > > You may want to check this: > > > > $ postconf transport_maps > > > > Output should list /etc/postfix/transport > > > > $ postmap -q mydomain.org /etc/postfix/transport > > > > Output should show mydomain.org

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Viktor Dukhovni
> On Apr 15, 2020, at 6:18 PM, Vieri Di Paola wrote: > > tail -n 1000 custom_email.log | grep "^Apr 15" | grep "3B4F21240B1" > postfix/smtpd[13316]: 3B4F21240B1: client=unknown[10.1.1.1] > postfix/cleanup[13083]: 3B4F21240B1: > message-id=<1586931633.63377.9971225...@external.org> > mimede

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Vieri Di Paola
On Wed, Apr 15, 2020 at 6:18 PM Wietse Venema wrote: > > You may want to check this: > > $ postconf transport_maps > > Output should list /etc/postfix/transport > > $ postmap -q mydomain.org /etc/postfix/transport > > Output should show mydomain.org smtp:[10.0.0.10] # postconf transpo

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Vieri Di Paola
On Wed, Apr 15, 2020 at 6:13 PM Wietse Venema wrote: > > Vieri Di Paola: > > On Wed, Apr 15, 2020 at 3:35 PM Wietse Venema wrote: > > > > > > Vieri Di Paola: > > > > Hi, > > > > > > > > I'm using postfix as an smtp filter (antispam) which then forwards the > > > > messages to another mail server

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Wietse Venema
Wietse Venema: > Vieri Di Paola: > > On Wed, Apr 15, 2020 at 3:35 PM Wietse Venema wrote: > > > > > > Vieri Di Paola: > > > > Hi, > > > > > > > > I'm using postfix as an smtp filter (antispam) which then forwards the > > > > messages to another mail server with user mailboxes. > > > > > > > > This

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Wietse Venema
Vieri Di Paola: > On Wed, Apr 15, 2020 at 3:35 PM Wietse Venema wrote: > > > > Vieri Di Paola: > > > Hi, > > > > > > I'm using postfix as an smtp filter (antispam) which then forwards the > > > messages to another mail server with user mailboxes. > > > > > > This server has private IP addr. 10.0.0

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Vieri Di Paola
On Wed, Apr 15, 2020 at 3:35 PM Wietse Venema wrote: > > Vieri Di Paola: > > Hi, > > > > I'm using postfix as an smtp filter (antispam) which then forwards the > > messages to another mail server with user mailboxes. > > > > This server has private IP addr. 10.0.0.1, and the mailbox server has > >

Re: postfix and bounced email (loops back to myself)

2020-04-15 Thread Wietse Venema
Vieri Di Paola: > Hi, > > I'm using postfix as an smtp filter (antispam) which then forwards the > messages to another mail server with user mailboxes. > > This server has private IP addr. 10.0.0.1, and the mailbox server has > private IP addr. 10.0.0.10. > So, external e-mails are first received