Re: [Exim] : fail: messages not working

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: Fernando Sanchez
CC: Ken Olum, exim-users
Tárgy: Re: [Exim] : fail: messages not working
Fernando Sanchez wrote:
> Ken Olum wrote:
>
>> Should a message included with :fail: in an alias file be returned to
>> an SMTP client? All I get is "550 unknown user". I found the
>> documentation hard to understand -- it claims that the message would be
>> included in response to VRFY but didn't explain a situation with RCPT.
>> I'm running Exim 4.14.


This should work. Howeer you need to make sure that the alias file is
causing the reject - its not being rejected by an earlier acl or router,
and that you are verifying the recipient in your acls. Also make sure
that the use of verify/noverify on routers is correct.

> It does not quite make sence to me use the alias file to make a message
> returned to the sender, I would rather use a filter perhaps, you can
> specify on the system filter that if the recipient is "joe" then fail
> with an specific reason, check the filter documentation.


You should only do routing in a filter if there is no alternative. You
should *never* do routing in a system filter (because your idea of the
recipients is rather blurred). If you are trying to routing within
filters then you have got the overall logic wrong and should review your
config. [The same applies to access control too]

    Nigel.