Re: [Exim] archiving outgoing mail

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Rossz Vamos-Wentworth
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] archiving outgoing mail
On Thu, 3 Jul 2003, Rossz Vamos-Wentworth wrote:

> Archiving incoming mail was easy enough. I added this router:
>
> archival:
> driver = redirect
> domains = thedomain.com
> data = archive@???
> unseen
>
> And set up a cron job to tar the contents of the mailbox up and
> remove the files.
>
> I'm stuck on how to do the same to outgoing mail. If I can just get it
> to send a copy to the archive account (without getting into an
> infinite loop, of course!), the problem would be solved.


You need to find a rule for defining what you mean by "outgoing". It
could be "from certain hosts" or "from certain senders at certain
hosts". When you have found your rule, you should be able to create a
suitable condition (if necessary, check out the "condition" condition
for routers) for a similar router to the one above.

--
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