[CentOS] Sendmail with TLS, permission problem

Tue Aug 12 09:40:39 UTC 2008
Ian Forde <ian at duckland.org>

On Tue, 2008-08-12 at 11:21 +0200, Ralph Angenendt wrote:
> Jussi Hirvi wrote:
> > Ralph Angenendt (ra+centos at br-online.de) kirjoitteli (12.8.2008 11:24):
> > >> dr-xr-xr-x  2 mail mail  4096 Aug 11 14:42 /etc/mail/certs
> > > ^^^
> > > 
> > > Even allowing group to read there and enter there might be too much.
> > 
> > Thanks for quick reply. That didn't help yet. The error message in maillog
> > is still the same: "sendmail.pem unsafe: Permission denied". The directory
> > perms are now: 
> > [root at mail mail]# ls -ld / /etc /etc/mail /etc/mail/certs
> > drwxr-xr-x 24 root root  4096 Mar 29  2007 /
> > drwxr-xr-x 96 root root 12288 Aug 12 04:02 /etc
> > drwxr-xr-x  5 root root  4096 Aug 12 12:14 /etc/mail
> > dr-x------  2 mail mail  4096 Aug 11 14:42 /etc/mail/certs
> 
> IIRC sendmail checks from /etc/mail downwards, so /etc/mail is open too

do 'chmod u-w /etc/mail/certs/sendmail.pem' and see if it works... my
certs are in /etc/pki/tls/certs with perms set to 755 on the dirs on the
way down and everything works fine...

	-I