[CentOS] Spamassassin + Postfix : delete spam mail on the server ?

Tue Dec 18 18:46:24 UTC 2018
Alexander Dalloz <ad+lists at uni-x.org>

Am 18.12.2018 um 08:08 schrieb Nicolas Kovacs:
> The problem with this setup is that spam mail is still delivered, and I
> need Thunderbird's filters to weed out incoming mail. And when I'm using
> my webmail (running SquirrelMail), my inbox is a tsunami of unread
> [SPAM] messages.
> 
> So I'd like to go a step further and delete all messages flagged [SPAM]
> directly on the server. It doesn't look like Spamassassin provides this
> functionality.

What's the point of delivering identified SPAM and then deleting it? 
Reject SPAM at SMTP level on your MTA. Easy to do with amavisd-new in a 
smtp proxy setup with Postfix.

Alexander