Skip to main content
  1. Posts/

Basic procmail configuration with spamassassin filtering

·62 words·1 min·

I’ve used this extremely basic procmail configuration a million times, and it’s a great start for any server configuration. It passes e-mails through spamassassin (if they’re smaller than 256KB) and then filters any e-mail marked as spam to /dev/null:

| /usr/bin/spamc</p>
* ^X-Spam-Status: Yes

Of course, you can make this much more complicated with some additional customization.