Web Hosting Talk







View Full Version : Spam Filter for Raq's 3+


rae
09-08-2001, 06:54 PM
Does anyone know of any spam filters, virus scanners, that kinda stuff for Raq's? The virus scanner would need to scan incoming emails, the spam filter to stop spam from coming in or leaving if possible. But i'll take any advice u ppl give me. :D

madsere
09-08-2001, 08:44 PM
Well I have a /etc/procmailrc looking like this on my Raq4: That cans subject lines like the ones for Sircom etc.

#--- /etc/procmailrc ---
SHELL=/bin/bash
:0 B
* ^Content-Disposition: attachment;
* filename=".*\.vbs"
{
:0 fbw
|/bin/sed -e 's/\(name=".*\.vbs\)"/\1.txt"/'

:0 c
/var/log/love.txt
}

:0B
* ^.*I send you this file in order to have your advice.*$
/dev/null

:0B
* ^.*Te mando este archivo para que me des tu punto de vista.*$
/dev/null

:0B
* ^.*Espero me puedas ayudar con el archivo que te mando.*$
/dev/null

:0B
* ^.*Espero te guste este archivo que te mando.*$
/dev/null


:0B
* ^.*Este es el archivo con la informaci=n que me pediste.*$
/dev/null

:0B
* ^.*I hope you can help me with this file that I send.*$
/dev/null

:0B
* ^.*I hope you like the file that I sendo you.*$
/dev/null

:0B
* ^.*This is the file with the information that you ask for.*$
/dev/null
#--- EOF ---

I also replaced the standard Sendmail with Exim which has some neat features using MAPS to discard/block mails from known spammers, see http://www.mail-abuse.org/ for details.

Disclaimer: Replacing sendmail will probably void your raq warranty and give you grief if you're not familiar with System Admin chores on the Raq.

Rene