Re: [exim] Multiple log entries for same mail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Warren Baker
Dátum:  
Címzett: David Robertson
CC: exim-users
Tárgy: Re: [exim] Multiple log entries for same mail
On Wed, Feb 2, 2011 at 3:50 PM, David Robertson <david@???> wrote:
> 2011-02-01 12:27:43 1PkFKh-000DSD-7B <= mail
> 2011-02-01 12:27:43 1PkFKh-000DSD-7B SMTP error from remote mail server
> after initial connection: host fenman.co.uk.s200a1.psmtp.com
> [207.126.147.10]: 451 not currently accepting mail from your ip - psmtp
> 2011-02-01 12:27:43 1PkFKh-000DSD-7B SMTP error from remote mail server
> after initial connection: host fenman.co.uk.s200a2.psmtp.com
> [207.126.147.12]: 451 not currently accepting mail from your ip - psmtp
> 2011-02-01 12:27:43 1PkFKh-000DSD-7B SMTP error from remote mail server
> after initial connection: host fenman.co.uk.s200b1.psmtp.com
> [207.126.147.13]: 451 not currently accepting mail from your ip - psmtp
> 2011-02-01 12:27:43 1PkFKh-000DSD-7B SMTP error from remote mail server
> after initial connection: host fenman.co.uk.s200b2.psmtp.com
> [207.126.147.14]: 451 not currently accepting mail from your ip - psmtp
> 2011-02-01 12:27:43 1PkFKh-000DSD-7B == lindsey@??? R=relay_110
> T=smtp_110 defer (0): SMTP error from remote mail server after initial
> connection: host fenman.co.uk.s200b2.psmtp.com [207.126.147.14]: 451 not
> currently accepting mail from your ip - psmtp
> 2011-02-01 21:42:46 1PkFKh-000DSD-7B => lindsey@??? R=relay_110
> T=smtp_110 S=9853 H=fenman.co.uk.s200a1.psmtp.com [207.126.147.10]
> C="250 Thanks"
> 2011-02-01 21:42:46 1PkFKh-000DSD-7B Completed
>
> Any ideas why the same message is repeated 4 times before the failed
> delivery message and then not tried again for 9 hours.


host -t mx fenman.co.uk
fenman.co.uk mail is handled by 10 fenman.co.uk.s200a1.psmtp.com.
fenman.co.uk mail is handled by 20 fenman.co.uk.s200a2.psmtp.com.
fenman.co.uk mail is handled by 30 fenman.co.uk.s200b1.psmtp.com.
fenman.co.uk mail is handled by 40 fenman.co.uk.s200b2.psmtp.com.

Exim tried each MX record in turn and each one deferred the
connection. So hence the 4 log entries.

As to the 9 hours before retry, have a look at your retry rules.

>I did check the
> Q around midday and mail was going out at a steady rate.  A client
> complained that they sent a mail at midday but it was not received until
> 22:00 ish so I investigated.
> I have just changed the Q runner to run with the -qq option, could this
> be the cause.



No. -qq this simply helps with delivering multiple messages, destined
for the same host, down the same connection.


> This is quite a busy server and often has many Q runs running at the
> same time.
> Could it be that 5 Q runners tried delivery at the same time?
> Any suggestions welcome.



You would see "Spool file is locked..." in your log file if your queue
runners were tripping over one another.
There are numerous tricks to avoid this, search this list. If I
remember right, WB Hacker had some useful tips in setting up queue
runners.


--
.warren