Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Graham Harris on April 25, 2002, 08:07:52 AM
-
Hi,
Now that I have to use webmail to get my yahoo mail I am getting inundated with adverts.
Has anyone installed Junkbuster with SME?(http://www.junkbuster.com/)
There are Redhat RPM's available but I've had a look here
http://www.waldherr.org/junkbuster/squid.shtml
and it looks way beyond newbie skills.
Junkbuster is an excellent product (I have no affiliation etc...) and I would guess most people would use it with SME if it was easily installed.
Thanks,,,
-
actually its quite easy to install
1st install the procmail rpms from darrel mays site and follow his howto to get it working. after this is installed, make sure you choose "geek mode" (this lets you hand configure the procmailrc file in your user dir.
next, download cvs from rpmfind.net, and cvs yourself the directory (or download the build in tar.gz format). I placed my junkfilter directory in /opt
so....(substitute HOME with your /home/e-smith/files/users/USER directory
#mkdir -m 755 HOME/.procmail
#mv -i HOME/.procmailrc $HOME/.procmail/procmailrc
#ln -s HOME/.procmail/procmailrc $HOME/.procmailrc
pico your .procmail/procmailrc file
and set/add the following
PMDIR=$HOME/.procmail
JFDIR=/opt/junkfilter
FORMAIL=/usr/bin/formail
MAILDIR=$HOME/Mail
PMDIR=$HOME
# Take action if junkfilter caught a junkmail.
:0
* JFEXP ?? .
{
# This is for the whitelist. The message is tagged with an
# X-Spammer: header, but is not filtered away.
:0 f
* JFSTATUS ?? 1
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP"
# Non-whitelist messages are tagged and sent to a junk mailbox.
:0 E :
| formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP" \
>> junkmail
}
control x to save, and (almost done...)
#cd /opt
#tar -zxvf junkfilter.tar.gz
#mv junkfilter.blah blah junkfilter
#cd junkfilter
#PMDIR=/opt/junkfilter
#export PMDIR
./jf build all
voila, now your done. send yourself some spam to test. All of the spam will be directed towards a file named junkmail in the user dir. Check it to make sure its not deleting nonspam.
-
woops....sorry, thought you meant junkfilter......
i read it to fast.....oh well, now you have instructions for junkfilter...
-
Hi dubois,
Thanks for your response, based on the name, junkfilter, I assume it is a similar product so I will go and have a look.
Thanks,
Graham