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.

Attachment: cyrus-2.3.7-lmtp.patch
Description: Binary data

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to