OpenBSD 6.6에서 메일을 보내고 있지만 mutt
DKIM 서명이 없습니다.
저는 OpenBSD를 처음 접했기 mutt
때문에 rspamd
도움을 주시면 대단히 감사하겠습니다.
$ cat ~/.muttrc
set editor = nano
set pager = lynx
set visual = lynx
auto_view text/html
alternative_order text/plain text/enriched text/html
set mbox_type = Maildir
set folder = "~/Maildir"
set mbox = "~/Maildir"
set spoolfile ="~/Maildir"
set record = "+sent"
set trash = "+trash"
set postponed = "+drafts"
set realname = "User Name"
set from = "[email protected]"
set mailcap_path = ~/.mailcap
--
$ cat /etc/rspamd/local.d/dkim_signing.conf
allow_username_mismatch = true;
domain {
example.com {
path = "/etc/mail/dkim/example.com.key";
selector = "20200226";
}
}
--
$ cat /etc/mail/smtpd.conf
pki example.com cert "/etc/ssl/example.com.fullchain.pem"
pki example.com key "/etc/ssl/private/example.com.key"
filter check_dyndns phase connect match rdns regex { '.*\.dyn\..*', '.*\.dsl\..*' } junk
filter check_rdns phase connect match !rdns junk
filter check_fcrdns phase connect match !fcrdns junk
filter senderscore proc-exec "filter-senderscore -junkBelow 70 -slowFactor 5000"
filter rspamd proc-exec "filter-rspamd"
table aliases file:/etc/mail/aliases
listen on all tls pki example.com \
filter { check_dyndns, check_rdns, check_fcrdns, senderscore, rspamd }
listen on all port submission tls-require pki example.com auth filter rspamd
action "local_mail" maildir junk alias <aliases>
action "outbound" relay helo example.com
match from any for domain "example.com" action "local_mail"
match for local action "local_mail"
match from any auth for any action "outbound"
match for any action "outbound"