Re: [exim] Returning mail via filter/how to avoid frozen mes…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Fred Viles
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Returning mail via filter/how to avoid frozen messages
On 26 Jan 2005 at 18:56, Wakko Warner wrote about
    "Re: [exim] Returning mail via filte":


| Fred Viles wrote:
| >   # Reject defunct user names
| > 
| >   deny local_parts = lsearch;/usr/exim/alumni
| >        message = ${lookup{$local_part}lsearch{/usr/exim/alumni}}
| 
| How about:
|     deny    message = $recipient_data
|         recipients = lsearch;/usr/exim/alumni


Yeah, that should work. Using recipients= instead of local_parts=
means the "alumni" files would contain the full email addresses,
which would be more flexible if you handle multiple domains.

- Fred