diff options
author | Malfurious <m@lfurio.us> | 2024-07-05 06:54:58 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-07-09 15:50:39 -0400 |
commit | 053ecfdb5110b2a0eda01dfe78c62b446fc4866b (patch) | |
tree | c71263c34a5549da838c3ed24c52a84dfbd3307f | |
parent | 08b83d5142f093a60ea2dfaeb9014a5831a1480b (diff) | |
download | mailnode-053ecfdb5110b2a0eda01dfe78c62b446fc4866b.tar.gz mailnode-053ecfdb5110b2a0eda01dfe78c62b446fc4866b.zip |
opendkim: Configure postfix milter socket
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r-- | opendkim/opendkim.conf | 6 | ||||
-rw-r--r-- | postfix/main.cf | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/opendkim/opendkim.conf b/opendkim/opendkim.conf index 39072d2..5a23836 100644 --- a/opendkim/opendkim.conf +++ b/opendkim/opendkim.conf @@ -34,11 +34,7 @@ UMask 007 # it must be ensured that the socket is accessible. In Debian, Postfix runs in # a chroot in /var/spool/postfix, therefore a Unix socket would have to be # configured as shown on the last line below. -Socket local:/run/opendkim/opendkim.sock -#Socket inet:8891@localhost -#Socket inet:8891 -#Socket local:/var/spool/postfix/opendkim/opendkim.sock - +Socket local:/opendkim/opendkim.sock PidFile /run/opendkim/opendkim.pid # Hosts for which to sign rather than verify, default is 127.0.0.1. See the diff --git a/postfix/main.cf b/postfix/main.cf index 7f701a8..6eb5ad2 100644 --- a/postfix/main.cf +++ b/postfix/main.cf @@ -53,6 +53,10 @@ virtual_uid_maps = static:2000 virtual_gid_maps = static:2000 virtual_mailbox_limit = 0 +# opendkim parameters +smtpd_milters = local:/opendkim/opendkim.sock +non_smtpd_milters = local:/opendkim/opendkim.sock + # Mlmmj mailing list parameters mlmmj_destination_recipient_limit = 1 transport_maps = hash:/etc/postfix/mltransport |