From 416a0ca8403db1d0b841b958ad4bc5e93990af5e Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 5 Apr 2024 12:02:22 +0000 Subject: Add email server configs References: https://github.com/LukeSmithxyz/emailwiz https://landchad.net/ https://wiki.archlinux.org/title/Postfix https://wiki.archlinux.org/title/Dovecot https://wiki.archlinux.org/title/OpenDKIM https://wiki.archlinux.org/title/OpenDMARC Maybe useful: https://doc.dovecot.org/settings/core/#dovecot-core-settings https://workaround.org https://kyun.host/docs/guides/email `man postconf.5` More necessary commands notes see arch_install.md --- etc/opendkim/opendkim.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'etc/opendkim') diff --git a/etc/opendkim/opendkim.conf b/etc/opendkim/opendkim.conf index fa3559a3..373c7213 100644 --- a/etc/opendkim/opendkim.conf +++ b/etc/opendkim/opendkim.conf @@ -127,7 +127,7 @@ ## omitted, "simple" is used. Valid values for each are "simple" and ## "relaxed". -# Canonicalization simple/simple +Canonicalization relaxed/simple ## ClockDrift n ## default 300 @@ -160,7 +160,7 @@ ## Specify for which domain(s) signing should be done. No default; must ## be specified for signing. -Domain example.com +Domain flylightning.xyz ## DomainKeysCompat { yes | no } ## default "no" @@ -245,7 +245,7 @@ Domain example.com ## SigningTable and KeyTable are used. No default; must be specified for ## signing if SigningTable/KeyTable are not in use. -KeyFile /var/db/dkim/example.private +KeyFile /etc/opendkim/mail.private ## KeyTable dataset ## default (none) @@ -570,7 +570,7 @@ KeyFile /var/db/dkim/example.private ## The name of the selector to use when signing. No default; must be ## specified for signing. -Selector my-selector-name +Selector mail ## SenderHeaders dataset ## default (none) @@ -658,7 +658,7 @@ Selector my-selector-name ## inet:port to listen on all interfaces ## local:/path/to/socket to listen on a UNIX domain socket -Socket inet:port@localhost +Socket local:/run/opendkim/opendkim.sock ## SoftwareHeader { yes | no } ## default "no" @@ -758,7 +758,7 @@ Syslog Yes ## The system has its own default which will be used (usually 022). ## See the umask(2) man page for more information. -# UMask 022 +UMask 002 ## Userid userid ## default (none) @@ -766,4 +766,4 @@ Syslog Yes ## Change to user "userid" before starting normal operation? May include ## a group ID as well, separated from the userid by a colon. -# UserID userid +UserID opendkim -- cgit v1.2.3-70-g09d2