Re: [exim] Filtering incoming mail.

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tim Jackson
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Filtering incoming mail.
On Fri, 6 Jan 2006 15:59:41 +0000
Tony Finch <dot@???> wrote:

[deciding whether to route a recipient or not based on a text file with
a list of valid local parts for a domain]

> I'd go for something like
> reject_bad:
> driver = redirect
> domains = +userlist_domains
> local_parts = ! lsearch;/etc/userlists/$domain
> data = :fail: $local_part not known at $domain
> allow_fail


Thanks, that's more readable than my version and avoids the dreaded
Gratuitous String Expansion :) I've applied it to my machines.

Tim