LMTP, Postfix, Dovecot AVC denial

Jens Falsmar Oechsler joe at devzero.dk
Sat Aug 27 23:03:21 UTC 2011


Hello
 
Getting errors below when using Postfix with LMTP deliver to Dovecot on same
machine. Should Dovecot configure LMTP in another path, context or how do I
resolve?   
 
type=AVC msg=audit(1314483455.100:17918): avc:  denied  { search } for  pid=6665
comm="lmtp" name="dovecot" dev=vda1 ino=1051484
scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system
_u:object_r:dovecot_var_run_t:s0 tclass=dir
type=AVC msg=audit(1314483455.100:17918): avc:  denied  { write } for  pid=6665
comm="lmtp" name="lmtp" dev=vda1 ino=1044670
scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:o
bject_r:dovecot_var_run_t:s0 tclass=sock_file
type=AVC msg=audit(1314483455.100:17918): avc:  denied  { connectto } for 
pid=6665 comm="lmtp" path="/var/run/dovecot/lmtp"
scontext=system_u:system_r:postfix_smtp_t:s0 tcontext=system_u:s
ystem_r:dovecot_t:s0 tclass=unix_stream_socket
type=SYSCALL msg=audit(1314483455.100:17918): arch=c000003e syscall=42
success=yes exit=0 a0=e a1=7fff1e9e21d0 a2=6e a3=7fff1e9e1e70 items=0 ppid=1177
pid=6665 auid=4294967295 uid=89 gid=89
 euid=89 suid=89 fsuid=89 egid=89 sgid=89 fsgid=89 tty=(none) ses=4294967295
comm="lmtp" exe="/usr/libexec/postfix/lmtp"
subj=system_u:system_r:postfix_smtp_t:s0 key=(null)
 
Thanks in advance 


More information about the selinux mailing list