getmail 4.3.4 unhandled expression

Discussion in 'Technical' started by djemmers, Jun 18, 2009.

  1. djemmers

    djemmers New Member

    hi
    We have an (old) freebsd server running that needs replacing (busy with that)
    but now suddenly getmail doesn't get our mails anymore (wich is not good for any business)
    the mails are still on our providers server.
    we get them through a simplepop3retriever

    getmail version: 4.3.4

    when I give the command to get the mails manually I get:

    Code:
    faber@freebsd$ getmail -r /root/.getmail/2go
    getmail version 4.3.4
    Copyright (C) 1998-2005 Charles Cazabon.  Licensed under the GNU GPL version 2.
    SimplePOP3Retriever:vzw%[email protected]:110:
    
    Exception: please read docs/BUGS and include the following information in any bug report:
    
      getmail version 4.3.4
      Python version 2.4 (#2, Apr  3 2005, 22:24:02)
    [GCC 3.4.2 [FreeBSD] 20040728]
    
    Unhandled exception follows:
        File "/usr/local/bin/getmail", line 542, in main
        go(configs)
        File "/usr/local/bin/getmail", line 110, in go
        msg = retriever.getmsg(msgid)
        File "/usr/local/lib/python2.4/site-packages/getmailcore/_retrieverbases.py", line 366, in getmsg
        return self._getmsgbyid(msgid)
        File "/usr/local/lib/python2.4/site-packages/getmailcore/_retrieverbases.py", line 440, in _getmsgbyid
        msg = Message(fromlines=lines)
        File "/usr/local/lib/python2.4/site-packages/getmailcore/message.py", line 93, in __init__
        self.__msg = email.message_from_string(os.linesep.join(fromlines))
        File "/usr/local/lib/python2.4/email/__init__.py", line 43, in message_from_string
        return Parser(*args, **kws).parsestr(s)
        File "/usr/local/lib/python2.4/email/Parser.py", line 79, in parsestr
        return self.parse(StringIO(text), headersonly=headersonly)
        File "/usr/local/lib/python2.4/email/Parser.py", line 68, in parse
        feedparser.feed(data)
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 149, in feed
        self._call_parse()
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 153, in _call_parse
        self._parse()
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 334, in _parsegen
        for retval in self._parsegen():
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 255, in _parsegen
        for retval in self._parsegen():
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 334, in _parsegen
        for retval in self._parsegen():
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 231, in _parsegen
        for retval in self._parsegen():
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 193, in _parsegen
        for line in self._input:
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 122, in next
        line = self.readline()
        File "/usr/local/lib/python2.4/email/FeedParser.py", line 82, in readline
        if ateof(line):
      TypeError: expected string or buffer
    
    Please also include configuration information from running getmail
    with your normal options plus "--dump".
    Exception getmailcore.exceptions.getmailDeliveryError: <getmailcore.exceptions.getmailDeliveryError instance at 0x8336c4c> in <bound method SimplePOP3Retriever.__del__ of <getmailcore.retrievers.SimplePOP3Retriever object at 0x828bc0c>> ignored
    so then I ran:

    Code:
    faber@freebsd$ getmail -r /root/.getmail/2go --dump
    getmail version 4.3.4
    Copyright (C) 1998-2005 Charles Cazabon.  Licensed under the GNU GPL version 2.
    getmail configuration:
      getmail version 4.3.4
      Python version 2.4 (#2, Apr  3 2005, 22:24:02)
    [GCC 3.4.2 [FreeBSD] 20040728]
      retriever:  SimplePOP3Retriever(getmaildir="~/.getmail/", password="*", port="110", server="mail.bouworde.be", timeout="180", use_apop="False", username="vzw%bouworde.be")
      destination:  MultiGuesser(default=Maildir /home/faber/Maildir/, [email protected]>Maildir /home/ria/Maildir/, [email protected]>Maildir /home/faber/Maildir/, [email protected]>Maildir /home/katrien/Maildir/, [email protected]>Maildir /home/machtelt/Maildir/, [email protected]>Maildir /home/rob/Maildir/, [email protected]>Maildir /home/rob/Maildir/, [email protected]>Maildir /home/wannes/Maildir/, [email protected]>Maildir /home/wannes/Maildir/, [email protected]>Maildir /home/faber/Maildir/, [email protected]>Maildir /home/wannes/Maildir/, [email protected]>Maildir /home/faber/Maildir/, [email protected]>Maildir /home/boAlgemeen/Maildir/, [email protected]>Maildir /home/faber/Maildir/, [email protected]>Maildir /home/katrien/Maildir/, [email protected]>Maildir /home/ria/Maildir/, [email protected]>Maildir /home/wannes/Maildir/, [email protected]>Maildir /home/katrienc/Maildir/, [email protected]>Maildir /home/boekhouding/Maildir/, [email protected]>Maildir /home/katrienc/Maildir/, [email protected]>Maildir /home/sabine/Maildir/, [email protected]>Maildir /home/sabine/Maildir/, [email protected]>Maildir /home/katrienc/Maildir/, [email protected]>Maildir /home/joke/Maildir/, [email protected]>Maildir /home/willem/Maildir/, [email protected]>Maildir /home/katrienc/Maildir/)
      options:
        delete : True
        delete_after : 0
        delivered_to : True
        logfile : logfile(filename="/root/.getmail/log")
        max_message_size : 0
        max_messages_per_session : 0
        message_log : /root/.getmail/log
        message_log_syslog : False
        read_all : True
        received : True
        verbose : 1
    But I don't understand anyting about that.

    to be complete I went to the mails using webmail (it is a catch all adres) and there I see all the mails but As I said , getmail doesn't get them...
     

Share This Page