maddy

Fork https://github.com/foxcpp/maddy

git clone git://git.lin.moe/go/maddy.git

 1# Check actions
 2
 3When a certain check module thinks the message is "bad", it takes some actions
 4depending on its configuration. Most checks follow the same configuration
 5structure and allow following actions to be taken on check failure:
 6
 7- Do nothing (`action ignore`)
 8
 9Useful for testing deployment of new checks. Check failures are still logged
10but they have no effect on message delivery.
11
12- Reject the message (`action reject`)
13
14Reject the message at connection time. No bounce is generated locally.
15
16- Quarantine the message (`action quarantine`)
17
18Mark message as 'quarantined'. If message is then delivered to the local
19storage, the storage backend can place the message in the 'Junk' mailbox.
20Another thing to keep in mind that 'target.remote' module
21will refuse to send quarantined messages.