mox/smtpserver
Mechiel Lukkien 61bae75228
outgoing dmarc/tls reporting improvements
- dmarc reports: add a cid to the log line about one run of sending reports, and log line for each report
- in smtpclient, also handle tls errors from the first read after a handshake. we appear to sometimes get tls alerts about bad certificates on the first read.
- for messages to dmarc/tls reporting addresses that we think should/can not be processed as reports, add an X-Mox- header explaining the reason.
- tls reports: send report messages with From address of postmaster at an actually configured domain for the mail host. and only send reports when dkim signing is configured for that domain. the domain is also the submitter domain. the rfc seems to require dkim-signing with an exact match with the message from and submitter.
- for incoming tls reports, in the smtp server, we do allow a dkim-signature domain that is higher-level (up to publicsuffix) of the message from domain. so we are stricter in what we send than what we receive.
2023-11-10 19:34:00 +01:00
..
alignment.go mox! 2023-01-30 14:27:06 +01:00
analyze.go outgoing dmarc/tls reporting improvements 2023-11-10 19:34:00 +01:00
dnsbl.go mox! 2023-01-30 14:27:06 +01:00
dsn.go refactor common pattern of close & remove temporary file into calling the new store.CloseRemoveTempFile 2023-11-02 09:12:46 +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 implement "requiretls", rfc 8689 2023-10-24 10:10:46 +02:00
limitwriter.go mox! 2023-01-30 14:27:06 +01:00
mx.go implement dnssec-awareness throughout code, and dane for incoming/outgoing mail delivery 2023-10-10 12:09:35 +02:00
parse.go for submission over IPv6, allow missing "IPv6" tag in ip address (unless in pedantic mode) 2023-07-22 14:20:50 +02:00
parse_test.go mox! 2023-01-30 14:27:06 +01:00
rejects.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
reputation.go add flag to ruleset that indicates a message is forwarded, slightly modifying how junk analysis is done 2023-08-09 22:31:37 +02:00
reputation_test.go make mox compile on windows, without "mox serve" but with working "mox localserve" 2023-10-14 10:54:07 +02:00
server.go outgoing dmarc/tls reporting improvements 2023-11-10 19:34:00 +01:00
server_test.go simplify .gitignore, just on line for ignoring all the testdata/*/data directories 2023-11-09 19:47:33 +01:00