plesk 9 spamassassin server wide blacklist via cron?

Posted by Kqk on Server Fault See other posts from Server Fault or by Kqk
Published on 2009-10-21T14:00:17Z Indexed on 2011/11/12 1:57 UTC
Read the original article Hit count: 553

Filed under:
|
|
|
|

we're running ubuntu 8.04 LTS and plesk 9.2

our simple task is to set up a periodic black list for spamassassin, e.g. using this script ..

#!/bin/sh
#! Script by AJR to update local spamassassin rules
cd /tmp
wget -c http://www.stearns.org/sa-blacklist/sa-blacklist.current
mv sa-blacklist.current local.cf -f
mv local.cf /etc/mail/spamassassin -f
rm local.cf -f
/etc/init.d/psa-spamassassin restart

now, this script runs fine, but plesk doesn't seem to recognize the blacklist in its GUI. which is annoying, especially because plesk itself writes to /etc/mail/spamassassin/local.cf. i wasn't able to find out the secret place, where plesk distinguishes between entries in local.cf added via GUI and command line.

any help is appreciated! thanks.

© Server Fault or respective owner

Related posts about ubuntu

Related posts about spam