Bug 220452
Summary: | cyrus mailer in sendmail-cf uses /usr/lib/cyrus-imapd/deliver instead of /usr/lib64/cyrus-imapd/deliver on x86_64 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jan Lieskovsky <jlieskov> | ||||||
Component: | sendmail | Assignee: | Thomas Woerner <twoerner> | ||||||
Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.4 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | RHBA-2008-0762 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-07-24 20:02:38 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jan Lieskovsky
2006-12-21 13:19:28 UTC
Created attachment 144177 [details]
Example perl mail sending script: Run via: perl send.pl (After adding valid name of file to attach)
The problem is that there is a static path to the deliver binary in /usr/share/sendmail-cf/mailer/cyrus.m4. As I don't know how to do a conditional in m4, reassigning to sendmail-cf. (although I think cyrusv2 is the preferred mailer, as it speaks to cyrus through an lmtp socket, whose location is platform independent) Created attachment 144401 [details]
Patch fixing the lmtp socket path for cyrusv2 mailer
Oh yeah, and the path to the lmtp socket in cyrusv2.m4 is wrong too :). Attached patch, hopefully someone will look at it. (note this does _not_ fix the bug in question) The sendmail.mc in newer Fedoras contains the following comment, making the modification of sendmail-cf unnecessary: 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 # dnl define(`confLOCAL_MAILER', `cyrusv2')dnl dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl We can probably solve this bug by adding similar comment about the cyrus mailer. (But I will probably move the deliver binary to /usr/libexec someday) This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0762.html |