Re: [exim] copy email going to one domain

Top Pagina
Delete this message
Reply to this message
Auteur: Heiko Schlittermann
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] copy email going to one domain
Yan Seiner <yan@???> (Mo 10 Feb 2014 00:10:08 CET):
> I would like to keep copies of emails that I send to one particular
> domain in a separate folder.


Some simplistic approach could be the use of shadow_transport transport
option, but this only helps if the transport you use is a local
transport.

More generic starting point is the use of the redirect router:

    begin routers:


        # order matters! should be one of the first routers
        cc_to_me:
            driver = redirect
            domains = example.com
            data = $local_part@$domain, me-and-myself@???


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-