Spamassassin limit increase / Plesk 9.x

Problem:
Since version 9.0.0 the max letter size to filter is hardcoded in the spam handler and cannot be changed easily [1]


Solution:
Write a wrapper script:
Rename /usr/bin/spamc to e.g. /usr/bin/spamc.org

mv /usr/bin/spamc /usr/bin/spamc.org

Write a new /usr/bin/spamc shell script:

#!/bin/bash
/usr/bin/spamc.org $* -s 512000


[1]  http://kb.parallels.com/en/6086

Leave a Reply

Your email address will not be published. Required fields are marked *