Steen Jansdal wrote:
Hi,
I'm using FetchMail to retrieve mails from some external POP3 servers. Saturday the FetchMail task stopped in the middle of a mail and has never returned. The last message in the log is something like:
20/09/03 00:43:50 INFO fetchmail.fetched_from_external: Fetching mail from server 'mail.buanco.dk' for user '[EMAIL PROTECTED]' in folder 'INBOX'
Shouldn't FetchMail timeout if the POP3 server stopped responding?
FetchMail will only timeout if you configure the appropriate JavaMail properties. By default the timeout values are infinite! Try setting 'mail.pop3.connectiontimeout' and 'mail.pop3.timeout' properties to something reasonable, like 3 minutes. See http://java.sun.com/products/javamail/javadocs/com/sun/mail/pop3/package-sum mary.html for how to do this.
If you still have problems, please let me know.
For information on how setting JavaMail properties will be getting easier, read http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] .org&msgNo=9891.
-- Steve
Oh, I see. This looks exactly what I'm looking for. Until you release an edition where <javaMailProperties> can be set, I'll set them directly in the source code. Thanks again.
Steen
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
