Re: lmtp socket error
On 07/01/15 22:25 -0400, Shaw, Brian wrote: All, I'm not sure if this is a cyrus error or a postfix error but, I can't find any information about how to resolve it. I'm seeing the following in /var/log/maillog: Jul 1 21:52:15 mail-server cyrus-imapd/master[11907]: process type:SERVICE name:lmtpunix path:/usr/lib/cyrus-imapd/lmtpd age:0.206s pid:12140 exited, status 75 EX_TEMPFAIL? exitcodes.h indicates this could be a whole host of different issues. Jul 1 21:52:15 mail-server postfix/lmtp[12036]: EB0C1E5B11: to=u...@example.com, relay=mail-server[/var/lib/imap/socket/lmtp], delay=32177, delays=32169/6/2.6/0.02, dsn=4.3.0, status=deferred (host mail-server[/var/lib/imap/socket/lmtp] said: 421 4.3.0 lmtpd: Internal error: assertion failed: lib/cyrusdb_twoskip.c: 600: record-level = MAXLEVEL (in reply to end of DATA command)) The really strange thing is some mail goes through and some does not. I haven't found any pattern to it yet. Any suggestions would be greatly appreciated. Did that particular email (EB0C1E5B11) ever get delivered? If not, there may be something within the email triggering lmtpd to crash. Are there any binary headers or unusual content? If the email is junk, there may be configuration options within postfix to disallow such emails. Attach a debugger to trouble shoot lmtpd. See the cyrus.conf and lmtpd manpages, and: http://members.sange.fi/~atehwa/vc/packaging/cyrus-imapd/debian/README.Debian.debug -- Dan White Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: lmtp socket error
On Thu, Jul 2, 2015, at 12:25 PM, Shaw, Brian wrote: Jul 1 21:52:15 mail-server postfix/lmtp[12036]: EB0C1E5B11: to=u...@example.com, relay=mail-server[/var/lib/imap/socket/lmtp], delay=32177, delays=32169/6/2.6/0.02, dsn=4.3.0, status=deferred (host mail-server[/var/lib/imap/socket/lmtp] said: 421 4.3.0 lmtpd: Internal error: assertion failed: lib/cyrusdb_twoskip.c: 600: record-level = MAXLEVEL (in reply to end of DATA command)) Here's your problem! That's a corrupted database file. Almost certainly your mailboxes.db. You're running Cyrus 2.5.x, obviously. I haven't seen any twoskip errors in the wild for a long time, so I'd love to see a copy of your mailboxes.db if you don't mind. I guess it could also be a .seen file or the annotations.db, the error doesn't give enough information to know :( Thanks, Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: lmtp socket error
On Fri, Jul 3, 2015, at 08:52 AM, Bron Gondwana wrote: On Thu, Jul 2, 2015, at 12:25 PM, Shaw, Brian wrote: Jul 1 21:52:15 mail-server postfix/lmtp[12036]: EB0C1E5B11: to=u...@example.com, relay=mail-server[/var/lib/imap/socket/lmtp], delay=32177, delays=32169/6/2.6/0.02, dsn=4.3.0, status=deferred (host mail-server[/var/lib/imap/socket/lmtp] said: 421 4.3.0 lmtpd: Internal error: assertion failed: lib/cyrusdb_twoskip.c: 600: record-level = MAXLEVEL (in reply to end of DATA command)) Here's your problem! That's a corrupted database file. Almost certainly your mailboxes.db. You're running Cyrus 2.5.x, obviously. I haven't seen any twoskip errors in the wild for a long time, so I'd love to see a copy of your mailboxes.db if you don't mind. I guess it could also be a .seen file or the annotations.db, the error doesn't give enough information to know :( (in answer to _that_ part of the problem at least, I've written a patch to twoskip.c which will give better error messages on reading a corrupted DB from disk. It will be in the next stable 2.5 release) Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Documentation update
Hi all, Not sure where to report this the #irc channel recommended I reach out here. The Fedora documentation bellow seems out of date as of at least Fedora Core 18 (Currently 22) . https://docs.cyrus.foundation/imap/installation/distributions/fedora.html yum has been replaced with dnf as of FC18[1] yum install cyrus-imapd cyrus-sasl cyrus-sasl-plain should be dnf install cyrus-imapd cyrus-sasl cyrus-sasl-plain and service and chkconfig have been replaced with systemctl[2] # service saslauthd start Starting saslauthd:[ OK ] # chkconfig saslauthd on should be # systemctl enable cyrus-imapd # systemctl start cyrus-imapd I’m going to be upgrading / re-installing a FC22 server, I’ll be more than happy to update the documents or submit updates as needed. Just let me know [1] https://fedoraproject.org/wiki/Features/DNF [2] https://fedoraproject.org/wiki/Systemd On Jul 2, 2015, at 3:59 PM, Bron Gondwana br...@fastmail.fm wrote: On Fri, Jul 3, 2015, at 08:52 AM, Bron Gondwana wrote: On Thu, Jul 2, 2015, at 12:25 PM, Shaw, Brian wrote: Jul 1 21:52:15 mail-server postfix/lmtp[12036]: EB0C1E5B11: to=u...@example.com, relay=mail-server[/var/lib/imap/socket/lmtp], delay=32177, delays=32169/6/2.6/0.02, dsn=4.3.0, status=deferred (host mail-server[/var/lib/imap/socket/lmtp] said: 421 4.3.0 lmtpd: Internal error: assertion failed: lib/cyrusdb_twoskip.c: 600: record-level = MAXLEVEL (in reply to end of DATA command)) Here's your problem! That's a corrupted database file. Almost certainly your mailboxes.db. You're running Cyrus 2.5.x, obviously. I haven't seen any twoskip errors in the wild for a long time, so I'd love to see a copy of your mailboxes.db if you don't mind. I guess it could also be a .seen file or the annotations.db, the error doesn't give enough information to know :( (in answer to _that_ part of the problem at least, I've written a patch to twoskip.c which will give better error messages on reading a corrupted DB from disk. It will be in the next stable 2.5 release) Bron. -- Bron Gondwana br...@fastmail.fm Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus