On Sun, Aug 10, 2003 at 08:08:35PM +0200, kobartek wrote: >
> Dear Exim users,
>
> could someone give me a hint on making duplicate of every outgoing
> email sent through SMTP. Duplicate of single email should be saved
> into specified user`s emailbox.
>
> Please imagine the situation: company`s owner would like to
> have collected all emails sent by his agents to all company`s clients. He
> will prepare i.e. archive@??? email box for collecting outgoing
> emails (as well as for forwarding all emails sent to agent by clients -
> but this is simple to be arranged on the server)
>
> Regards,
> kobartek
>
copy_outgoing:
driver = appendfile
maildir_format
directory = /var/spool/mail/archive/${sender_address_local_part}/sent
user = mail
group = mail
mode = 0600
The same idea applies for making copies of incoming emails as well. The
unseen option tells exim instead of stopping at that particular router
that makes the copy, to go ahead and continue on to the next router
which should be the router that actually delivers the message into the
appropriate mailbox/maildir.