mox/mox-
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
..
admin.go add webmail 2023-08-07 21:57:03 +02:00
cid.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
config.go add option to ruleset to accept incoming spammy messages to a configured mailbox 2023-08-09 22:25:10 +02:00
dir.go mox! 2023-01-30 14:27:06 +01:00
doc.go mox! 2023-01-30 14:27:06 +01:00
ip.go mox! 2023-01-30 14:27:06 +01:00
lastknown.go mox! 2023-01-30 14:27:06 +01:00
lifecycle.go open tls keys/certificate as root, pass fd's to the unprivileged child process 2023-05-31 14:09:53 +02:00
lifecycle_test.go add funtionality to import zip/tgz with maildirs/mboxes to account page 2023-02-16 09:57:27 +01:00
limitauth.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
lookup.go 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
msgid.go mox! 2023-01-30 14:27:06 +01:00
rand.go support cram-md5 authentication for imap and smtp 2023-02-05 16:29:03 +01:00
recvid.go mox! 2023-01-30 14:27:06 +01:00
sleep.go mox! 2023-01-30 14:27:06 +01:00
tlsinfo.go mox! 2023-01-30 14:27:06 +01:00