multiple recipients

Discussion in 'Server Operation' started by sebikmik, Oct 17, 2006.

  1. sebikmik

    sebikmik New Member

    hi,
    i have problem with the configuration of postfix server. i need every mail that is for [email protected] to send forward to itself ([email protected]) and to [email protected] and [email protected].

    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: [email protected] [email protected]
    and in forward table of mysql server i enter: [email protected] -> [email protected],[email protected]

    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!
     
  2. sebikmik

    sebikmik New Member

    and here is a little log example:


    Oct 17 05:30:05 mail postfix/qmgr[26994]: D9FB999987: from=<[email protected]>, 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=<[email protected]>
    Oct 17 05:30:06 mail postfix/qmgr[26994]: 1368199989: from=<[email protected]>, 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=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.0.0 <[email protected]> Ok)
    Oct 17 05:30:06 mail postfix/lmtp[27237]: D9FB999987: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.0.0 <[email protected]> Ok)
    Oct 17 05:30:06 mail postfix/lmtp[27237]: D9FB999987: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.0.0 <[email protected]> Ok)
    Oct 17 05:30:06 mail postfix/qmgr[26994]: D9FB999987: removed
    Oct 17 05:30:06 mail postfix/virtual[27243]: 1368199989: to=<[email protected]>, relay=virtual, delay=0, status=sent (delivered to maildir)
    Oct 17 05:30:06 mail postfix/virtual[27243]: 1368199989: to=<[email protected]>, orig_to=<[email protected]>, relay=virtual, delay=0, status=sent (delivered to maildir)
    Oct 17 05:30:06 mail postfix/virtual[27243]: 1368199989: to=<[email protected]>, relay=virtual, delay=0, status=sent (delivered to maildir)
    Oct 17 05:30:06 mail postfix/smtp[27288]: 1368199989: to=<[email protected]>, orig_to=<[email protected]>, relay=mail.domain2.com[123.132.123.123], delay=0, status=sent (250 2.6.0 <[email protected]> Queued mail for delivery)
    Oct 17 05:30:06 mail postfix/smtp[27288]: 1368199989: to=<[email protected]>, relay=mail.domain2.com[123.132.123.123], delay=0, status=sent (250 2.6.0 <[email protected]> Queued mail for delivery)
    Oct 17 05:30:06 mail postfix/qmgr[26994]: 1368199989: removed
     
  3. sebikmik

    sebikmik New Member

    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=<[email protected]>, 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=<[email protected]>, size=1827, nrcpt=5 (queue active)

    but is curios that email address which are not belong from server domain don't receive double mails.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What do you mean with kav?
     

Share This Page