lmtp socket error

Shaw, Brian bshaw at vsvinc.com
Fri Jul 3 10:46:46 EDT 2015

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 at 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

   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 
   I haven't had a chance to try the debugger yet but, I'll post what I 


More information about the Info-cyrus mailing list