Re: [exim] Redirect Router: forced to fail, with a custom e…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: John Burnham
日付:  
To: 'exim users'
題目: Re: [exim] Redirect Router: forced to fail, with a custom error message?
> My sincere thanks to you both (Chris & John).
>
> I did not understand that ACL's control what happen at SMTP Time and
> routers/transports only come into effect after the message has been
> accepted. I guess {if I had gone on with the SMTP conversation} the
> router would have bounced the message(?) which is not what I intended.
>
> It did not help that I had 'accept' at the end of the ACL when this
> should have been dropping as I'd not tested for relay {blush - I was
> half using a honeypot configuration I whipped up last week}.
>
> I've got it now! ACL=SMTP TIME. I don't need to use a router
> to do this
> - the ACL 'deny recipients' is just what I need.
>
> Again gentlemen, thank you sincerely for your help.
>


Well, as Peter pointed out - it's made slightly more complicated than what I stated by the whole verification at ACL time thing.
When you have verification (either of senders or recipients) in your ACLs - routers are "tried" (unless they have no_verify turned on) to see if the address can be delivered by your routers, but as Peter said the router you had that returned the fail condition meant that one of your routers handled the recipient address and so the verification suceeded.

But, as a general rule if you want something to happen at SMTP time, then ACLs are the things to look at first.
Hopefully this hasn't confused matters.

J