mox/message
Mechiel Lukkien df18ca3c02
refactor sending dmarc reports for upcoming implementation for sending tls reports
this also has changes to make the dmarc report sending implementation more
similar to the tls reports implementation.

- factor out code to compose a dmarc report message to the message package
  (from dmarcdb for reports), it will be shared soon.
- spread emails with dmarc reports over 45 minutes (it runs hourly), with at
  most 5 mins in between reports. to prevent bursts of messages. properly abort
  all sending attempts at mox shutdown.
- add use of missing error details in an error path.
- fix dmarc report message subject header by adding missing <>'s around report-id.
- fix dmarc report attachment filename syntax by leaving "unique-id" out.
2023-11-09 17:26:19 +01:00
..
authresults.go implement dnssec-awareness throughout code, and dane for incoming/outgoing mail delivery 2023-10-10 12:09:35 +02:00
authresults_test.go add webmail 2023-08-07 21:57:03 +02:00
compose.go refactor sending dmarc reports for upcoming implementation for sending tls reports 2023-11-09 17:26:19 +01:00
doc.go mox! 2023-01-30 14:27:06 +01:00
from.go add strict mode when parsing messages, typically enabled for incoming special-use messages like tls/dmarc reports, subjectpass emails 2023-08-15 08:25:56 +02:00
hdrcmtdomain.go add webmail 2023-08-07 21:57:03 +02:00
headerwriter.go mox! 2023-01-30 14:27:06 +01:00
messageid.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
messageid_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
parseheaderfields.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
parseheaderfields_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
part.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
part_test.go add strict mode when parsing messages, typically enabled for incoming special-use messages like tls/dmarc reports, subjectpass emails 2023-08-15 08:25:56 +02:00
qp.go add webmail 2023-08-07 21:57:03 +02:00
readheaders.go mox! 2023-01-30 14:27:06 +01:00
referencedids.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
referencedids_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
threadsubject.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
threadsubject_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
time.go tweak time format for added date headers 2023-06-04 21:04:10 +02:00
tlsrecv.go add webmail 2023-08-07 21:57:03 +02:00
todo.go mox! 2023-01-30 14:27:06 +01:00
writer.go improve message parsing: allow bare carriage return (unless in pedantic mode), allow empty header, and no longer treat a message with only headers as a message with only a body 2023-08-11 14:07:49 +02:00
writer_test.go improve message parsing: allow bare carriage return (unless in pedantic mode), allow empty header, and no longer treat a message with only headers as a message with only a body 2023-08-11 14:07:49 +02:00