LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-26-2016, 05:11 AM   #1
suky57
LQ Newbie
 
Registered: Dec 2015
Posts: 11

Rep: Reputation: Disabled
CentOS6: Dovecot LDA and SELinux in enforcing


Hi,

I have the problem with SELinux and dovecot-lda configure. I have virtual mailboxes on the server and becouse of needig use dovecot's sieve plugin, I need postfix to deliver msg via Dovecot LDA.

There is a log:
Code:
27797 comm="dovecot-lda" capability=6  scontext=unconfined_u:system_r:dovecot_deliver_t:s0 tcontext=unconfined_u:system_r:dovecot_deliver_t:s0 tclass=capability
type=SYSCALL msg=audit(1453806315.517:1330998): arch=c000003e syscall=116 success=no exit=-1 a0=1 a1=1993580 a2=7fe00fa7bcdb a3=632e3432706c6568 items=0 ppid=27796 pid=27797 auid=0 uid=5135 gid=600 euid=0 suid=0 fsuid=0 egid=600 sgid=600 fsgid=600 tty=(none) ses=57619 comm="dovecot-lda" exe="/usr/libexec/dovecot/dovecot-lda" subj=unconfined_u:system_r:dovecot_deliver_t:s0 key=(null)
type=AVC msg=audit(1453806316.544:1330999): avc:  denied  { setgid } for  pid=27807 comm="dovecot-lda" capability=6  scontext=unconfined_u:system_r:dovecot_deliver_t:s0 tcontext=unconfined_u:system_r:dovecot_deliver_t:s0 tclass=capability
type=SYSCALL msg=audit(1453806316.544:1330999): arch=c000003e syscall=116 success=no exit=-1 a0=1 a1=225a578 a2=7f4f8a32fcdb a3=1e items=0 ppid=27796 pid=27807 auid=0 uid=5135 gid=600 euid=0 suid=0 fsuid=0 egid=600 sgid=600 fsgid=600 tty=(none) ses=57619 comm="dovecot-lda" exe="/usr/libexec/dovecot/dovecot-lda" subj=unconfined_u:system_r:dovecot_deliver_t:s0 key=(null)
type=AVC msg=audit(1453806316.560:1331000): avc:  denied  { setgid } for  pid=27808 comm="dovecot-lda" capability=6  scontext=unconfined_u:system_r:dovecot_deliver_t:s0 tcontext=unconfined_u:system_r:dovecot_deliver_t:s0 tclass=capability
type=SYSCALL msg=audit(1453806316.560:1331000): arch=c000003e syscall=116 success=no exit=-1 a0=1 a1=d86570 a2=7f847f810cdb a3=1a items=0 ppid=27806 pid=27808 auid=0 uid=5135 gid=600 euid=0 suid=0 fsuid=0 egid=600 sgid=600 fsgid=600 tty=(none) ses=57619 comm="dovecot-lda" exe="/usr/libexec/dovecot/dovecot-lda" subj=unconfined_u:system_r:dovecot_deliver_t:s0 key=(null)

Any idea?
 
Old 01-31-2016, 05:23 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post output of 'grep dovecot /var/log/audit/audit.log | audit2allow -w;'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux enforcing causing IP issues... cowmoo32 Linux - Networking 11 03-20-2014 01:07 PM
[SOLVED] dovecot-lda configuration problem with sendmail timsoft Linux - Server 3 11-07-2012 10:16 AM
/usr/local/libexec/dovecot/dovecot-lda - IS MISSING ?!? snowweb Linux - Server 1 08-14-2012 07:05 AM
dovecot-lda/postfix permission issues deathclaw Linux - Server 3 06-22-2012 11:56 AM
postfix used dovecot lda problem xiutuo Linux - Server 1 11-12-2009 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration