I don't really get why I am confronted with sendmail thinking it
knows better how I should put permissions on my key and crt files.
I don't really get why I am confronted with sendmail thinking it
knows better how I should put permissions on my key and crt files.
Sometimes users have default permissions of o+r, which means other
users on the system can read the stuff. For key files, this is really,
really bad, so sendmail warns you.
What is the message you receive in your case here?
Doesn't the confDONT_BLAME_SENDMAIL stop emitting that error?
Sometimes users have default permissions of o+r, which means other
users on the system can read the stuff. For key files, this is really,
really bad, so sendmail warns you.
If I search on this, I only find this argument are there more options
I can give it? I assume from this option name that it is only related
to key files.
define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl
define(`confDONT_BLAME_SENDMAIL', `GroupReadableKeyFile')
Dunno if that is case-sensitive, maybe check that.
I don't really get why I am confronted with sendmail thinking it
knows better how I should put permissions on my key and crt files.
Sometimes users have default permissions of o+r, which means other
users on the system can read the stuff. For key files, this is really,
really bad, so sendmail warns you.
-rw-r--r--+ 1 acme root 1972 Jul 29 00:10 test.cer
Besides that, who cares about certs, these are even distributed unsecurly.
(I already have this
define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl )
-rw-r--r--+ 1 acme root 1972 Jul 29 00:10 test.cer
Do you use that file as
KeyFile
File containing the private key for the certificate.
Besides that, who cares about certs, these are even distributed unsecurly.
The error isn't about a cert, it's about "the private key".
(I already have this
define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl )
A "private key" shouldn't be readable by everyone.
If you need to "share" a private key between instances,
use group permissions.
No is also the certificate (unless that changed in recent versions)
egrep -i '^O *[^ ]*(Cert|Key)File'/etc/mail/*cf
file /home/acme/test.cer unsafe: Permission denied
file /home/acme/test.cer unsafe: Permission denied
Which command triggers this error?
Please show the full command and the full logfile entry.
What are the permission/owner/group of the involved directories
( / /home /home/acme )?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 154:25:29 |
| Calls: | 12,092 |
| Calls today: | 5 |
| Files: | 15,000 |
| Messages: | 6,517,679 |