Submitted by fra93ita on Sun, 01/26/2020 - 15:38
Hi! Recently i've worked on some configuration on Postfix; i've noticed that when i configure opendkim (/etc/default/opendkim and /etc/opendkim.conf) to listen on socket file /var/spool/postfix/opendkim/opendkim.sock everythings works but if i remove inet:localhost:8891 from postfix main.cf virtualmin think domainkey identified mail is disabled so it's not gonna add domain key dns record to any virtualserver; if i do look better OpenDKIM, on default configuration it's listening on 8891 on .conf it's listening on socket file; i've tested both local and inet config, and leaved sock file comunication just 'cause i've prefered it
Status:
Active
Comments
Submitted by fra93ita on Sun, 01/26/2020 - 15:39 Comment #1
Submitted by fra93ita on Sun, 01/26/2020 - 15:40 Comment #2
Submitted by JamieCameron on Sun, 01/26/2020 - 21:59 Comment #3
Virtualmin should support both socket files and TCP port, but make sure that all the config files are in sync if you change it - specifically both the Postfix config and whatever openDKIM reads on your system (ie. /etc/default/opendkim and /etc/opendkim.conf)
Submitted by fra93ita on Mon, 02/03/2020 - 17:54 Comment #4
Actually i've setted up both (default and .conf) via tcp port, just i don't care doin' it with socket file, when i'll have time, i'll test again via socket file