Lucrian, maybe you’re right… 'cause if that directory is deleted at reboot,
maybe the dkim-milter starts before the directory creation… and so that PID behaves badly…
we should understand why that directory is deleted.
i will do it…
how is your /etc/mail/dkim-milter/dkim-filter.conf ? thanks
If you are on Centos 7 remove DKIM-Milter and install OpenDKIM what is actually his successor. DKIM-Milter is several years old and obsolete software. Even if you are on Centos 6 you can install and use OpenDKIM without any problem.
Diabolico, really it works fine… the only problem is to understand why guys at Virtualmin didn’t have a look at the .conf …if the generic conf was good or bad…
IF the commented BaseDirectory is a problem… and why that directory /var/run/dkim-milter is not there at boot…
then, it does its work as usual… I don’t think that ATM I need to change the software for such a reason…the workaround is there but I think that’s something on the conf…
Honestly, I can’t reboot the server many times just to test this… maybe i will test it on local
it means that if I remove dkim-milter then if I go to DomainKeys Identified Mail, it installs opendkim instead of dkim-milter?
Yes. But you could do this by yourself long time ago and not wait for Virtualmin to change this for Centos 7 (on Centos 6 is still DKIM-Milter last time i check). I said same thing before 4 months. Doesnt make sense to install old and obsolete software on new OS like Centos 7.
was so easy… but since no updates by andreychek on this topic I lost time…
it was enough to
service dkim-milter stop
yum remove dkim-milter
and going to “DomainKeys Identified Mail”
the last Virtualmin version installs opendkim now.
No problems at all.
Kind regards
p.s.: remember that if you do this, you have to update the DKIM TXT record for any external domain (those on remote DNS servers) 'cause the new generated key is different.
Sorry andreychek, I didn’t see this on 4.16 changelog…
“Fixed bugs setting up OpenDKIM on CentOS 7 systems.”
Diabolico, thank you. Honestly, I wasn’t even aware of this issue 'cause I didn’t notice any anomaly with the mail server, all the emails were successfully sent.
as already stated "I didn’t see this on Virtualmin 4.16 changelog… “Fixed bugs setting up OpenDKIM on CentOS 7 systems.”
The most of file is commented, except:
KeyFile /etc/dkim.key
KeyList /etc/mail/dkim-milter/keys/keylist
Selector qwerty
Socket local:/var/run/dkim-milter/dkim-milter.sock