From: Andres B. <an...@ba...> - 2006-04-28 14:23:59
|
Dear all, I'm fetching my email from an exchange server and I have regular problems with the attachments. Attachments are often corrupted. I have read the FAQs and apparently there are some known problems, and the suggested solution is to change email server. Which of course I can't because is not in my control. I was wondering: -if the FAQ entry is updated, and if there are still known problems -if it might be a configuration problem on my side. This is the output of fetchmail -V This is fetchmail release 6.3.4+SSL+NLS. Fallback MDA: (none) Linux server.com 2.4.21-37.ELsmp #1 SMP Wed Sep 28 14:05:46 EDT 2005 i686 i686 i386 GNU/Linux Taking options from command line and /user/.fetchmailrc Poll interval is 60 seconds Idfile is /user/.fetchids Progress messages will be logged via syslog Fetchmail will forward misaddressed multidrop messages to an...@ba.... Options for retrieving from ab...@ou...: True name of server is server.ac.uk. Protocol is IMAP (using service 993). All available authentication methods will be tried. SSL encrypted sessions enabled. Server nonresponse timeout is 300 seconds (default). Default mailbox selected. Only new messages will be retrieved (--all off). Fetched messages will be kept on the server (--keep on). Old messages will not be flushed before message retrieval (--flush off). Oversized messages will not be flushed before message retrieval (--limitflush off). Rewrite of server-local addresses is enabled (--norewrite off). Carriage-return stripping is disabled (stripcr off). Carriage-return forcing is disabled (forcecr off). Interpretation of Content-Transfer-Encoding is enabled (pass8bits off). MIME decoding is disabled (mimedecode off). Idle after poll is disabled (idle off). Nonempty Status lines will be kept (dropstatus off) Delivered-To lines will be kept (dropdelivered off) Fetch message size limit is 100 (--fetchsizelimit 100). Do binary search of UIDs during 3 out of 4 polls (--fastuidl 4). Messages will be SMTP-forwarded to: localhost (default) Single-drop mode: 1 local name recognized. No UIDs saved from this host. Thanks in advance, Andres ____________ Andres Baravalle http://www.baravalle.it ____________ Gli uomini d'azione sono poco pratici. La stessa azione li allontana dalla loro meta. Paco Ignacio Taibo I |
From: Rob M. <rob...@gm...> - 2006-04-28 18:14:18
|
On 4/28/06, Andres Baravalle <an...@ba...> wrote: > Dear all, > I'm fetching my email from an exchange server and I have regular > problems with the attachments. Attachments are often corrupted. > > I have read the FAQs and apparently there are some known problems, and > the suggested solution is to change email server. Which of course I > can't because is not in my control. > > I was wondering: > -if the FAQ entry is updated, and if there are still known problems > -if it might be a configuration problem on my side. It would help to see the .fetchmailrc and the output of "fetchmail -v -v" showing a pull of a "corrupt" attachment. Confirmation that a normal client (such as Thunderbird) can download a mail without corruption of attachments would be useful (using the same host as you're running fetchmail on, using the same config). -- 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: Andres B. <an...@ba...> - 2006-04-28 21:40:11
|
Rob MacGregor wrote: > On 4/28/06, Andres Baravalle <an...@ba...> wrote: > It would help to see the .fetchmailrc and the output of "fetchmail -v > -v" showing a pull of a "corrupt" attachment. Hi, could you explain a bit more what you mean? If I run the command I do not see any output, nor there is any tput in /var/log/messages. > Confirmation that a normal client (such as Thunderbird) can download a > mail without corruption of attachments would be useful (using the same > host as you're running fetchmail on, using the same config). Yes, I can confirm you that I can read the email from Thunderbird. Thanks in advance for your help, Andres |
From: Rob M. <rob...@gm...> - 2006-04-28 21:54:49
|
On 4/28/06, Andres Baravalle <an...@ba...> wrote: > could you explain a bit more what you mean? If I run the command I do > not see any output, nor there is any tput in /var/log/messages. Please post your .fetchmailrc. For the first, try "fetchmail --nosyslog -v -v". It's likely you're logging to syslog if there is not output on stdout. > Yes, I can confirm you that I can read the email from Thunderbird. On the host you're running fetchmail on? -- 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: Andres B. <an...@ba...> - 2006-05-02 12:54:29
|
Rob MacGregor wrote: > On 4/28/06, Andres Baravalle <an...@ba...> wrote: >> could you explain a bit more what you mean? If I run the command I do >> not see any output, nor there is any tput in /var/log/messages. > > Please post your .fetchmailrc. Hi, here is my configuration file: set postmaster "an...@ba..." set bouncemail set daemon 60 set syslog poll ******* protocol imap port 993 user '****' pass '****' is and...@ba... ssl keep > For the first, try "fetchmail --nosyslog -v -v". It's likely you're > logging to syslog if there is not output on stdout. no output again... >> Yes, I can confirm you that I can read the email from Thunderbird. > > On the host you're running fetchmail on? I have limits in the amount of space I can use in my work address. So I run fetchmail to get my mail from my work address to my personal server. And then I connect from other hosts to read the email. Connecting to my work server works with thunderbird, both on windows and on Linux. Hope |
From: Rob M. <rob...@gm...> - 2006-05-02 16:35:55
|
On 5/2/06, Andres Baravalle <an...@ba...> wrote: > no output again... Right, you'll need to disable daemon mode too: fetchmail --nosyslog -d0 -v -v > Connecting to my work server works with thunderbird, both on windows and > on Linux. Thanks, that at least suggests a problem with the interaction of fetchmail and exchange. Hopefully once you manage to get the output requested, showing a corrupt attachment download, we'll be able to narrow down the problem. -- 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...> - 2006-05-03 02:12:14
|
Andres Baravalle <an...@ba...> writes: > here is my configuration file: > > set postmaster "an...@ba..." > set bouncemail > set daemon 60 > set syslog > > poll ******* > protocol imap > port 993 > user '****' > pass '****' > is and...@ba... > ssl > keep > >> For the first, try "fetchmail --nosyslog -v -v". It's likely you're >> logging to syslog if there is not output on stdout. > > no output again... Andres, Rob didn't know about the "set daemon 60" option which sends output to /dev/null. You can override that option with with "-d0" or "--daemon 0" on the command line, or, if you want to leave fetchmail in daemon mode, the "--nodetach" (-N) option keeps output on your screen while in daemon mode. (With syslog enabled, i. e. omitting the --nosyslog, the mail log file, often /var/log/mail or /var/log/maillog, will contain that information -- perhaps you need to tell syslog via /etc/syslog.conf to capture mail.debug logging.) Rob, I have adjusted the G3 item of the FAQ <http://www.fetchmail.info/fetchmail-FAQ.html#G3> to suggest "--nosyslog --nodetach -vvv" (option merging is safe BTW since fetchmail ships a copy of GNU getopt, so the comand line capabilities do not depend on system libraries). > Connecting to my work server works with thunderbird, both on windows and > on Linux. Well, fetchmail appears to be doing something differently than Thunderbird then. The new command line ("fetchmail --nosyslog -Nvv" or "fetchmail --nosyslog -vvd0") will hopefully provide us with some detail. > Hope yes? HTH, -- Matthias Andree |