You are not logged in.
Pages: 1
This morning i did my daily "pacman -Syu", one of the upgrades was getmail. Since then getmail will not work. I normally run getmail from a cron job, but I noticed that I didn't receive any mail all day. So, I tried to run getmail manually like so:
getmail --rcfile <filename>
It wouldn't download new mail. I know there is new mail on the server because I can see it from my webmail account. Anybody else have this problem?
Cheers
Offline
No, getmail works fine after the upgrade here... I think you can pass the -v option (also repeated) to getmail, and also define message_log in the configuration file, so to have a clearer insight on what's happening there.
Mortuus in anima, curam gero cutis
Offline
i got the same problem with my imap server.
here my getmail settings:
[default]
verbose = 1
readall = true
set delete = true
[retriever]
type = SimpleIMAPRetriever
server = imap.hsr.ch
username = !!!username!!!
timeout = 30
port = 143
password = !!!password!!!
mailboxes = ("inbox")
timeout = 30
[destination]
type = MDA_external
path = /usr/bin/procmail
Offline
Apparently there's trouble with IMAP. I have one account that can use either. If I choose IMAPRetriever, it gets no mail. Running it with the -v flag simply indicates there are no messages. Running it as POP3Retriever, I get the messages.
So the problem seems related to IMAP accounts.
I just tested on FreeBSD as well, and the problem seems Arch specific.
Edited a few minutes later--I take back the last line. It seems the problem is with getmail 4.5.
Time to view the changelog.
Offline
Looking at the changelog, I don't know what might have caused this problem.
Taking a quick look at the searchable archives of the getmail lists,
I don't see any mention of this. However, it's only been out a few days.
The only workaround I can think of is if your server also handles pop--using POP3 instead instead of IMAP does work.
Offline
Another followup. I have the same problem, as I said, on FreeBSD.
So, on the Arch box, I removed the Arch package and installed from source. (In the README on bug reporting, he says to be sure that the problem isn't with the packaging.)
I had the same problem.
So, I've joined their mailing list and posted a report--I'll keep you updated. Again, it does seem to work as always with pop3.
Offline
So the problem seems related to IMAP accounts.
That's true. I should have mentioned that I'm retrieving my mail from an IMAP account. I didn't try POP3.
By the way, I downgraded getmail to the 4.4.4(?) package and now it works fine again.
Offline
As I said, I posted to the getmail mailing list and Mr. Cazabon (the author of getmail) tested and confirmed that it is an issue.
He said that for the moment, the workaround is to either downgrade, as you did, or use POP.
I'll drop a note to the maintainer--I'm not going to file a bug report as it isn't an Arch-specific issue.
POP3 is working, but I imagine there will be a fixed version of getmail very shortly.
Offline
*tada!* and indeed he did drop me a note
As of a few minutes ago (plus mirror propogation time blah blah blah..), a pacman -Syu will force a downgrade to 4.4.4, we'll stick with that until a fixed version is released.
The suggestion box only accepts patches.
Offline
From the Getmail Changelog:
Version 4.5.2
7 February 2006
-fix IMAP bug where no mail was retrieved introduced in 4.5.0. Thanks:
Scott Robbins.
Offline
Yup and it works--I tested it both from source and then just modifying the PKGBUILD so that it would install 4.5.2
Works like a charm.
And, in addition to his thanks to me, thanks for the two original posters who first discovered the problem.
Offline
After the upgrade to 4.5.4, getmail seems to be broken again here, but in a different (and more radical) way:
getmail
Exception: please read docs/BUGS and include the following information in any bug report:
getmail version 4.5.4
Python version 2.4.2 (#1, Nov 12 2005, 10:57:47)
[GCC 4.0.3 20051006 (prerelease)]
Unhandled exception follows:
File "/usr/bin/getmail", line 558, in main
go(configs)
File "/usr/bin/getmail", line 89, in go
retriever.initialize()
File "/usr/lib/python2.4/site-packages/getmailcore/_retrieverbases.py", line 486, in initialize
RetrieverSkeleton.initialize(self)
File "/usr/lib/python2.4/site-packages/getmailcore/_retrieverbases.py", line 365, in initialize
self._read_oldmailfile()
File "/usr/lib/python2.4/site-packages/getmailcore/_retrieverbases.py", line 312, in _read_oldmailfile
self.oldmail[msgid] = int(timestamp)
ValueError: invalid literal for int():
Please also include configuration information from running getmail
with your normal options plus "--dump".
If i run "getmail -v --dump", then:
getmail version 4.5.4
Copyright (C) 1998-2006 Charles Cazabon. Licensed under the GNU GPL version 2.
getmail configuration:
getmail version 4.5.4
Python version 2.4.2 (#1, Nov 12 2005, 10:57:47)
[GCC 4.0.3 20051006 (prerelease)]
retriever: SimplePOP3SSLRetriever(certfile="None", delete_dup_msgids="False", getmaildir="~/.getmail/", keyfile="None", password="*", port="995", server="pop.gmail.com", timeout="180", use_apop="False", username="patroclo7")
destination: MDA_external(allow_root_commands="False", arguments="()", command="procmail", group="None", path="/usr/bin/procmail", unixfrom="True", user="None")
options:
delete : False
delete_after : 0
delivered_to : True
logfile : logfile(filename="~/.getmail/getmail.log")
max_message_size : 0
max_messages_per_session : 0
message_log : ~/.getmail/getmail.log
message_log_syslog : False
read_all : False
received : True
verbose : 1
I am going to downgrade--
Any tip?
Mortuus in anima, curam gero cutis
Offline
complain to the developer of getmail, all I do is package it up for arch.
If it means anything, I haven't had any issues, and I also pull from a gmail account.
The suggestion box only accepts patches.
Offline
Pages: 1