You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Steen Jansdal <sj...@buanco.dk> on 2003/09/22 09:23:24 UTC

Fetchmail stopped

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 'xxx@buanco.dk' in folder 'INBOX'

Shouldn't FetchMail timeout if the POP3 server stopped
responding?

When I killed James and restarted it, the mail was retrieved
correctly.

Running 2.2.0a10

Best regards
Steen Jansdal


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Fetchmail stopped

Posted by Steen Jansdal <sj...@buanco.dk>.
Steve Brewin wrote:
> 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 'xxx@buanco.dk' 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/ReadMsg?listName=james-dev@jakarta.apache
> .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: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Fetchmail stopped

Posted by Steve Brewin <sb...@synsys.com>.
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 'xxx@buanco.dk' 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/ReadMsg?listName=james-dev@jakarta.apache
.org&msgNo=9891.

-- Steve



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org