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/, anneleen@bouworde.be->Maildir /home/ria/Maildir/, peter@bouworde.be->Maildir /home/faber/Maildir/, katrien@bouworde.be->Maildir /home/katrien/Maildir/, machtelt@bouworde.be->Maildir /home/machtelt/Maildir/, rob@bouworde.be->Maildir /home/rob/Maildir/, vzw@bouworde.be->Maildir /home/rob/Maildir/, heleen@bouworde.be->Maildir /home/wannes/Maildir/, greet@bouworde.be->Maildir /home/wannes/Maildir/, ict@bouworde.be->Maildir /home/faber/Maildir/, michael@bouworde.be->Maildir /home/wannes/Maildir/, rene@bouworde.be->Maildir /home/faber/Maildir/, info@bouworde.be->Maildir /home/boAlgemeen/Maildir/, faber@bouworde.be->Maildir /home/faber/Maildir/, ilona@bouworde.be->Maildir /home/katrien/Maildir/, ria@bouworde.be->Maildir /home/ria/Maildir/, wannes@bouworde.be->Maildir /home/wannes/Maildir/, katleen@bouworde.be->Maildir /home/katrienc/Maildir/, boekhouding@bouworde.be->Maildir /home/boekhouding/Maildir/, hanne@bouworde.be->Maildir /home/katrienc/Maildir/, sabine@bouworde.be->Maildir /home/sabine/Maildir/, kirsten@bouworde.be->Maildir /home/sabine/Maildir/, sarah@bouworde.be->Maildir /home/katrienc/Maildir/, joke@bouworde.be->Maildir /home/joke/Maildir/, willem@bouworde.be->Maildir /home/willem/Maildir/, katrien.c@bouworde.be->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