sebikmik
17th October 2006, 03:46
hi,
i have problem with the configuration of postfix server. i need every mail that is for test@domain.com to send forward to itself (test@domain.com) and to test2@domain.com and test3@domain1.com.
i use postfix with virtual users. i use the configuration of the database from the howtoforge howto.
i create a recipient_bcc.db database and add in main.cf the rule: "recipient_bcc_maps = hash:/etc/postfix/recipient_bcc"
in "recipient_bcc" i enter: test@domain.com test@localhost
and in forward table of mysql server i enter: test@localhost -> test2@domain.com,test3@domain1.com
the problem is that the email address from my domain ("domain.com") which must receive a mail, its receive 2 mails with same content.
the others email address work fine.
can u help to find out where is the problem. thanks!
sebikmik
17th October 2006, 03:50
and here is a little log example:
Oct 17 05:30:05 mail postfix/qmgr[26994]: D9FB999987: from=<sender@yahoo.com>, size=1539, nrcpt=3 (queue active)
Oct 17 05:30:06 mail postfix/smtpd[27241]: connect from localhost.localdomain[127.0.0.1]
Oct 17 05:30:06 mail postfix/smtpd[27241]: 1368199989: client=localhost.localdomain[127.0.0.1]
Oct 17 05:30:06 mail postfix/cleanup[27235]: 1368199989: message-id=<006b01c6f185$373bd410$ca00000a@TESTERR>
Oct 17 05:30:06 mail postfix/qmgr[26994]: 1368199989: from=<sender@yahoo.com>, size=1827, nrcpt=5 (queue active)
Oct 17 05:30:06 mail postfix/smtpd[27241]: disconnect from localhost.localdomain[127.0.0.1]
Oct 17 05:30:06 mail postfix/lmtp[27237]: D9FB999987: to=<test3@domain2.com>, orig_to=<test@localhost>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.0.0 <test@domain.com> Ok)
Oct 17 05:30:06 mail postfix/lmtp[27237]: D9FB999987: to=<test@domain.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.0.0 <test3@domain2.com> Ok)
Oct 17 05:30:06 mail postfix/lmtp[27237]: D9FB999987: to=<test2@domain.com>, orig_to=<test@localhost>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.0.0 <test2@domain.com> Ok)
Oct 17 05:30:06 mail postfix/qmgr[26994]: D9FB999987: removed
Oct 17 05:30:06 mail postfix/virtual[27243]: 1368199989: to=<test@domain.com>, relay=virtual, delay=0, status=sent (delivered to maildir)
Oct 17 05:30:06 mail postfix/virtual[27243]: 1368199989: to=<test2@domain.com>, orig_to=<test@localhost>, relay=virtual, delay=0, status=sent (delivered to maildir)
Oct 17 05:30:06 mail postfix/virtual[27243]: 1368199989: to=<test2@domain.com>, relay=virtual, delay=0, status=sent (delivered to maildir)
Oct 17 05:30:06 mail postfix/smtp[27288]: 1368199989: to=<test3@domain2.com>, orig_to=<test@localhost>, relay=mail.domain2.com[123.132.123.123], delay=0, status=sent (250 2.6.0 <006b01c6f185$373bd410$ca00000a@TESTERR> Queued mail for delivery)
Oct 17 05:30:06 mail postfix/smtp[27288]: 1368199989: to=<test3@domain2.com>, relay=mail.domain2.com[123.132.123.123], delay=0, status=sent (250 2.6.0 <006b01c6f185$373bd410$ca00000a@TESTERR> Queued mail for delivery)
Oct 17 05:30:06 mail postfix/qmgr[26994]: 1368199989: removed
sebikmik
17th October 2006, 10:46
notice:
i observe that if a turn off the kav on the mail server it works fine.
in the log that i posted bottom u can see that
mail postfix/qmgr[26994]: D9FB999987: from=<sender@yahoo.com>, size=1539, nrcpt=3 (queue active)
and after the mail is taked by the anti virus
Oct 17 05:30:06 mail postfix/qmgr[26994]: 1368199989: from=<sender@yahoo.com>, size=1827, nrcpt=5 (queue active)
but is curios that email address which are not belong from server domain don't receive double mails.
falko
18th October 2006, 17:18
notice:
i observe that if a turn off the kav on the mail server it works fine.
What do you mean with kav?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.