Bug 373951 - sendmail not allowed to deliver mail to cyrus-imapd
Summary: sendmail not allowed to deliver mail to cyrus-imapd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-09 22:27 UTC by Alexander Larsson
Modified: 2008-01-30 19:06 UTC (History)
0 users

Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-30 19:06:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
policy module to fix the denials (167 bytes, text/plain)
2007-11-11 02:30 UTC, Kostas Georgiou
no flags Details

Description Alexander Larsson 2007-11-09 22:27:33 UTC
I enabled lmtp delivery from sendmail to cyrus-imapd (uncomment the cyrusv2
stuff in /etc/mail/sendmail.mc). This causes selinux errors each time sendmail
tries to deliver a message by connecting to the /var/lib/imap/socket/lmtp socket.

raw message:

avc: denied { write } for comm=sendmail dev=dm-0 egid=51 euid=0
exe=/usr/sbin/sendmail.sendmail exit=0 fsgid=51 fsuid=0 gid=0 items=0 name=lmtp
pid=24547 scontext=unconfined_u:system_r:sendmail_t:s0 sgid=51
subj=unconfined_u:system_r:sendmail_t:s0 suid=0 tclass=sock_file
tcontext=unconfined_u:object_r:cyrus_var_lib_t:s0 tty=(none) uid=0

Comment 1 Daniel Walsh 2007-11-10 12:38:27 UTC
Fixed in selinux-policy-3.0.8-51.fc8

Comment 2 Alexander Larsson 2007-11-10 15:09:34 UTC
BTW: The same happens with postfix.


Comment 3 Kostas Georgiou 2007-11-11 02:30:28 UTC
Created attachment 254201 [details]
policy module to fix the denials

Comment 4 Daniel Walsh 2008-01-30 19:06:46 UTC
Bulk closing a old selinux policy bugs that were in the modified state.  If the
bug is still not fixed.  Please reopen.


Note You need to log in before you can comment on or make changes to this bug.