Re: [Exim] archiving outgoing mail

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andreas J Mueller
Ημερομηνία:  
Προς: Rossz Vamos-Wentworth
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] archiving outgoing mail
Hi Rossz!

> I wish for the condition of "all from a specific domain".


> archive_outgoing:
> transport = redirect
> data = archive@???
> condition = if {eq{$domain}{domain.com}}
> unseen


First, it should be "driver = redirect", instead of "transport = ...".

$domain contains the domain of the routed address (which is the
recipient). If you want to act on mail from senders of a specific
domain, replace your "condition = ..." with

    senders = domain.com


Andy