mox/smtpserver
Mechiel Lukkien 7681f8bdc8
for localserve, validate the incoming message
it must be completely parsable.
normally, if we receive a message that we cannot fully parse, we accept it and
treat it as opaque application/octet-stream.

also make it more clear that localserve accepts email intended for any email
address.
2023-03-12 21:42:28 +01: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 for localserve, validate the incoming message 2023-03-12 21:42:28 +01:00
server_test.go if the first smtp or imap command is invalid, shut down the connection instead of trying to read more 2023-03-10 10:23:43 +01:00