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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Sherman
Dátum:  
Címzett: exim-users
Tárgy: 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