Re: [exim] Store (not deliver) messages if sent to/from an a…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Sherman
Date:  
À: exim-users
Sujet: Re: [exim] Store (not deliver) messages if sent to/from an address
Burhan Khalid wrote:
>
> I'm having a trouble trying to google what kind of filter I would
> write if I want to *archive* and not deliver messages matching a to
> and a from address.


Archiving is delivery, to a file.

> In other words, if email is from x@??? and is addressed to b@???
> then store in /foo/bar and not deliver.


Just use a redirect router, with appropriate conditions to match the
addresses, and deliver to the appropriate /foo/bar file in the data option.

- Marc