Re: [exim] recording failed rcpt to's

Etusivu
Poista viesti
Vastaa
Lähettäjä: Giuliano Gavazzi
Päiväys:  
Vastaanottaja: Andrew
Kopio: exim-users
Aihe: Re: [exim] recording failed rcpt to's
At 10:21 pm +1100 2004/11/09, Andrew wrote:
>Thanks for the quick reply :)
>
>I like this the most
>
>warn domains = +local_domains
>     !verify = recipient
>*     *insert into db*
>*
>I changed it to

>
>deny domains = +local_domains
>     !verify = recipient
>*      *condition = (insert insert into db statement)
>     message = unknown user

>
>The problem with warn is that if the user is unknown, it still tries
>to pass it onto the next ACL, which doubles up on the queries :( -
>This way, if the user doesn't exist, it doesn't waste the time
>trying the vrfy again :)


of course, I imagine that after that you will limit the accept to simply

accept domains = +local_domains

as the verify = recipient I included is now a bit redundant.

(the warn was mainly meant to be a plug-in to keep the rest of the
acl-s untouched; besides, I think the verify=recipient is cached)

g