PDA

View Full Version : Postfix, lmtp and SELinux


ibbo
21st April 2006, 08:41 AM
Maillog
(c onnect to /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]: Permission denied)

dmesg
audit(1145603989.717:46): avc: denied { search } for pid=2670 comm="lmtp" name="lib" dev=dm-0 ino=3633698 scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir

postfix main.cf
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp

I am running Cyrus-imap and postfix and my initial guess is this is SELinux making my day.

Can this be resolved by a relabel or will a chcon on something sort it out?

Ibbo