On 4/4/2017 6:42 PM, Jim McLachlan wrote:
https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin
More recently, I found this one:
https://www.exratione.com/2016/05/a-mailserver-on-ubuntu-16-04-postfix-dovecot-mysql/
Which I've used to check what I've got. It /seems/ to be set up OK.
Neither reference spamfilter.sh that I can see.
What I would recommend is chmod -x spamfilter.sh and rename it to
something else and change your postfix to only reference the new name.
See if that doesn't slow things down...