mox/testdata/smtp
Mechiel Lukkien 9c31789c56
add option to ruleset to accept incoming spammy messages to a configured mailbox
this is based on @bobobo1618's PR #50. bobobo1618 had the right idea, i tried
including an "is forwarded email" configuration option but that indeed became
too tightly coupled. the "is forwarded" option is still planned, but it is
separate from the "accept rejects to mailbox" config option, because one could
still want to push back on forwarded spam messages.

we do an actual accept, delivering to a configured mailbox, instead of storing
to the rejects mailbox where messages can automatically be removed from.  one
of the goals of mox is not pretend to accept email while actually junking it.
users can still configure delivery to a junk folder (as was already possible),
but aren't deleted automatically. there is still an X-Mox-Reason header in the
message, and a log line about accepting the reject, but otherwise it is
registered and treated as an (smtp) accept.

the ruleset mailbox is still required to keep that explicit. users can specify
Inbox again.

hope this is good enough for PR #50, otherwise we'll change it.
2023-08-09 22:25:10 +02:00
..
catchall implement a catchall address for a domain 2023-03-29 21:11:43 +02:00
dmarcreport deprecate having only localparts in an Account's Destinations, it should always be a full email address 2023-03-09 22:13:56 +01:00
junk add option to ruleset to accept incoming spammy messages to a configured mailbox 2023-08-09 22:25:10 +02:00
postmaster in smtpserver, accept delivery to postmaster@<hostname>, and also postmaster@ addresses for domains that don't have a postmaster address configured. 2023-04-24 12:04:46 +02:00
sendlimit implement limits on outgoing messages for an account 2023-03-29 09:36:06 +02:00
tlsrpt deprecate having only localparts in an Account's Destinations, it should always be a full email address 2023-03-09 22:13:56 +01:00
domains.conf fix delivery from/to smtp addresses with double quotes 2023-06-03 15:29:18 +02:00
mox.conf do not require a user "mox" to be present for tests 2023-02-27 14:54:16 +01:00