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.
There are good reasons to not reject detected SPAM because your SPAM filter could be wrong and you reject legitimate mail.
For businesses depending on email communication that's a no go, because you may lose customers that way.
Regards, Simon