[CentOS] Sendmail with TLS, permission problem

Tue Aug 12 09:21:33 UTC 2008
Ralph Angenendt <ra+centos at br-online.de>

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
wide still.

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080812/d84f7d7f/attachment-0004.sig>