diff --git a/config/config.go b/config/config.go index 766aaa3..120bb3e 100644 --- a/config/config.go +++ b/config/config.go @@ -300,7 +300,7 @@ type Account struct { Period time.Duration `sconf-doc:"How long unique values are accepted after generating, e.g. 12h."` // todo: have a reasonable default for this? } `sconf:"optional" sconf-doc:"If configured, messages classified as weakly spam are rejected with instructions to retry delivery, but this time with a signed token added to the subject. During the next delivery attempt, the signed token will bypass the spam filter. Messages with a clear spam signal, such as a known bad reputation, are rejected/delayed without a signed token."` RejectsMailbox string `sconf:"optional" sconf-doc:"Mail that looks like spam will be rejected, but a copy can be stored temporarily in a mailbox, e.g. Rejects. If mail isn't coming in when you expect, you can look there. The mail still isn't accepted, so the remote mail server may retry (hopefully, if legitimate), or give up (hopefully, if indeed a spammer). Messages are automatically removed from this mailbox, so do not set it to a mailbox that has messages you want to keep."` - KeepRejects bool `sconf:"optional" sconf-doc:"Don't automatically delete mail in the RejectsMailbox listed above. This can be useful, e.g. for future spam training."` + KeepRejects bool `sconf:"optional" sconf-doc:"Don't automatically delete mail in the RejectsMailbox listed above. This can be useful, e.g. for future spam training."` AutomaticJunkFlags struct { Enabled bool `sconf-doc:"If enabled, flags will be set automatically if they match a regular expression below. When two of the three mailbox regular expressions are set, the remaining one will match all unmatched messages. Messages are matched in the order specified and the search stops on the first match. Mailboxes are lowercased before matching."` JunkMailboxRegexp string `sconf:"optional" sconf-doc:"Example: ^(junk|spam)."` diff --git a/config/doc.go b/config/doc.go index 5035752..2b95083 100644 --- a/config/doc.go +++ b/config/doc.go @@ -692,9 +692,9 @@ describe-static" and "mox config describe-domains": # mailbox that has messages you want to keep. (optional) RejectsMailbox: - # If you'd like to retain the rejects described above instead of automatically - # cleaning them (e.g. to train spam filters), you can set this to true. (optional) - KeepRejects: + # Don't automatically delete mail in the RejectsMailbox listed above. This can be + # useful, e.g. for future spam training. (optional) + KeepRejects: false # Automatically set $Junk and $NotJunk flags based on mailbox messages are # delivered/moved/copied to. Email clients typically have too limited