mox/smtpserver
Mechiel Lukkien a0f3856e40
when moving a message out of a Rejects mailbox, mark the message as "not seen" so stands out in the destination mailbox (e.g. inbox)
we set the flag both for move in imap and in webmail.

this also ensures the "MailboxDestinedID", used for per-mailbox reputation
analysis, is set in more reject-situations. before this change, some rejects
(such as based on DMARC reject) wouldn't result in reputation being used after
having been moved the message out of the rejects mailbox.

in the future, we need more tests for scenario's like this...

for issue #63 reported by x8x
may also help with issue #64
2023-09-22 15:53:05 +02:00
..
alignment.go mox! 2023-01-30 14:27:06 +01:00
analyze.go when moving a message out of a Rejects mailbox, mark the message as "not seen" so stands out in the destination mailbox (e.g. inbox) 2023-09-22 15:53:05 +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 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 add webmail 2023-08-07 21:57:03 +02:00
server.go initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label 2023-09-15 16:47:17 +02:00
server_test.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