From dbadbdf21928de4c7158ad4dcb8a08d1d163f6d9 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Tue, 17 Sep 2024 22:38:04 +0300 Subject: [PATCH] update --- .../Email/server/opendkim/default-opendkim | 12 ++++++++++ .../Email/server/opendkim/opendkim.conf | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 web/Modules/Email/server/opendkim/default-opendkim create mode 100644 web/Modules/Email/server/opendkim/opendkim.conf diff --git a/web/Modules/Email/server/opendkim/default-opendkim b/web/Modules/Email/server/opendkim/default-opendkim new file mode 100644 index 0000000..c7c9b85 --- /dev/null +++ b/web/Modules/Email/server/opendkim/default-opendkim @@ -0,0 +1,12 @@ +# Command-line options specified here will override the contents of +# /etc/opendkim.conf. See opendkim(8) for a complete list of options. +#DAEMON_OPTS="" +# +# Uncomment to specify an alternate socket +# Note that setting this will override any Socket value in opendkim.conf +#SOCKET="local:/var/run/opendkim/opendkim.sock" # default +#SOCKET="inet:54321" # listen on all interfaces on port 54321 +#SOCKET="inet:12345@localhost" # listen on loopback on port 12345 +#SOCKET="inet:12345@192.0.2.1" # listen on 192.0.2.1 on port 12345 + +SOCKET="inet:8891@localhost" diff --git a/web/Modules/Email/server/opendkim/opendkim.conf b/web/Modules/Email/server/opendkim/opendkim.conf new file mode 100644 index 0000000..0e6085f --- /dev/null +++ b/web/Modules/Email/server/opendkim/opendkim.conf @@ -0,0 +1,23 @@ +AutoRestart Yes +AutoRestartRate 10/1h +UMask 002 +Syslog yes +SyslogSuccess Yes +LogWhy Yes +RemoveOldSignatures Yes + +Canonicalization relaxed/simple + +ExternalIgnoreList refile:/etc/opendkim/TrustedHosts +InternalHosts refile:/etc/opendkim/TrustedHosts +KeyTable /etc/opendkim/KeyTable +SigningTable refile:/etc/opendkim/SigningTable + +Mode sv +PidFile /var/run/opendkim/opendkim.pid +SignatureAlgorithm rsa-sha256 + +UserID opendkim:opendkim + +Socket inet:8891@localhost +OmitHeaders Message-ID, Date, Return-Path, Bounces-To, Received, Comments, Keywords, Bcc, Resent-Bcc, List-ID, List-Unsubscribe, DKIM-Signature