Quoting from SoloCDM's mail on Mon, Dec 23, 2002 at 06:56:24PM -0700:
You will have to send the output of ltrace for this to be debugged.
Something like:
ltrace fetchmail [usual options] > logfile 2>&1
You may also try repeating the same by disabling STLS. This can be
done by setting sslproto to "". Something like:
ltrace fetchmail [usual options] --sslproto "" > logfile.2 2>&1
As usual, you may snip the authentication part in the logfile.
At what point do you want these commands executed; i.e.: during any
messages downloading, during a failed message downloading, etc.?
After you find that a message has failed to download with your usual
options, run the first command above. Then, repeat by setting sslproto
to "". So, the sequence will be like this:
$ fetchmail [usual options]
# on finding a failed message
$ ltrace fetchmail [usual options] -d 0 --nosyslog > logfile.1 2>&1
$ fetchmail [usual options] --sslproto ""
# if this also fails on the same message
$ ltrace fetchmail [usual options] -d 0 --nosyslog --sslproto "" > logfile.2
2>&1
I have assumed above that you have the ltrace command. You will have
to first check what command you have for tracing and use that instead.
--
Sunil Shetye.