Hi,
I use dovecot and smtpd on my personal mail server.
They both share the same password file.

I works very well, but I'm concerned about permissions on this file : 

        -rw-r--r--  1 root  wheel passwd

It's world readable. I would like to let dovecot and smtpd to read only this
file, and no one else could.


I tried to set a _maildaemons group and put _smtpd and _dovecot users in it,
then : 

        -rw-r-----  1 root  _maildaemons passwd


Sadly, dovecot can't read the passwd file with this configuration,a nd I can't
figure out why.

Any advice ?


        # part of dovecot config 
        passdb {
        args = scheme=blf-crypt /etc/mail/passwd
                driver = passwd-file
        }

-- 
    thuban

Reply via email to