Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

IMHO spamassassin reads all *.cf files as config files in /etc/mail/spamassassin. So you could just download the blacklist as blacklist.cf in the /etc/mail/spamassassin folder and restart spamassassin.

I am not familar with plesk, so i dont if it helps in your situation.

also, I would suggest that you add some DNSBL checks (spamhaus, nix-spam) in front of your smtpd

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.