mox/smtpserver
Mechiel Lukkien 936a0d5afe
bugfix: when dkim-signing submitted messages, use the domain from the "message from header" instead of "smtp mail from"
dmarc verifiers will only accept a dkim signature if the domain the message From
header matches the domain of the signature (i.e. it is "aligned").

i hadn't run into this before and when testing because thunderbird sets the
"smtp mail from" to the same address as a custom "message from" header. but
other mail clients don't have to do that.

should fix issue #22
2023-03-30 10:38:36 +02:00
..
alignment.go mox! 2023-01-30 14:27:06 +01:00
analyze.go fix handling of reputation for messages that were moved out of the rejects mailbox 2023-03-03 13:19:27 +01:00
authresults.go mox! 2023-01-30 14:27:06 +01:00
authresults_test.go mox! 2023-01-30 14:27:06 +01:00
dnsbl.go mox! 2023-01-30 14:27:06 +01:00
dsn.go consistently use log.Check for logging errors that "should not happen", don't influence application flow 2023-02-16 13:22:00 +01:00
error.go for imap/smtp syntax errors, only echo the remaining buffer if the connection is authenticated 2023-03-10 11:32:34 +01:00
fuzz_test.go only check the autotls hostnames once when serving 2023-03-05 23:56:02 +01:00
limitwriter.go mox! 2023-01-30 14:27:06 +01:00
mx.go mox! 2023-01-30 14:27:06 +01:00
parse.go add pedantic mode (used by localserve) that refuses some behaviour that is invalid according to specifications and that we normally accept for compatibility 2023-03-12 15:16:01 +01:00
parse_test.go mox! 2023-01-30 14:27:06 +01:00
rejects.go mox! 2023-01-30 14:27:06 +01:00
reputation.go improve training of junk filter 2023-02-11 23:00:12 +01:00
reputation_test.go add "mox localserve" subcommand, for running mox locally for email-related testing/developing 2023-03-12 11:40:00 +01:00
server.go bugfix: when dkim-signing submitted messages, use the domain from the "message from header" instead of "smtp mail from" 2023-03-30 10:38:36 +02:00
server_test.go bugfix: when dkim-signing submitted messages, use the domain from the "message from header" instead of "smtp mail from" 2023-03-30 10:38:36 +02:00