[Dovecot] auth default : passwd-file Can't open file: Permission denied

Freese Notis freesenotis at gmail.com
Sat Feb 2 20:36:04 EET 2008


Thanks Timo

For testing I tried:
#echo 0 >/selinux/enforce
and I got
Feb  2 05:00:31 ns2 dovecot: Dovecot v1.0.rc15 starting up
Feb  2 05:00:32 ns2 dovecot: auth(default): passwd-file
/var/spool/virtual/passwd: Read 971 users

so it worked.  The problem is identified but does anyone know how to permit
dovecot to work with selinux turned on?

On Feb 2, 2008 3:40 AM, Timo Sirainen <tss at iki.fi> wrote:

> On Fri, 2008-02-01 at 15:07 -0600, Freese Notis wrote:
>
> > I'm attempting to migrate from an existing dovecot .99 install to
> dovecot
> > 1.0.rc15 on a fresh up to date CentOs 5.1.  I'm not sure what's causing
> this
> > permissions error on startup - I've tried 777,644, and 600 chmods but
> it's
> > always this same error:
> >
> > Feb  1 12:43:06 ns2 dovecot: auth(default): passwd-file
> > /var/spool/virtual/passwd: Can't open file: Permission denied
> ..
> > I tried searching first but couldn't find anything other than similar
> config
> > examples that seemed to confirm my config was setup right.  Any
> suggestions?
>
> SELinux prevents accessing it.
>
>


-- 
Adam

Send all work related requests to work at networkiowa.com or admin at weather.net

This is only a external mail test account, do not send me requests here.


More information about the dovecot mailing list