Author: Felix Schwarz
Date:
To: exim-users
Subject: Re: [exim] Copying mail.
Hi Bartłomiej,
"Bartłomiej Wąs" wrote:
> is it possible to make copy of every email that goes throu exim (outgoing
> and incoming) to file or mysql database.
I think the following will do this
archive_mail_router:
driver = accept
domains = +gateway_domains
transport = archive_mail_transport
no_verify
unseen
archive_mail_transport:
driver = appendfile
maildir_format = true
directory = /var/mail/archive/${domain}/${local_part}/
delivery_date_add
envelope_to_add
return_path_add
# user = exim
# group = exim
--
Felix