hi mouss, Thank you very much for your answer. I did have a feeling the problem was with the catch-all-email setting and was wondering if anyone uses this setting with mail servers!
The problem is that I can not understand how to configure fetchmail without having this setting on (I can turn it off if I want). Without this setting I would have to edit fetchmail config files each time I add a new user since I would have to tell fetchmail from where to retrieve the mail of that user, even though their mailbox would be with the same ISP. Should my ISP allow me other options? What is the best way to get emails on my mail server when not using catch-all-emails setting? Thanks, Sim085 mouss-4 wrote: > > sim085 a écrit : >> Hi, >> >> I have a little problem when sending emails to multiple recipients. I do >> not >> know if the problem is with Postfix, however some people on other forums >> suggested that I could find an option in Postfix to help me solve this >> problem. >> >> My problem is as follows: >> >> When I send an email to multiple recipients (such as; TO: a...@mydomain.com; >> b...@mydomain.com) that email is sent to my ISP SMTP server. This will put >> the >> email twice in mydomain.com catch-all-emails mailbox. > > why do you use catch-all's? there's your problem. > >> I then have fetchmail >> installed which will fetch all emails from this mailbox and post them on >> postfix. The problem is that user 'a' and 'b' are receiving the same >> email >> twice as well. If I sent the email to c...@mydomain.com then each recipient >> would receive the email 3 times and so on. What I want is that each >> recipient would only receive the email once! >> >> However to say it all I tried using postfix through telnet (without >> involving my ISP and fetchmail). I sent an email and passed the RCPT TO >> value to both recipients. Like this it worked fine. >> >> This makes me believe that the problem is not with Postfix but rather >> with >> my ISP which is duplicating emails when sent to multiple recipients. On >> the >> other hand I was hoping that maybe Postfix has some setting to block >> emails >> to a recipient if that email has already been sent!! >> >> Any suggestions? >> > > what happens is that you send mail to a...@example.com and b...@example.com. > This results in two identical messages stored by your ISP. then you have > configured fetchmail for a "multi drop box". so fetchmail uses headers > to try to determine the envelope recipient. Thus the duplicates. > > as fetchmail docs will tell you, multi drop boxes are a bad idea. > > as smtp docs and standards will tell you, you should not use headers for > mail routing. > > the best you can do is find an ISP that doesn't require catch-alls. > > -- View this message in context: http://www.nabble.com/Problem-with-sending-email-to-multiple-recipients-tp21992750p22006839.html Sent from the Postfix mailing list archive at Nabble.com.