[SLE] Fetchmail Socket Errors

From: L. Mark Stone (LMStone_at_RNoME.com)
Date: 11/07/03

  • Next message: Gustavo Rahal: "[SLE] language display problem on evolution"
    To: Suse Mail <suse-linux-e@suse.com>
    Date: Fri, 07 Nov 2003 09:29:03 -0500
    
    

    I'm running into problems with fetchmail 6.2.3 included in SuSE Pro 9.0
    and installed on my personal workstation. It generates frequent socket
    errors with only one of the three POP servers from which I pull email.

    If I pull the mail down via POP using Evolution, I never see this
    problem (but then, I lose the ability to have Spamassassin delete spam
    mails before they hit my Evolution Inbox, which, given the volume of
    mail is very important to me; one mailbox sees about 30% of its traffic
    as spam).

    The fetchmail home page indicates that 6.2.5 has some bug fixes in it
    and a new configuration parm that should ameliorate or eliminate this
    problem. This updated version of fetchmail is not available via YaST or
    APT, and I had problems compiling it from source.

    The connection between my workstation and the mailserver is very clean,
    with an average 42ms ping time that doen't deviate by more than 3 ms
    that I can see.

    So, I'd like to know if anyone can recommend changes to my .fetchmailrc
    file that will help.

    First, here's the relevant output from running ~/fetchmail -v -d0
    --nosyslog after killing the fetchmail daemon:

    reading message lmstone@mail.lmstone.com:82 of 112 (5519 octets)
    #******************************************************procmail: [5561]
    Fri Nov 7 08:51:56 2003
    procmail: Assigning "PATH=/usr/bin:/bin"
    procmail: Assigning "MAILDIR=/var/spool/mail"
    procmail: Assigning "DEFAULT=/var/spool/mail/lmstone"
    procmail: Assigning "LOGFILE=/home/lmstone/procmail.log"
    procmail: Opening "/home/lmstone/procmail.log"
    fetchmail: socket error while fetching from mail.lmstone.com
    fetchmail: 6.2.3 querying mail.lmstone.com (protocol POP3) at Fri 07 Nov
    2003 08:51:56 AM EST: poll completed
    fetchmail: Query status=2 (SOCKET)

    To be clear, although the log says this (and all preceeding messages)
    were deleted, in fact fetchmail does not delete them until all 100+
    messages are pulled down from the POP server (which, in this case,
    hasn't happened). But, sometimes these messages do get passed on to
    procmail, so the next time fetchmail runs, I will find duplicates in my
    Inbox--and this morning I found several messages duplicated a huge
    number of times, because fetchmail runs every two minutes. BTW, I pull
    probably 1,500 emails a day from this POP server during workdays.

    Here's the relevant portion of my /home/lmstone/.fetchmailrc file for
    this POP server (with the usernames and passwords changed!) Note that my
    or your mailer may have created unintended wordwraps in the file...

    # Configuration created Wed Nov 5 21:06:11 2003 by fetchmailconf
    set postmaster "lmstone"
    set bouncemail
    set no spambounce
    set properties ""
    set daemon 120
    poll mail.lmstone.com via mail.lmstone.com
     with proto POP3 uidl
           user 'real_username_changed' there with password
    'real_password_changed' is 'lmstone' here options fetchall
     mda '/usr/bin/procmail -d %T'

    Also, if I remove the options "uidl" and "fetchall", fetchmail segfaults
    after pulling down the message list. If I remove the option "fetchall",
    but keep the option "uidl" (or vica versa), I still get the problem.

    Any help or pointers are always gratefully appreciated!

    Thanks!
    Mark

    -- 
    ______________________________________________________________
    L. Mark Stone
    President
    Reliable Networks of Maine, LLC
    477 Congress Street, 5th Floor
    Portland, ME 04107
    Tel: (207) 772-5678
    Cell: (917) 597-2057
    Email: LMStone@RNoME.com
    Web: http://www.RNoME.com
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Gustavo Rahal: "[SLE] language display problem on evolution"

    Relevant Pages

    • Re: Fetchmail socket problem
      ... > working one on the old server, I'm getting what appears to be socket ... > fetchmail: normal termination, status 2 ... telnet localhost 124 ... login pop3.mailbox.co.uk:myaccount mypass ...
      (Fedora)
    • Re: Fetchmail problems
      ... fetchmail: socket error while fetching from pop3.tiscali.co.uk ... fetchmail: Query status=2 ... This error only occurs when you have lost Internet connection and the ...
      (Fedora)
    • understanding Fetchmail
      ... I've got fetchmail 5.9.11 which I installed from the stable package collection. ... I also have Exim 3.35 installed (which was a default install when I ... POP3 connection to localhost failed: ... fetchmail: Query status=2 (SOCKET) ...
      (Debian-User)
    • Re: Fetchmail problems
      ... error messages are telling me: ... fetchmail: socket error while fetching from pop3.tiscali.co.uk ... fetchmail: Query status=2 ...
      (Fedora)
    • Re: fetchmail -> sendmail problem
      ... I am using fetchmail to download my ... local sendmail daemon who gives it to my local imap server. ... accept the message gets a timeout from the pop server where it is ... the same spam email again, and it all starts again, actually no more ...
      (freebsd-questions)