Backup and Archive Incoming Email with Exim

Loitering around Google and finding a way to archive/backup incoming email in Exim email server. I went through the documentation in Exim offical website and found out a solution to do that with $tod_log, substr and shadow_transport.

The below transport rule will backup copy of email into /mail/backup/datetime/domainname/userid

This rules will backup all incoming email in local_delivery router. For you information;