muttを使用して送信された電子メールにはdkimの署名はありません。

muttを使用して送信された電子メールにはdkimの署名はありません。

OpenBSD 6.6 でメールを送信していますが、muttDKIM 署名はありません。

私は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"

ベストアンサー1

おすすめ記事