From: Jonathan Tripathy on
Hi Everyone,

I'm currently in the middle of watching a customer's mail.log file. He
is trying to send an email to a lot of people at once (Something like
5000), however the logs don't reflect this. Instead I'm seeing:

May 27 10:32:41 server1 postfix/smtpd[8144]: connect from
office1.domain.local[10.86.1.101]
May 27 10:32:43 server1 postfix/smtpd[8144]: warning: Illegal address
syntax from office1.domain.local[10.86.1.101] in RCPT command:
<CONTACTUS(a)abc+xyz.CO.UK>
May 27 10:32:44 server1 postfix/smtpd[8144]: warning: Illegal address
syntax from office1.domain.local[10.86.1.101] in RCPT command:
<INFO(a)qrs+tuv.CO.UK>
May 27 10:32:55 server1 postfix/smtpd[8144]: too many errors after RCPT
from office1.domain.local[10.86.1.101]
May 27 10:37:55 server1 postfix/smtpd[8144]: disconnect from
office1.domain.local[10.86.1.101]

The above is happening over and over again (minute or so) with no sign
of the other emails being sent. Presumably, the client (Outlook 2003)
keeps retrying..

As you can see, the client is trying to send an email to 2 email address
with a + in it, which postfix doesn't seem to like. This may be the
case, and may be ok, however my concern is that why aren't I seeing any
emails being sent to the other 4998 valid addresses? Is there anything I
can do to force postfix use those addresses?

Thanks

Jonathan

From: Ralf Hildebrandt on
* Jonathan Tripathy <jonnyt(a)abpni.co.uk>:
> Hi Everyone,
>
> I'm currently in the middle of watching a customer's mail.log file.
> He is trying to send an email to a lot of people at once (Something
> like 5000), however the logs don't reflect this. Instead I'm seeing:
>
> May 27 10:32:41 server1 postfix/smtpd[8144]: connect from
> office1.domain.local[10.86.1.101]
> May 27 10:32:43 server1 postfix/smtpd[8144]: warning: Illegal address
> syntax from office1.domain.local[10.86.1.101] in RCPT command:
> <CONTACTUS(a)abc+xyz.CO.UK>
> May 27 10:32:44 server1 postfix/smtpd[8144]: warning: Illegal address
> syntax from office1.domain.local[10.86.1.101] in RCPT command:
> <INFO(a)qrs+tuv.CO.UK>
> May 27 10:32:55 server1 postfix/smtpd[8144]: too many errors after
> RCPT from office1.domain.local[10.86.1.101]
> May 27 10:37:55 server1 postfix/smtpd[8144]: disconnect from
> office1.domain.local[10.86.1.101]
>
> The above is happening over and over again (minute or so) with no
> sign of the other emails being sent. Presumably, the client (Outlook
> 2003) keeps retrying..

Korrekt. The mail never gets sent

> As you can see, the client is trying to send an email to 2 email
> address with a + in it, which postfix doesn't seem to like.

Yes.

> This may be the case, and may be ok, however my concern is that why
> aren't I seeing any emails being sent to the other 4998 valid
> addresses? Is there anything I can do to force postfix use those
> addresses?

too many errors after...

raise the soft_error_limit and/or the hard_error_limit

--
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
ralf.hildebrandt(a)charite.de | http://www.charite.de


From: Jonathan Tripathy on

On 27/05/10 10:41, Jonathan Tripathy wrote:
> Hi Everyone,
>
> I'm currently in the middle of watching a customer's mail.log file. He
> is trying to send an email to a lot of people at once (Something like
> 5000), however the logs don't reflect this. Instead I'm seeing:
>
> May 27 10:32:41 server1 postfix/smtpd[8144]: connect from
> office1.domain.local[10.86.1.101]
> May 27 10:32:43 server1 postfix/smtpd[8144]: warning: Illegal address
> syntax from office1.domain.local[10.86.1.101] in RCPT command:
> <CONTACTUS(a)abc+xyz.CO.UK>
> May 27 10:32:44 server1 postfix/smtpd[8144]: warning: Illegal address
> syntax from office1.domain.local[10.86.1.101] in RCPT command:
> <INFO(a)qrs+tuv.CO.UK>
> May 27 10:32:55 server1 postfix/smtpd[8144]: too many errors after
> RCPT from office1.domain.local[10.86.1.101]
> May 27 10:37:55 server1 postfix/smtpd[8144]: disconnect from
> office1.domain.local[10.86.1.101]
>
> The above is happening over and over again (minute or so) with no sign
> of the other emails being sent. Presumably, the client (Outlook 2003)
> keeps retrying..
>
> As you can see, the client is trying to send an email to 2 email
> address with a + in it, which postfix doesn't seem to like. This may
> be the case, and may be ok, however my concern is that why aren't I
> seeing any emails being sent to the other 4998 valid addresses? Is
> there anything I can do to force postfix use those addresses?
>
> Thanks
>
> Jonathan

Even after removing those 2 address from the list, we are still getting
the "too many errors after RCPT from office1.domain.local[10.86.1.101]"
(Of course, the 2 email addresses aren't mentioned anymore)
From: Jonathan Tripathy on

> too many errors after...
>
> raise the soft_error_limit and/or the hard_error_limit
>
>

Ah! So my postfix server has a limit then. Where can I put these
settings? In main.cf ?

From: Ralf Hildebrandt on
* Jonathan Tripathy <jonnyt(a)abpni.co.uk>:
>
> >too many errors after...
> >
> >raise the soft_error_limit and/or the hard_error_limit
> >
>
> Ah! So my postfix server has a limit then. Where can I put these
> settings? In main.cf ?

Yes, like almost all settings...

smtpd_hard_error_limit = 1000
smtpd_soft_error_limit = 1000

--
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
ralf.hildebrandt(a)charite.de | http://www.charite.de