On 2022-11-09, latin...@vcn.bc.ca <latin...@vcn.bc.ca> wrote: > Hello misc > > I have a problem with dkimsign, i had a server, with Opensmtpd and > dkimsign working correctly, this is my personal server, but i decide to > test Dovecot, wich could not be installed; it is good news because i am > used to use pure OpenBSD in my personal server! > > Now dkimsign is failing and i have not been able to repair it, could > somebody please help? > > # smtpd -d > info: OpenSMTPD 7.0.0 starting > dkimsign: Can't open key file (/etc/mail/dkim/agroena.org.private.key): > Permission denied > warn: lost processor: dkimsign exited abnormally > Exiting
The uid that is trying to access the file doesn't have permission to do so. Check permissions and lwnership on the dkim file and parent directories.