Hello,

I have a virtual domain hosting posfix config here with amavisd-new. I
needed to silently bcc any recieved messages from one user to two other
users.
I've managed to do it with help like this

recipient_bcc original user to alias

[email protected] -> [email protected]

[email protected] is an alias for [email protected] and
[email protected]

The problem is both user2 and user3 recieve the e-mail sent to
[email protected] twice, in one mail the X-OGIRIN-TO is
[email protected] in the other e-mail
the X-ORIGIN-To is [email protected]

see the log file :

Jun 29 12:36:39 mail postfix/smtpd[19417]: connect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:39 mail postfix/smtpd[19417]: D2A1282BD5:
client=mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:39 mail postfix/cleanup[19277]: D2A1282BD5:
message-id=<40897ef9c7eb437da86f24cb82939...@infolaptop>
Jun 29 12:36:39 mail postfix/qmgr[18697]: D2A1282BD5:
from=<[email protected]>, size=1410, nrcpt=3 (queue active)
Jun 29 12:36:39 mail postfix/smtpd[19417]: disconnect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:40 mail postfix/smtpd[19465]: connect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:40 mail postfix/smtpd[19465]: D5F8182BD6:
client=mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:40 mail postfix/cleanup[18994]: D5F8182BD6:
message-id=<40897ef9c7eb437da86f24cb82939...@infolaptop>
Jun 29 12:36:40 mail postfix/qmgr[18697]: D5F8182BD6:
from=<[email protected]>, size=1847, nrcpt=5 (queue active)
Jun 29 12:36:40 mail postfix/smtpd[19465]: disconnect from
mail.topolauniverzal.co.rs[127.0.0.1]
Jun 29 12:36:41 mail postfix/smtp[19461]: D2A1282BD5:
to=<[email protected]>, orig_to=<[email protected]>,
relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 Ok: queued as
D5F8182BD6)
Jun 29 12:36:41 mail postfix/smtp[19461]: D2A1282BD5:
to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=2,
status=sent (250 Ok: queued as D5F8182BD6)
Jun 29 12:36:41 mail postfix/smtp[19461]: D2A1282BD5:
to=<[email protected]>, orig_to=<[email protected]>,
relay=127.0.0.1[127.0.0.1], delay=2, status=sent (250 Ok: queued as
D5F8182BD6)
Jun 29 12:36:41 mail postfix/qmgr[18697]: D2A1282BD5: removed
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<[email protected]>, relay=virtual, delay=1, status=sent
(delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<[email protected]>, orig_to=<[email protected]>,
relay=virtual, delay=1, status=sent (delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<[email protected]>, relay=virtual, delay=1, status=sent
(delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<[email protected]>, orig_to=<[email protected]>,
relay=virtual, delay=1, status=sent (delivered to maildir)
Jun 29 12:36:41 mail postfix/virtual[19371]: D5F8182BD6:
to=<[email protected]>, relay=virtual, delay=1, status=sent
(delivered to maildir)
Jun 29 12:36:41 mail postfix/qmgr[18697]: D5F8182BD6: removed

Please help me solve this , I'm lost here , I don't know why it makes double
when it should work so nicely . User-recipient_bcc-> silentuser -alias->
user2 and user3

Sincerely
Robert B

Reply via email to