mox/smtpserver
Mechiel Lukkien 383fe4f53a
explicitly store in a Message whether it was delivered to the rejects mailbox
soon, we can have multiple rejects mailboxes.  and checking against the
configured rejects mailbox name wasn't foolproof to begin with, because it may
have changed between delivery to the rejects mailbox and the message being
moved.

after upgrading, messages currently in rejects mailboxes don't have IsReject
set, so they don't get the special rejecs treatment when being moved. they are
removed from the rejects mailbox after some time though, and newly added
rejects will be treated correctly. so this means some existing messages wrongly
delivered to the rejects mailbox, and moved out, aren't used (for a positive
signal) for future deliveries.  saves a bit of complexity in the
implementation.  i think the tradeoff is worth it.

related to discussion in issue #50
2023-08-09 16:52:24 +02:00
..
alignment.go mox! 2023-01-30 14:27:06 +01:00
analyze.go update to latest bstore (with support for an index on a []string: Message.DKIMDomains), and cyclic data types (to be used for Message.Part soon); also adds a context.Context to database operations. 2023-05-22 14:40:36 +02:00
dnsbl.go mox! 2023-01-30 14:27:06 +01:00
dsn.go in DSNs, add a References header pointing to the message with deliverability issues 2023-07-23 17:56:39 +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 fix race in test setup/teardown 2023-08-07 23:14:31 +02: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 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 add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
reputation.go add condstore & qresync imap extensions 2023-07-24 21:25:50 +02:00
reputation_test.go add webmail 2023-08-07 21:57:03 +02:00
server.go explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
server_test.go add message size consistency check 2023-08-08 22:10:53 +02:00