Re: [exim] How to use fake reject?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Sherman
Datum:  
To: exim-users
Betreff: Re: [exim] How to use fake reject?
Magnus Holmgren wrote:
> 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:


That would most likely be a redirect router for the catchall, not a
manualroute.

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


That only works if it's at the end of the ACL, otherwise the new accept
cuts off any following statements. Instead, try

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

and make sure there's a catch-all accept at the end of the ACL.

- Marc