From: Sylvain Le T. <syl...@ad...> - 2007-03-12 01:10:59
|
Hello, First, sorry for my English, Im French. Im using fetchmail 6.2.4 (I know I have to upgrade it) with Qmail. They are installed on mandrake 9.2. I receive all my mails in ac...@do... MyNetwork qmail (mydomain.org) fetchmail ac...@do... I have 3 problems with my fetchmail (but I think its the same, fetchmail doesnt read the right header), see 3 examples: 1 If someone (out of my network) send a mail to us...@my... + us...@An.... Fetchmail sent this mail to Qmail. User1 receive the mail. Qmail re-treat this mail and sent it to user2. So if I receive a mail with an attachment piece (3mo) to 9 users (with 1 user of my network). Qmail will sent 8 mails * 3mo! I dont know why my Qmail treat again those mails. Does Fetchmail gives wrong informations to Qmail ? 2 Sometimes I can see undisclosed-recipients in the recipient field in a mail in ac...@do... Fetchmail doesnt know what to do, so its blocked. What can I do to make fetchmail read the right header than the To of the mail. I try to use X-envelope-to: in fetchmailrc, but I still have the problem 3 Someone send a mail from acc...@do... to : us...@my... + acc...@do... (same domain but different account). Each recipient will receive 2 same mails. So if someone send a mail to 6 users (with just 1 user of my network and just 1 user of domain.com + 4 other domains), each recipient will receive 6 mails. Maybe its the same problem than part 2. Fetchmail doesnt read the right header. So, Fetchmail doesnt read the header which concern mydomain but all recipients. So it gives bad information to Qmail which treat again those mails. --------------------------------------------------------------- In my fetchmailrc we add the line because mda "sed 1,2d | /var/qmail/bin/qmail-inject" At the beginning, if someone (out of my network) sends a mail to us...@my..., user receives 2 mails. This line solves the problem. fetchmailrc : defaults set no bouncemail poll domain.mydomain.org protocol POP3 localdomains mydomain tracepolls #no envelope #envelope "X-Envelope-To:" envelope "Delivered-To:" #qvirtual "X-Envelope-To:" qvirtual "Delivered-To:" username login password loginpassword is * fetchall mda "sed 1,2d | /var/qmail/bin/qmail-inject" poll domain.com proto pop3 user "exemple" pass "*********" is us...@my... fetchall ---------------------------------------------------------------------- Thank you very much. I hope that you can understand something of my message its quite hard to explain the problem Sincerly Sylvain Le Torrec Informaticien - Agence de Santé des îles Wallis et Futuna BP 4G MATA UTU 98600 WALLIS Tel : (681) 72 07 25 ou Poste 349 |
From: Rob M. <rob...@gm...> - 2007-03-12 08:10:39
|
Please, no HTML emails. On 3/11/07, Sylvain Le Torrec <syl...@ad...> wrote: > > I'm using fetchmail 6.2.4 (I know I have to upgrade it) with Qmail. They are > installed on mandrake 9.2. Time for that upgrade :) Even if you ignore the security issues that have been fixed, it helps ensure that you're not running into something that's already been fixed. > I have 3 problems with my fetchmail (but I think it's the same, fetchmail > doesn't read the right header), see 3 examples: We really need to see a sample header that has this problem, and the rest of the information the FAQ asks for (http://www.fetchmail.info/fetchmail-FAQ.html#G3). Without the logs we're only guessing. > 1 – If someone (out of my network) send a mail to us...@my... + > us...@An.... > > Fetchmail sent this mail to Qmail. > User1 receive the mail. > Qmail re-treat this mail and sent it to user2. Could be either down to the fetchmail or qmail config. > 2 – Sometimes I can see "undisclosed-recipients" in the recipient field in a > mail in ac...@do... > > Fetchmail doesn't know what to do, so it's blocked. Sounds like your fetchmail config is wrong. > 3 – Someone send a mail from acc...@do... to : us...@my... + > acc...@do... (same domain but different account). > > Each recipient will receive 2 same mails. Sounds similar to (1). > fetchmailrc : > > defaults > set no bouncemail > > poll domain.mydomain.org protocol POP3 > localdomains mydomain > tracepolls > #no envelope > #envelope "X-Envelope-To:" > envelope "Delivered-To:" > #qvirtual "X-Envelope-To:" > qvirtual "Delivered-To:" > username login > password loginpassword > is * > fetchall > mda "sed 1,2d | /var/qmail/bin/qmail-inject" > > poll domain.com > proto pop3 > user "exemple" > pass "*********" > is us...@my... > fetchall In general it looks good, but we're missing all the information that'll help us help you :) -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |