Davide Minardi wrote: > Hi, I have debian sarge installed . I have installed Exim 4 as outgoing mail > server and incoming by fetchmail. > > I want to save, for backup event, outgoing message in a Maildir subfolder > named "backup" . I connect on my server with IMAP Client (courier-imap is > server side) . > > When i send a message from another host in my LAN, Exim4 shuold be save > outgoing mail in a subfolder. I have read on Internet that is possible. I > must write a filter rules but ...how and where ? > > Any ideas ? > > Best regards ... > > Raziel
No filter needed. Use 'unseen' to chain two routers: This works: The routers: ===================== # Route 2_C normal remote DNS lookup # dnslookup: driver = dnslookup domains = ! +local_domains transport = remote_smtp ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 unseen # ROUTE_2D REMOTE: archiving of outbound traffic. # sentarchiver: driver = dnslookup domains = ! +local_domains ### Note - this is optional... transport = sent_archive_delivery ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 ===================== The remote_smtp transport is default/'conventional. The 'sent_archive_delivery' transport should store mail in either a common-systemwide, common-source-domain-wide (virtual hosting?), or by-destination-domain structure, depending on your environment and expected manner of analysis/recovery. Bill -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
