I can explain why that happens. The twoskip file is corrupted, but you only notice the corruption if you are seeking through the part of the database where it can corrupt. Can I also ask which filesystem you are running on the server? Thanks, Bron. On Sat, Jul 4, 2015, at 12:46 AM, Shaw, Brian wrote: > On 2015-07-02 9:50 am, Dan White wrote: > > 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=<user@xxxxxxxxxxx>, 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, > The emails never do get delivered, they just hang out in the deferred > folders. They are a mixture of SPAM and real mail. > I have compared a number of them the best I can, I'm not an email > expert, and I don't see any common features between them. They come > from different sources and go to different users with about as many > different MTAs as you can imagine. Some have attachments and some > don't. > I haven't had a chance to try the debugger yet but, I'll post what I > find. > > Brian > ---- > 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 -- Bron Gondwana brong@xxxxxxxxxxx ---- 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