Red Hat Bugzilla – Bug 130308
deliver segfaults when destination folder does not exists
Last modified: 2007-11-30 17:07:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Description of problem:
The patch cyrus-imapd-2.2.6-autocreate-0.2.diff has a bug.
When delivering mail using deliver, running as the cyrus admin, the
process will segfault if teh mail folder specified in -m does not exist.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.change user to the cyrus admin user.
2.cat sometestmail | /usr/local/cyrus/bin/deliver -a somemailuser -m
3.boom. Watch the errors on maillog refering to deliver exiting with
Actual Results: The "deliver" process crashes with signal 11.
Expected Results: Creation on the new folder and delivery of the message.
This was discovered durin a migration script run involving thousands
of users, so maybe the rapid-firing of the requests is a factor.
Removing the autocreate patch from the SRPM solves the issue. Messages
are rejected but the process won't crash.
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
This happens for me too, and I'm running RHEL 4.
This bug has been fixed as part of cyrus-imapd update in RHEL 4.5:
Please, check whether it actually was so that we can close this report.
Closing for no response. (Although it has hopefully been fixed, just lacks