December 19, 2016 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.
Examples:
if you only want to log the messages with the From address @domain.com you would set the configuration like this:
F:.*@domain.com:copy@example.com
If you want to log only those with the To address @domain.com
T:.*@domain.com:copy@example.com
if you want the same behavior as the original Inter7's patch:
A:.*@domain.com:copy@example.com
RBL and Bordermailer
March 20, 2023 09:31
RBL and Bordermailer
March 20, 2023 09:13
RBL and Bordermailer
March 18, 2023 15:52
Bug in dknewkey
March 18, 2023 11:35
What is qq_internal_bug_?
March 18, 2023 11:28
What is qq_internal_bug_?
March 18, 2023 11:08
What is qq_internal_bug_?
March 18, 2023 08:48
What is qq_internal_bug_?
March 18, 2023 08:08
What is qq_internal_bug_?
March 18, 2023 07:43
What is qq_internal_bug_?
March 18, 2023 04:37
Tags
apache clamav dkim dovecot ezmlm fail2ban hacks lamp letsencrypt linux linux-vserver lxc mariadb mediawiki mozilla mysql openboard owncloud patches php proftpd qmail qmail to postfix qmail-spp qmailadmin rbl roundcube rsync sieve simscan slackware solr spamassassin spf ssh ssl surbl tcprules tex ucspi-tcp vpopmail vqadmin
Comments
Duplicate e-mails
Iulian Stan April 24, 2019 08:09
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 | Permalink
Duplicate e-mails
Roberto Puzzanghera Iulian Stan April 24, 2019 20:06
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 | Permalink