Re: How to debug "smtp: bad command startup -- throttling" error?

2020-04-15 Thread Viktor Dukhovni
On Wed, Apr 15, 2020 at 09:25:29PM -0400, Bobby Mozumder wrote: > My Postfix SMTP client, when it sends to my external relay server (connecting > to port 587), does a core dump and outputs the following message: > > Apr 15 20:51:57 mail postfix/master[67497]: warning: process >

How to debug "smtp: bad command startup -- throttling" error?

2020-04-15 Thread Bobby Mozumder
My Postfix SMTP client, when it sends to my external relay server (connecting to port 587), does a core dump and outputs the following message: Apr 15 20:51:57 mail postfix/master[67497]: warning: process /usr/local/libexec/postfix/smtp pid 67505 killed by signal 11 Apr 15 20:51:57 mail

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

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

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

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

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

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> >

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

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: Outgoing DANE not working

2020-04-15 Thread Viktor Dukhovni
On Wed, Apr 15, 2020 at 02:01:49PM -0400, Rich Felker wrote: > I'd be interested in reading more on this if you know any references. > Over 512 bytes of MX records seems like a lot, and seems like a really > bad idea for a domain configuration since there have always been (as > you noted, with

Re: Outgoing DANE not working

2020-04-15 Thread Florian Weimer
* Rich Felker: > On Wed, Apr 15, 2020 at 07:19:43PM +0200, Florian Weimer wrote: >> * Rich Felker: >> >> > This is true for users running local nameservers, which ideally will >> > eventually be everyone, but at present that's far from the case. >> > Differences like concurrent attempts from

Re: Outgoing DANE not working

2020-04-15 Thread Rich Felker
On Wed, Apr 15, 2020 at 07:19:43PM +0200, Florian Weimer wrote: > * Rich Felker: > > > This is true for users running local nameservers, which ideally will > > eventually be everyone, but at present that's far from the case. > > Differences like concurrent attempts from multiple nameservers

Re: Outgoing DANE not working

2020-04-15 Thread Florian Weimer
* Rich Felker: > This is true for users running local nameservers, which ideally will > eventually be everyone, but at present that's far from the case. > Differences like concurrent attempts from multiple nameservers and/or > lack of TCP fallback on TC are what makes netstat fast on musl vs >

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. > > > > > > > >

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.

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

Re: Possible header_check solution?

2020-04-15 Thread Matus UHLAR - fantomas
On 14/04/2020 18:42, Rick King wrote: We have a customer that occasionally receives messages like this... Return-Path: From: "Free iPad " To: Subject:Free iPad Any suggestions welcome! Thank you! On 15.04.20 11:09, Allen Coates wrote: I am no expert on pattern matching, but could you

Re: Possible header_check solution?

2020-04-15 Thread Allen Coates
On 14/04/2020 18:42, Rick King wrote: > Hello List! > > We have a customer that occasionally receives messages like this... > > Return-Path: > From: "Free iPad " > To: > Subject:Free iPad > Any suggestions welcome! Thank you! > > I am no expert on pattern matching, but could you

Re: Outgoing DANE not working (tentative patch for glibc >= 2.31, released Feb 2020)

2020-04-15 Thread Christian
Am Mittwoch, den 15.04.2020, 05:05 -0400 schrieb Viktor Dukhovni: > On Wed, Apr 15, 2020 at 10:36:26AM +0200, Christian wrote: > > > I don't yet have access to systems with this recent a glibc to > confirm > the above, but this is likely relevant to Postfix administrators who > enable DANE. You

Re: Outgoing DANE not working (tentative patch for glibc >= 2.31, released Feb 2020)

2020-04-15 Thread Viktor Dukhovni
On Wed, Apr 15, 2020 at 10:36:26AM +0200, Christian wrote: > > I don't yet have access to systems with this recent a glibc to confirm > > the above, but this is likely relevant to Postfix administrators who > > enable DANE. You may need to explicitly add the "trust-ad" option to > > your

Re: Outgoing DANE not working

2020-04-15 Thread Christian
Am Mittwoch, den 15.04.2020, 02:28 -0400 schrieb Viktor Dukhovni: > On Tue, Apr 14, 2020 at 05:59:51PM -0400, Viktor Dukhovni wrote: > > > but if that is incompatible with other stub resolver libraries on the > same machine, you may need a private musl-specific configuration file. > > My money is

postfix and bounced email (loops back to myself)

2020-04-15 Thread 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 by this filter and then

Re: Outgoing DANE not working

2020-04-15 Thread Viktor Dukhovni
On Tue, Apr 14, 2020 at 05:59:51PM -0400, Viktor Dukhovni wrote: > but if that is incompatible with other stub resolver libraries on the > same machine, you may need a private musl-specific configuration file. > > My money is on this being unnecessary. I'll let [you] know what I find > from