3 ms·
This is really easy to set up using Dovecot Sieve [1]. I set it up the other day to bounce reject messages that had too many swear words as a proof-of-concept f
by acidburnNSA 9y ago
This is really easy to set up using Dovecot Sieve [1]. I set it up the other day to bounce reject messages that had too many swear words as a proof-of-concept for an idea a Facebook friend had about making sure people stay nice in email. The syntax of the server-side filters is a bit strange but there's even a Thunderbird plugin that allows you to edit them from the client.
[1] https://wiki2.dovecot.org/Pigeonhole/Sieve https://wiki2.dovecot.org/Pigeonhole/Sieve
- JulienSchmidt 9y agoBouncing is a bad idea as it can be abused for spam: 1. Fake the origin to actual destination of choice 2. Your server bounces the original message wrapped by the SMTP error report. 3. Actual destination receives error report containing spam content from YOUR server A proper solution would be to REJECT the message before it is accepted. However, Dovecot Pigenhole doesn't support that (yet).