summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--opendkim/opendkim.conf6
-rw-r--r--postfix/main.cf4
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