Red Hat Bugzilla – Bug 142001
cyrusv2.m4 macro has wrong Cyrus-IMAPd LMTP socket path
Last modified: 2007-11-30 17:10:56 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3)
Description of problem:
$ grep -n "socket" /usr/share/sendmail-cf/mailer/cyrusv2.m4
15:ifdef(`CYRUSV2_MAILER_ARGS',, `define(`CYRUSV2_MAILER_ARGS', `FILE
--> has to be `/var/lib/imap/socket/lmtp'
$ grep -n lmtpunix /etc/cyrus.conf
26: lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
If one wants to use Sendmail with Cyrus-IMAPd by using the cyrusv2
mailer he would need to modify the socket path too.
(For the old cyrus.m4 the path to the devlier binary was corrected,
Still the same with sendmail-cf-8.13.1-2.2.i386.rpm from
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see cyrusv2.m4 macro file
2. see cyrus.conf file and directory structure
Actual Results: Without modification of the socket path Sendmail
fails to connect to the LMTP socket file of Cyrus-IMAPd.
Expected Results: Porper communication between both applications.
Work-around is to put this in your .mc file:
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
But yes, I found this too in Fedora Core 3; it would be best fixed in the cyrusv2.m4 file in the RPM. Easy
This bug is still unfixed in FC-4test2.
Alexander, set attribute Version -> fc4test2, please.
Petr, I followed your suggestion. Thanks for pointing out that the situation is
still sub-optimal with current FC4 Test 2, although Cyrus-IMAPd meanwhile is out
of the Core and went to Extras.
Other than patching the cyrv2.m4 macro file we may go the same road like Postfix
was prepared for use of Cyrus-IMAPd: please see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122910#c5. I think
commented entries in the sendmail.mc are a good way to prepare things for users
willing to integrate Sendmail and Cyrus-IMAPd. So I suggest adding in sendmail.mc:
- in define section:
dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery uncomment
dnl # the following 2 definitions and activate below in the MAILER section the
dnl # cyrusv2 mailer.
dnl define(`confLOCAL_MAILER', `cyrusv2')dnl
dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
- at bottom:
Your suggestion is good. I vote for it!
Seems it is fixed in Extras - cyrus-imapd-2.2.12-1.2.fc4
Where sendmail.mc contains:
define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')
We can close this bug, I think.
Sorry. It is fixed in package sendmail-8.13.4-2 of course.