mv /usr/bin/spamc /usr/bin/spamc-orig
#!/bin/sh
ARGS=`echo $@ | sed "s/\-s\ 256000/\-s\ 1024000/g"`
/usr/bin/spamc-orig $ARGS
Hello!
In plesk 11.5.30 there is an option to configure max mail size for spamassassin.
You should modify parameter SA_MAX_MAIL_SIZE in /etc/psa/psa.conf :
Code:# SpamAssassin max mail size (in bytes) SA_MAX_MAIL_SIZE 256000