mox/smtpserver
Mechiel Lukkien 6aa2139a54
do not use results from junk filter if we have less than 50 positive classifications to base the decision on
useful for new accounts. we don't want to start rejecting incoming messages for
having a score near 0.5 because of too little training material. we err on the
side of allowing messages in. the user will mark them as junk, training the
filter. once enough non-junk has come in, we'll start the actual filtering.

for issue #64 by x8x, and i've also seen this concern on matrix
2025-01-23 22:55:50 +01:00
..
alias_test.go do not use results from junk filter if we have less than 50 positive classifications to base the decision on 2025-01-23 22:55:50 +01:00
alignment.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00
analyze.go do not use results from junk filter if we have less than 50 positive classifications to base the decision on 2025-01-23 22:55:50 +01:00
dnsbl.go switch to slog.Logger for logging, for easier reuse of packages by external software 2023-12-14 13:45:52 +01:00
dsn.go ensure senderaccount is always set for messages in queue 2024-04-28 11:03:47 +02: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 Add support for negotiating IMAP and SMTP on the HTTPS port 443 using TLS ALPN "imap" and "smtp" 2025-01-23 11:16:20 +01: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 add parser of Authentication-Results, and fix bugs it found in our generated headers 2024-03-13 17:35:53 +01:00
parse_test.go mox! 2023-01-30 14:27:06 +01:00
rejects.go replace packages slog and slices from golang.org/x/exp with stdlib 2024-02-08 14:49:01 +01:00
reputation.go add more details to x-mox-reason message header added during delivery, for understanding why a message is accepted/rejected 2024-10-04 16:01:30 +02:00
reputation_test.go add more details to x-mox-reason message header added during delivery, for understanding why a message is accepted/rejected 2024-10-04 16:01:30 +02:00
server.go Add support for negotiating IMAP and SMTP on the HTTPS port 443 using TLS ALPN "imap" and "smtp" 2025-01-23 11:16:20 +01:00
server_test.go do not use results from junk filter if we have less than 50 positive classifications to base the decision on 2025-01-23 22:55:50 +01:00