December 19, 2016 by Roberto Puzzanghera 2 comments

The qmail-taps-extended patch by Inter7 (extension by Michai Secasiu) provides the ability to save each email which flows through the system. You could decide to log only the messages which have the From or To address set to a local account.

You just have to create a new control file /var/qmail/control/taps which contains a regex style list of addresses to tap and the email address of where you want the copy sent to.


if you only want to log the messages with the From address @domain.com you would set the configuration like this:


If you want to log only those with the To address @domain.com


if you want the same behavior as the original Inter7's patch:



Duplicate e-mails

I just installed this patch and unfortunately i am getting duplicate e-mails when the e-mail taps is sending an email locally and remote as well. 

I am missing something or this would be the normal behavior? 

To be more exactly: sender x@domain.com is sending emails towards y@domain.com and z@anotherdomaina.com.

If I am using F:x@domain.com:k@randomdomain.com I am getting duplicate email in k@randomdomain.com

Reply |

Duplicate e-mails

yes the expected behaviour is to get a copy of each email with x@domain.com in the From field forwarded to k@randomdomain.com

Reply |

Recent comments
See also...
Recent posts

RSS feeds