From: Sylvain Le T. <syl...@ad...> - 2007-03-15 21:29:46
|
Hello, I dont find answers of my last questions in your FAQ. 1- On my server, Ive got some mails where there is undisclosed-recipients in the mail. Fecthmail doesnt know how to retrieve it, what can I do? 2- When an external user of my network sends a mail on my network, I receive 2 copies of this mail. 3- If an external user sends a mail to 2 or more users, fetchmail re-inject the mail in my qmail and this one sent the mail to other recipient. What I do to make fetchmail look only the mail address of my network. 4* if an external user (from @domain.com) send a mail to my network (@mydomain.org) and to one or more user on domain.com, each user will receive 2 or more same mails. *an account from domain.com receives all mails to mydomain.org. Fetchmail pop it to retrieve mails. What can I do to make fetchmail not look the to: and look the right header? How can I do to make fetchmail work nice with qmail (not reinject to make qmail send again mails) Thank you very much. I hope someone can help me 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: Gerard S. <ge...@se...> - 2007-03-15 21:47:48
|
On Thursday March 15, 2007 at 04:31:13 (PM) Sylvain Le Torrec wrote: > 1- On my server, I've got some mails where there is "undisclosed-recipients" > in the mail. Fecthmail doesn't know how to retrieve it, what can I do? > > 2- When an external user of my network sends a mail on my network, I receive > 2 copies of this mail. > > 3- If an external user sends a mail to 2 or more users, fetchmail re-inject > the mail in my qmail and this one sent the mail to other recipient. What I > do to make fetchmail look only the mail address of my network. > > 4* - if an external user (from @domain.com) send a mail to my network > (@mydomain.org) and to one or more user on domain.com, each user will > receive 2 or more same mails. 1) Please do not use HTML for posting to a mail forum. I know you are employing MS Outlook; however, that can be configured to send plain text messages. In addition, sending it as a 'HIGH' or 'HIGHEST' priority has no effect on a mail list either. 2) What version of 'fetchmail' are you using? 3) What MTA are you using? It sounds like you have something seriously configured incorrectly. -- Gerard |
From: Rob M. <rob...@gm...> - 2007-03-15 22:11:36
|
Please, no HTML. On 3/15/07, Sylvain Le Torrec <syl...@ad...> wrote: > > I don't find answers of my last questions in your FAQ. > > 1- On my server, I've got some mails where there is "undisclosed-recipients" > in the mail. Fecthmail doesn't know how to retrieve it, what can I do? Read the FAQ and provide the information requested. We'll also need mail headers from one of the emails so we can point out which envelope header you should be using (see the man page). > 2- When an external user of my network sends a mail on my network, I receive > 2 copies of this mail. > > 3- If an external user sends a mail to 2 or more users, fetchmail re-inject > the mail in my qmail and this one sent the mail to other recipient. What I > do to make fetchmail look only the mail address of my network. > > 4* – if an external user (from @domain.com) send a mail to my network > (@mydomain.org) and to one or more user on domain.com, each user will > receive 2 or more same mails. These are all the same problem and related to your using multidrop without defining the envelope header. As Gerard said, please provide your fetchmail version. You also need to provide your fetchmailrc and any command line arguments you're using - as per the FAQ you read :) -- 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 |
From: Sylvain Le T. <syl...@ad...> - 2007-03-16 00:20:22
|
First, thank you for your quick answer I'm using fetchmail 6.2.4 (I know I have to upgrade it) with qmail ----------------------------------------- See my fetchmailrc ----------------------------------------- defaults set no bouncemail poll domain.mydomain.org protocol POP3 localdomains mylocaldomain tracepolls envelope "Delivered-To:" qvirtual "Delivered-To:" username myusername password mypasswd is * fetchall mda "sed 1,2d | /var/qmail/bin/qmail-inject" # the last line allowed to not receiving 2 copies of a mail. ----------------------------------------- I found your mail in my postier account... Reporting-MTA: dns; mail.berlios.de X-Postfix-Queue-ID: 3666CC4720 X-Postfix-Sender: rfc822; root@mydomain Arrival-Date: Thu, 15 Mar 2007 22:13:38 +0100 (CET) Final-Recipient: rfc822; fet...@li... Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; mail forwarding loop for fet...@li... my fetchmail doesn't know what to do with.... ------------------------------------------ When there's a mail with "undisclosed recipients", my fetchmail dies and it's blocked. Thank you. 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 -----Message d'origine----- De : fet...@li... [mailto:fet...@li...] De la part de Rob MacGregor Envoyé : vendredi 16 mars 2007 09:10 À : fet...@li... Objet : Re: [fetchmail-users] fetchmail header (undisclosed recipients) Please, no HTML. On 3/15/07, Sylvain Le Torrec <syl...@ad...> wrote: > > I don't find answers of my last questions in your FAQ. > > 1- On my server, I've got some mails where there is "undisclosed-recipients" > in the mail. Fecthmail doesn't know how to retrieve it, what can I do? Read the FAQ and provide the information requested. We'll also need mail headers from one of the emails so we can point out which envelope header you should be using (see the man page). > 2- When an external user of my network sends a mail on my network, I receive > 2 copies of this mail. > > 3- If an external user sends a mail to 2 or more users, fetchmail re-inject > the mail in my qmail and this one sent the mail to other recipient. What I > do to make fetchmail look only the mail address of my network. > > 4* if an external user (from @domain.com) send a mail to my network > (@mydomain.org) and to one or more user on domain.com, each user will > receive 2 or more same mails. These are all the same problem and related to your using multidrop without defining the envelope header. As Gerard said, please provide your fetchmail version. You also need to provide your fetchmailrc and any command line arguments you're using - as per the FAQ you read :) -- 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 _______________________________________________ fetchmail-users mailing list fet...@li... https://lists.berlios.de/mailman/listinfo/fetchmail-users |
From: Matthias A. <mat...@gm...> - 2007-03-16 00:52:58
|
Sylvain Le Torrec schrieb: > First, thank you for your quick answer Please trim your quotes. Only quote necessary material and delete the rest. (Outlook makes people misbehave, that's just incredible.) > I'm using fetchmail 6.2.4 (I know I have to upgrade it) with qmail Newer versions have better documentation, too... > ----------------------------------------- > See my fetchmailrc > ----------------------------------------- > defaults > set no bouncemail > poll domain.mydomain.org protocol POP3 > localdomains mylocaldomain > tracepolls > envelope "Delivered-To:" > qvirtual "Delivered-To:" This is bogus, you need to specify the prefix that the UPSTREAM qmail adds to Delivered-To headers (what they have in their virtualdomains table on their right hand side), if for instance all headers looked like: Delivered-To: let...@ba...z You could use qvirtual "letorrec-". > username myusername > password mypasswd > is * > fetchall > mda "sed 1,2d | /var/qmail/bin/qmail-inject" Make that mda "sed 1,2d | /usr/sbin/sendmail -i -f %F -- %T" That should work with qmail (you MAY have to use /usr/lib/sendmail instead) and prevent forwarding loops (by making recipients explicit - the %T is it). Also, will people *please* stop using this ghastly qmail-inject? It offers no advantage, only the disadvantage of a nonstandard command line interface. (qmail's sendmail compatibility wrapper even understands qmail-inject's environment variables.) HTH, MA |
From: Rob M. <rob...@gm...> - 2007-03-16 07:59:54
|
On 3/15/07, Sylvain Le Torrec <syl...@ad...> wrote: > First, thank you for your quick answer As I said before - you need to provide the headers from a sample email so we can point out which header you should be using for the enevelope header. Blindly putting in values won't help you. You also haven't provide any of the other diagnostic information that the FAQ tells you to provide, except for the contents of your fetchmailrc and version of fetchmail. If you really want help then please provide this. -- 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 |
From: Matthias A. <mat...@gm...> - 2007-03-16 00:45:53
|
Sylvain Le Torrec schrieb: > I don’t find answers of my last questions in your FAQ. Are you sure? > 1- On my server, I’ve got some mails where there is > “undisclosed-recipients” in the mail. Fecthmail doesn’t know how to > retrieve it, what can I do? Fix your upstream and your configuration - this should address items #1 to #4. Make sure to meet the requirements at http://home.pages.de/~mandree/mail/multidrop > What can I do to make fetchmail not look the “to:” and look the right > header? man fetchmail /envelope /qvirtual > How can I do to make fetchmail work nice with qmail (not reinject to > make qmail send again mails) I don't understand this question. See if whatever problem you have in mind persists if you've fixed the other issues. HTH, MA |