DKIM: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===Inleiding=== Om minder snel als spammer te worden aangemerkt kan de mail "ge-signed" worden. Hiervoor moet OpenDKIM geinstalleerd worden en een kleine aanpassing aan de pos...") |
|||
Line 7: | Line 7: | ||
</pre> | </pre> | ||
===configuratie=== | ===configuratie=== | ||
De configuratie van OpenDKIM staat in /etc/opendkim.conf. | De configuratie van OpenDKIM staat in /etc/opendkim.conf en dient er als volgt ui te zien: | ||
<pre> | |||
# This is a basic configuration that can easily be adapted to suit a standard | |||
# installation. For more advanced options, see opendkim.conf(5) and/or | |||
# /usr/share/doc/opendkim/examples/opendkim.conf.sample. | |||
# | |||
#Domain example.com | |||
#KeyFile /etc/opendkim/201205.private | |||
#Selector 201205 | |||
# | |||
# Commonly-used options | |||
Canonicalization relaxed/simple | |||
Mode sv | |||
SubDomains yes | |||
# Log to syslog | |||
Syslog yes | |||
LogWhy yes | |||
# Required to use local socket with MTAs that access the socket as a non- | |||
# privileged user (e.g. Postfix) | |||
UMask 022 | |||
UserID opendkim:opendkim | |||
# | |||
KeyTable /etc/opendkim/KeyTable | |||
SigningTable /etc/opendkim/SigningTable | |||
ExternalIgnoreList /etc/opendkim/TrustedHosts | |||
InternalHosts /etc/opendkim/TrustedHosts | |||
# | |||
Socket inet:8891@localhost | |||
#EOF | |||
</pre> |
Revision as of 22:12, 31 May 2018
Inleiding
Om minder snel als spammer te worden aangemerkt kan de mail "ge-signed" worden. Hiervoor moet OpenDKIM geinstalleerd worden en een kleine aanpassing aan de postfix configuratie gemaakt worden.
Installatie
Gebruik zoals altijd apt-get of aptitude om een package te instaleren.
apt-get install opendkim opendkim-tools
configuratie
De configuratie van OpenDKIM staat in /etc/opendkim.conf en dient er als volgt ui te zien:
# This is a basic configuration that can easily be adapted to suit a standard # installation. For more advanced options, see opendkim.conf(5) and/or # /usr/share/doc/opendkim/examples/opendkim.conf.sample. # #Domain example.com #KeyFile /etc/opendkim/201205.private #Selector 201205 # # Commonly-used options Canonicalization relaxed/simple Mode sv SubDomains yes # Log to syslog Syslog yes LogWhy yes # Required to use local socket with MTAs that access the socket as a non- # privileged user (e.g. Postfix) UMask 022 UserID opendkim:opendkim # KeyTable /etc/opendkim/KeyTable SigningTable /etc/opendkim/SigningTable ExternalIgnoreList /etc/opendkim/TrustedHosts InternalHosts /etc/opendkim/TrustedHosts # Socket inet:8891@localhost #EOF