Re: [exim] How to use fake reject?

Pàgina inicial
Delete this message
Reply to this message
Autor: Magnus Holmgren
Data:  
A: exim user
CC: Exim Mailing List
Assumpte: Re: [exim] How to use fake reject?
exim user skrev:
> Dear list,
>
> after searching the archives and faqs, my question keeps unanswered:
>
> What is the (best) way, to use the fake reject control?
>
> As my rcpt_acl starts with a lot of drops/denies (not without a reason),
> where should I implement the 'control=fakereject' to get all the unknown
> recipient's mail delivered for further inspection to the postmaster AND
> bounced back to the sender (because the postmaster doesn't work 7/24)?
>
> Most messages stop here:
>
> drop message   = Recipient unknown
> !verify        = recipient
> delay          = ${eval: ($rcpt_fail_count + 1) * 1}m

>
> So, what kind of accept should I add before, to get all unknown recipients
> fake rejected and in copy delivered to the postmaster?
>


You can use a catch-all manualroute router with no_verify. That way it
won't count in the verify = recipient test. But you have to change the
order a bit:

accept  verify  = recipient
accept  control = fakereject/Recipient unknown
        delay   = ${eval: ($rcpt_fail_count + 1) * 1}m


I can't see why you would drop the connection as soon as a nonexisting
recipient is encountered. Especially if you want the message to be
delivered to postmaster...

--
Magnus Holmgren
holmgren@???