mox/store
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
..
account.go explicitly store in a Message whether it was delivered to the rejects mailbox 2023-08-09 16:52:24 +02:00
account_test.go remove last remnants of treating a mailbox named "Sent" specially, in favor of special-use mailbox flags 2023-08-09 09:31:23 +02:00
export.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
export_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
import.go add webmail 2023-08-07 21:57:03 +02:00
import_test.go add webmail 2023-08-07 21:57:03 +02:00
msgreader.go mox! 2023-01-30 14:27:06 +01:00
msgreader_test.go mox! 2023-01-30 14:27:06 +01:00
search.go implement decoding charsets (other than ascii and utf-8) while reading textual message parts, and improve search 2023-07-28 22:15:23 +02:00
state.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
tmp.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
train.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
validation.go mox! 2023-01-30 14:27:06 +01:00