#1  
Old 17th October 2006, 02:46
sebikmik sebikmik is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default multiple recipients

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!
Reply With Quote
Sponsored Links
  #2  
Old 17th October 2006, 02:50
sebikmik sebikmik is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #3  
Old 17th October 2006, 09:46
sebikmik sebikmik is offline
Junior Member
 
Join Date: Jun 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 18th October 2006, 16:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by sebikmik
notice:

i observe that if a turn off the kav on the mail server it works fine.
What do you mean with kav?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig to host multiple domains in one IP with multiple DynDns addresses agelospanagiotakis Installation/Configuration 23 2nd April 2008 11:10
newsletter | send mail to huge number of recipients Ovidiu Server Operation 8 5th October 2006 17:06
How to create multiple chroot (jailed) users accounts in batch gregor_gede Suggest HOWTO 15 14th September 2006 06:42
Multiple MySQL Queries - with Postfix-mysql, courier-authmysql, maildrop-mysql... snowfly HOWTO-Related Questions 4 7th July 2006 04:19
Dynamic IP to Multiple Hostnames Updates E.L. Hibee Installation/Configuration 8 16th June 2006 17:29


All times are GMT +2. The time now is 21:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.