Re: [exim] Valid working host "failing for a long time"

Top Page
Delete this message
Reply to this message
Author: Colin
Date:  
To: exim-users
Subject: Re: [exim] Valid working host "failing for a long time"

On 25/08/2011 05:30, Phil Pennock wrote:
> On 2011-08-24 at 16:44 +0100, Colin wrote:
>> 2011-08-22 13:18:16 1QvTSJ-0000hJ-Rx ** sender@???
>> <sender@???> R=static_route T=remote_smtp_smart: all hosts have
>> been failing for a long time and were last tried after this message arrived
> Are you sure that it's the sender address there, and not the recipient
> address? I think you might have anonymised incorrectly.
>
> Have you tried using exinext?
>    50.10 Finding individual retry times (exinext)
>    spec.txt or
>    http://www.exim.org/exim-html-current/doc/html/spec_html/ch50.html#SECTfinindret

>
> -Phil

You are correct, the line indicates the recipient not the sender - Sorry.

exinext unfortunately isn't much use. The issue is not a persistent
issue and thus by the time I get to the server to run it there is no
useful output. This morning it simply tells me no remote hosts/retry
data found because they haven't received any email yet. I think it is
important to make clear that these messages do not sit on the queue for
any length of time and no other messages to these recipients are sitting
in the queue - they are all being delivered when they are received.

Other messages to invalid or down hosts do queue without issue.

The full exim log from the instance above is as follows (note that this
one is a forward but the other two similar failures were not):

2011-08-22 13:18:16 1QvTSJ-0000hJ-Rx <= sender@??? H=localhost
(mailserver.hostname) [1.1.1.1] P=esmtpa A=dovecot_login:auth@???
S=13341 id=xxxxx T="FW: Ladies Day"
2011-08-22 13:18:16 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1QvTSJ-0000hJ-Rx
2011-08-22 13:18:16 1QvTSJ-0000hJ-Rx ** recipient1@???
<recipient1@???> R=static_route T=remote_smtp_smart: all hosts
have been failing for a long time and were last tried after this message
arrived
2011-08-22 13:18:16 1QvTSJ-0000hJ-Rx ** recipient2@???
<recipient2@???> R=static_route T=remote_smtp_smart: all hosts
have been failing for a long time and were last tried after this message
arrived
2011-08-22 13:18:16 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem
-oi -f <> -E1QvTSJ-0000hJ-Rx
2011-08-22 13:18:16 1QvTSK-0000i4-Eh <= <> R=1QvTSJ-0000hJ-Rx U=mailnull
P=local S=14484 T="Mail delivery failed: returning message to sender"
2011-08-22 13:18:16 1QvTSJ-0000hJ-Rx Completed


recipient1@??? successfully received mail at 13:09:02 and 13:41:18
recipient2@??? successfully received mail at 13:01:10 and 14:17:03

Whilst I have been typing this message, another failure has just
occurred - unfortunately a successfully message went through to both
recipients within 3 minutes before I was able to run exinext so it still
says no remote hosts/retry data found. Interestingly, this particular
message had a third recipient, a hotmail address and the message was
successfully delivered to the Hotmail address.

2011-08-25 09:17:51 1QwV8I-0002iw-Il <= sender@??? H=localhost
(mailserver.hostname) [1.1.1.1] P=esmtpa A=dovecot_login:auth@???
S=19192 id=xxxxx T="RE: Customer Name Invoice Ladies Day"
2011-08-25 09:17:51 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1QwV8I-0002iw-Il
2011-08-25 09:17:51 1QwV8I-0002iw-Il ** recipient1@???
<recipient1@???> R=static_route T=remote_smtp_smart: all hosts
have been failing for a long time and were last tried after this message
arrived
2011-08-25 09:17:51 1QwV8I-0002iw-Il ** recipient2@???
<recipient2@???> R=static_route T=remote_smtp_smart: all hosts
have been failing for a long time and were last tried after this message
arrived
2011-08-25 09:17:52 1QwV8I-0002iw-Il => useraddress@???
R=lookuphost T=remote_smtp H=mx1.hotmail.com [65.54.188.110]
2011-08-25 09:17:52 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem
-oi -f <> -E1QwV8I-0002iw-Il
2011-08-25 09:17:53 1QwV8K-0002ja-Vh <= <> R=1QwV8I-0002iw-Il U=mailnull
P=local S=20335 T="Mail delivery failed: returning message to sender"
2011-08-25 09:17:53 1QwV8I-0002iw-Il Completed