pop3filter can be downloaded from http://pop3filter.sourceforge.net/.The easiest way to set up pop3filter is to have it call DSPAM using the--stdout command, at which point DSPAM will check the message and returnit with X-DSPAM headers identifying the message as spam or innocent. Todo this, follow these steps:1. Compile and install pop3filter2. Compile and install DSPAM on the same machineYou may optionally wish to the spamSubject and spamAction=tag preferencesso that a tag will be prepended to the subject header of messagessuspected to be spam.3. Configure pop3filter to run as follows:pop3filter --fork [mail server IP] 110 110 "/usr/local/bin/dspam --user \\$POP3_USERNAME --stdout --deliver=innocent,spam "a full blown example would look like:pop3filter --fork 10.0.0.1 110 110 "/usr/local/bin/dspam --user \\$POP3_USERNAME --stdout --deliver=innocent,spam"The POP3_USERNAME variable will be automatically replaced with the usernameprovided by the client at connect time.ClamAV can be installed using YUM or from SourceClamAV installation using YUMyum install clamav# oryum update clamavClamAV manual installationgroupadd -g 2004 clamavuseradd -u 2004 -g 2004 -d /var/empty -c "ClamAV Server" -s /sbin/nologin -Gclamav clamavDownloading, compiling and starting Clamavcd /tmpwget http://internap.dl.sourceforge.net/sourceforge/clamav/clamav-0.88.tar.gz./configuremakemake installcp /tmp/clamav-0.88/contrib/init/RedHat/clamd /etc/rc.d/init.d/chkconfig --add clamdchkconfig --level 3 clamd on/etc/rc.d/init.d/clamd startvi /usr/local/etc/clamd.confMake sure the following entries are uncommented and presentTCPSocket 3310
Add a Comment