Re: [exim] email archiving to file using router and transpor…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Paulo Andre
CC: exim-users, Andrew Nelson
Asunto: Re: [exim] email archiving to file using router and transport?
On Thu, 18 Nov 2004, Paulo Andre wrote:

> > As the OP said, it's because there may be many recipients and the filter
> > runs only once.
> >
>
> So If I needed to save the email for just a specific user how would I go
> about it?


Write an appropriate condition in the filter.

(1) For mail *to* that user, check the contents of $recipients.

(2) For mail *from* that user, check the contents of $sender_address.

You could probably also do this by special purpose routers with the
"unseen" option.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book