lmtpproxy (cyrus 2.3.7) segmentation fault during delivery attempts for unknown user

Doug Brenner doug.brenner at gmail.com
Mon Oct 9 15:24:24 EDT 2006


While working with Cyrus 2.3.7 for email delivery via ltmpproxy, we
encountered a problem where the lmtpproxy would die with a
segmentation violation and these syslog messages:

Oct  5 12:57:11 ****** master[6172]: process 6700 exited, signaled to
death by 11
Oct  5 12:57:11 ****** master[6172]: service lmtpunix pid 6700 in BUSY
state: terminated abnormally

This only happened when a message was intended for delivery to a
non-existent user; messages for valid user mailboxes were delivered
without problem. (We are running the Cyrus software on Red Hat Linux
AS4 update 4.)

Our investigation suggests this is due to a problem in the mlookup()
function in the lmtp.c source file, where the "mailboxdata" data
structure is referred while NULL.

I've attached a patch which seems to correct the problem for us.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-2.3.7-lmtp.patch
Type: application/octet-stream
Size: 619 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20061009/811e5962/cyrus-2.3.7-lmtp.obj


More information about the Info-cyrus mailing list