-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

de'i Thursday 14 November 2002 12:59 la Sunil William Savkar cusku di'e
> Hi.
>
> I have been using razor2 as part of spamassassin for a while now, but
> have not turned on reporting.  I have a small number of users who are on
> my system, and currently they all have spam traps to filter out spam.
>
> I'd like to start helping out with reporting, but do not want all my
> users reporting spam on their own, so I thought about a troll.
>
> What is the best way to go about this?  If users forward to a troll
> account things they think are spam on their own, and then if I control
> the troll to designate something as spam or not, do I need to do
> something to remove the header from the user who has forwarded me spam?
>
> Another approach would be that anything that goes into anyone's spam
> folder is auto forwarded to my troll account, but this seems a bit
> overbearing...
>
> If someone can give their implementation, that would be great.  I use
> postfix, have all virtual users for the most part, and in general have
> had wonderful success with spamasssin + razor2.

I am not sure what you mean by "they all have spam traps". Spamtraps are 
email addresses set up to receive spam. They don't belong to real people, 
though they may belong to people who have left.

I suggest designating a directory for people to put spam in, such as 
/home/public/spam/. Export it as a shared directory, and run the following 
shell script every few minutes:

#!/bin/sh
cd /home/public/spam
for x in *
do
  if [ -f "$x" ] && [ "$x" -ot . ] && razor-report -f "$x"
  then
    /usr/sbin/sendmail (ipcheckaddress) <"$x"
    rm "$x"
  fi
done

The ipcheckaddress is a variant of my spamtrap that checks all IP addresses 
in the message for open relayness and submits to DSBL. If you'd like it, 
email me privately, or you can install the spamtrap program yourself.

This script checks the file time to make sure that it doesn't submit a 
message while your MUA is still writing it. A side effect of this is that if 
you put a single message in the directory, it won't submit until you put 
another one.

This will not work with some Razor 2 version before 2.20 (the problem I asked 
about earlier). The -f option didn't work right.

cmeclax
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE91QLZuC68zGjlkbYRAl8uAJ4/st6z6JD+lh7h6l+ASUjoevEX2wCfSp8P
0gGQozARNr2JF78lfhmwPVU=
=3zBI
-----END PGP SIGNATURE-----


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to