Hello,
I've set up a BCC map for archiving e-mails:
# Archiving
sender_bcc_maps = pcre:${config_directory}/bcc_sender.pcre
bcc_sender.pcre:
/(.*)@(.*)local\.domain/ archive_local.domain
And I'm also using batv-tools/milter
(<https://www.agwa.name/projects/batv-tools/>) as Milter:
# milter: BATV
smtpd_milters = unix:/batv-milter/batv-milter.sock
non_smtpd_milters = unix:/batv-milter/batv-milter.sock
If the original sender matches an entry in sender_bcc_maps, Postfix
2.11.0 appears to increment the recipient count. After batv-milter
changes the sender, Postfix seems to forget about the BCC map. The
message is not sent to the BCC map address and there is a recipient
count mismatch.
Mar 7 22:56:03 lnxs001 amavis[25031]: (25031-02) FWD from
<user@local.domain> -> <user@remote.domain>, 250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3qJtll50rzzFT
Mar 7 22:56:03 lnxs001 postfix/qmgr[20665]: 3qJtll50rzzFT:
from=<prvs=0874da4612=user@local.domain>, size=1919, nrcpt=2 (queue active)
Mar 7 22:56:03 lnxs001 postfix/qmgr[20665]: warning: 3qJtll50rzzFT:
rcpt count mismatch (1)
Is this a possible bug or does the batv-milter something wrong?
--
Regards
Jörg