fetchmail-friends
[Top] [All Lists]

[fetchmail]2001-08-28 / pop3+ssl after imap / fails in daemon but not in foreground mode

2001-08-28 09:32:10
Subject says it all ...

Why do I like *daemon*/nodetach ?
I don't need the shell loop around fetchmail.

Why do I like daemon/*nodetach* ?
It's still in the foreground, i.e. not detached.

I use "--verbose" only for clarity,
otherwise obviously I like it calm and brief.

----------------------------------------

Here is the prolog:

    johayek(_at_)HayekA $ uname -a
    Linux HayekA 2.4.4-4GB #1 Wed May 16 00:37:55 GMT 2001 i686 unknown

    johayek(_at_)HayekA # telnet localhost
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    Welcome to SuSE Linux 7.2 (i386) - Kernel 2.4.4-4GB (8).

    johayek(_at_)HayekA $ fetchmail -V
    This is fetchmail release 5.8.0+POP2+RPA+NTLM+SSL+NLS
    Linux HayekA 2.4.4-4GB #1 Wed May 16 00:37:55 GMT 2001 i686 unknown

----------------------------------------

And here are the symptoms.

undetached daemon mode:

    johayek(_at_)HayekA $ fetchmail --verbose --nodetach --daemon=600 
jh60.gmx.net shuttle.de
    fetchmail: starting fetchmail 5.8.0 daemon 
    fetchmail: 5.8.0 querying shuttle.de (protocol IMAP) at Tue Aug 21 12:32:41 
2001
    fetchmail: running ssh -l jh2005 %h /usr/sbin/imapd (host mail.B.shuttle.de 
service 143)
    fetchmail: IMAP< * PREAUTH [0.0.0.21] IMAP4rev1 v12.264 server ready
    fetchmail: IMAP> A0001 CAPABILITY
    fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4REV1 NAMESPACE IDLE SCAN SORT 
MAILBOX-REFERRALS LOGIN-REFERRALS AUTH=LOGIN THREAD=ORDEREDSUBJECT
    fetchmail: IMAP< A0001 OK CAPABILITY completed
    fetchmail: IMAP> A0002 SELECT "imap/persons.MISC"
    fetchmail: IMAP< * 0 EXISTS
    fetchmail: IMAP< * 0 RECENT
    fetchmail: IMAP< * OK [UIDVALIDITY 971796163] UID validity status
    fetchmail: IMAP< * OK [UIDNEXT 59] Predicted next UID
    fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
    fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted 
\Draft \Seen)] Permanent flags
    fetchmail: IMAP< A0002 OK [READ-WRITE] SELECT completed
    fetchmail: No mail for johayek at mail.B.shuttle.de (folder 
imap/persons.MISC)
    [...]
    fetchmail: IMAP> A0016 SELECT "imap/recruiting"
    fetchmail: IMAP< * 0 EXISTS
    fetchmail: IMAP< * 0 RECENT
    fetchmail: IMAP< * OK [UIDVALIDITY 971795969] UID validity status
    fetchmail: IMAP< * OK [UIDNEXT 96] Predicted next UID
    fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
    fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted 
\Draft \Seen)] Permanent flags
    fetchmail: IMAP< A0016 OK [READ-WRITE] SELECT completed
    fetchmail: No mail for johayek at mail.B.shuttle.de (folder imap/recruiting)
    fetchmail: IMAP> A0017 LOGOUT
    fetchmail: IMAP< * BYE bonn.shuttle.de IMAP4rev1 server terminating 
connection
    fetchmail: IMAP< A0017 OK LOGOUT completed
    fetchmail: 5.8.0 querying jh60.gmx.net (protocol POP3) at Tue Aug 21 
12:32:45 2001
    fetchmail: SSL connection failed.
    fetchmail: fetchmail: sleeping at Tue Aug 21 12:32:45 2001
    fetchmail: terminated with signal 2

----------------------------------------

not in daemon mode:

    johayek(_at_)HayekA $ fetchmail --verbose jh60.gmx.net shuttle.de
    fetchmail: 5.8.0 querying shuttle.de (protocol IMAP) at Tue Aug 21 12:33:17 
2001
    fetchmail: running ssh -l jh2005 %h /usr/sbin/imapd (host mail.B.shuttle.de 
service 143)
    fetchmail: IMAP< * PREAUTH [0.0.0.21] IMAP4rev1 v12.264 server ready
    fetchmail: IMAP> A0001 CAPABILITY
    fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4REV1 NAMESPACE IDLE SCAN SORT 
MAILBOX-REFERRALS LOGIN-REFERRALS AUTH=LOGIN THREAD=ORDEREDSUBJECT
    fetchmail: IMAP< A0001 OK CAPABILITY completed
    fetchmail: IMAP> A0002 SELECT "imap/persons.MISC"
    fetchmail: IMAP< * 0 EXISTS
    fetchmail: IMAP< * 0 RECENT
    fetchmail: IMAP< * OK [UIDVALIDITY 971796163] UID validity status
    fetchmail: IMAP< * OK [UIDNEXT 59] Predicted next UID
    fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
    fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted 
\Draft \Seen)] Permanent flags
    fetchmail: IMAP< A0002 OK [READ-WRITE] SELECT completed
    fetchmail: No mail for johayek at mail.B.shuttle.de (folder 
imap/persons.MISC)
    [...]
    fetchmail: IMAP> A0016 SELECT "imap/recruiting"
    fetchmail: IMAP< * 0 EXISTS
    fetchmail: IMAP< * 0 RECENT
    fetchmail: IMAP< * OK [UIDVALIDITY 971795969] UID validity status
    fetchmail: IMAP< * OK [UIDNEXT 96] Predicted next UID
    fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
    fetchmail: IMAP< * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted 
\Draft \Seen)] Permanent flags
    fetchmail: IMAP< A0016 OK [READ-WRITE] SELECT completed
    fetchmail: No mail for johayek at mail.B.shuttle.de (folder imap/recruiting)
    fetchmail: IMAP> A0017 LOGOUT
    fetchmail: IMAP< * BYE bonn.shuttle.de IMAP4rev1 server terminating 
connection
    fetchmail: IMAP< A0017 OK LOGOUT completed
    fetchmail: 5.8.0 querying jh60.gmx.net (protocol POP3) at Tue Aug 21 
12:33:21 2001
    fetchmail: Issuer Organization: TC TrustCenter for Security in Data 
Networks GmbH
    fetchmail: Unknown Issuer CommonName
    fetchmail: Server CommonName: pop.gmx.net
    fetchmail: Issuer Organization: TC TrustCenter for Security in Data 
Networks GmbH
    fetchmail: Unknown Issuer CommonName
    fetchmail: Server CommonName: pop.gmx.net
    fetchmail: Issuer Organization: TC TrustCenter for Security in Data 
Networks GmbH
    fetchmail: Unknown Issuer CommonName
    fetchmail: Server CommonName: pop.gmx.net
    fetchmail: POP3< +OK GMX POP3 StreamProxy ready 
<7440(_dot_)998390008(_at_)mp001-rz3>
    fetchmail: POP3> CAPA
    fetchmail: POP3< -ERR Unknown command.
    fetchmail: Unknown command.
    fetchmail: POP3> USER jh60(_at_)gmx(_dot_)net
    fetchmail: POP3< +OK May I have your password, please?
    fetchmail: POP3> PASS *
    fetchmail: POP3< +OK mailbox has 0 messages (0 octets)
    fetchmail: POP3> STAT
    fetchmail: POP3< +OK 0 0
    fetchmail: No mail for jh60(_at_)gmx(_dot_)net at pop.gmx.net
    fetchmail: POP3> QUIT
    fetchmail: POP3< +OK bye
    fetchmail: normal termination, status 1

----------------------------------------

What's the difference?
Why does the problem arise just (?!) only in (undetached) daemon mode?

Of course I am willing to compile&install&run an experimental version.

JH


<Prev in Thread] Current Thread [Next in Thread>