Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29596 - [courier-mta] affected by a gamin bug
Attached to Project:
Community Packages
Opened by Andrej Podzimek (andrej) - Tuesday, 24 April 2012, 18:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 25 April 2012, 21:16 GMT
Opened by Andrej Podzimek (andrej) - Tuesday, 24 April 2012, 18:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 25 April 2012, 21:16 GMT
|
DetailsDescription:
IMAP mail clients lag very long when opening folders or messages. Additional info: https://bugs.launchpad.net/ubuntu/+source/courier/+bug/890756 courier-imap@lists.sourceforge.net/msg03938.html"> http://www.mail-archive.com/courier-imap@lists.sourceforge.net/msg03938.html * package version(s) gamin 0.1.10-6 courier-mta 0.67.0-2 courier-authlib 0.63.0-8 * config and/or log files etc. There are many messages like this in /var/log/mail.log: imapd: FAMPending: timeout Steps to reproduce: Try to run a courier-mta IMAP server on an ArchLinux installation. Clients will lag. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 25 April 2012, 21:16 GMT
Reason for closing: Works for me
Wednesday, 25 April 2012, 21:16 GMT
Reason for closing: Works for me
Tried the fam package from AUR. Unfortunately, it didn't work for me. The fam daemon crashed each time Courier tried to connect to it.
famd: FileSystemTable.c++:179: static void FileSystemTable::create_fs_by_name(): Assertion `root' failed.
This is what it looks like in Courier's log:
Apr 24 20:40:53 charon imapd: Failed to create cache file: maildirwatch (<<mail address here>>)
Apr 24 20:40:53 charon imapd: Error: Input/output error
Apr 24 20:40:53 charon imapd: Check for proper operation and configuration
Apr 24 20:40:53 charon imapd: of the File Access Monitor daemon (famd).
This message is displayed by Thunderbird:
Alert from account Charon - Andrej: Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library)
So gamin was probably the only working choice ... till now. Now it freezes client connections nearly forever. (If I understand it well, the first IMAP connections work somehow and just lag for a few seconds, but they don't get closed, so the communication soon hits the limit on the number of connections per client and that's when everything stops working.)
I have no idea whose bug this is. The IMAP part of Courier just stopped working after today's pacman -Syu. I even rebooted the server, but that didn't help either.
BTW, you may *not* see this bug if you don't use a client with IDLE capabilities. If you turn on IDLE support in Thunderbird, the bug should get exposed.
Gamin still fails the same way:
Apr 24 23:41:53 charon imapd: FAMPending: timeout
Once I uninstall Gamin and install FAM, Courier-MTA works fine. (Samba probably wouldn't work, but fortunately I don't use it right now.)
The way I see it, if no big changes and/or patches have been recently added to gamin / courier-mta, perhaps you can close/defer this bug. My current FAM configuration works fine. There are currently no votes for the bug (but mine), so this problem might well be unrelated to packaging.