Re: [exim] AUTH FAIL not fatal error?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Todd Lyons
Ημερομηνία:  
Προς: Frank.Elsner
Υ/ο: exim-users, John Jetmore
Αντικείμενο: Re: [exim] AUTH FAIL not fatal error?
On Tue, Apr 24, 2012 at 12:23 PM, Frank Elsner
<Frank.Elsner@???> wrote:
>> > Why is this not a fatal error resulting in a non-delivery report:
>> > 2012-04-24 17:21:03 1SMhY5-0004Nn-Vg == xxxx@??? R=via_egypt T=smtp defer (-42): authentication required but authentication attempt(s) failed
>>
>> Is it possible that the remote server returned 4xx codes in response
>
> No. It's a 5xx:
>
> 2012-04-24 21:16:41 1SMlBZ-0007qG-4j client authenticator failed H=eg-mailfrontend.elgouna.tu-berlin.de [41.128.204.142] 535 Incorrect authentication data
> 2012-04-24 21:16:41 1SMlBZ-0007qG-4j == xxxx@??? R=via_egypt T=smtp defer (-42): authentication required but authentication attempt(s) failed


This is from the spec file, pay attention to the last sentence:

hosts_require_auth     Use: smtp     Type: host list†     Default: unset


This option provides a list of servers for which authentication must
succeed before Exim will try to transfer a message. If authentication
fails for servers which are not in this list, Exim tries to send
unauthenticated. If authentication fails for one of these servers,
delivery is deferred. This temporary error is detectable in the retry
rules, so it can be turned into a hard failure if required.


I personally don't use anything more than the most basic retry rules,
so I do not know how to specifically do that last bit, likely others
will be able to provide better feedback.

...Todd
--
Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. -- Martin Golding