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

Página Inicial
Delete this message
Reply to this message
Autor: Wakko Warner
Data:  
Para: Fred Viles
CC: exim-users
Assunto: Re: [exim] Returning mail via filter/how to avoid frozen messages
Please do keep me in CC.

Fred Viles wrote:
> On 26 Jan 2005 at 18:56, Wakko Warner wrote about
> | 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.


I did notice there was a $local_part_data, so you could replace the message
lsearch with just $local_part_data. That was what I was originally
thinking.

--
Lab tests show that use of micro$oft causes cancer in lab animals