On Fri, 7 Dec 2001 10:43:32 +0530
Raghavendra Bhat <[EMAIL PROTECTED]> wrote:
> Get yourselves the razor, dman. It is very good at catching and
> reporting spam.
>
> apt-get install razor
I did this yesterday, but had to abandon it. I got quite a few errors and
messages sent back to the originator of the emails. This is part of my
/var/log/exim/mainlog:
2001-12-06 19:20:57 16C44j-0000MI-00 <= [EMAIL PROTECTED] H=localhost
[127.0.0.1] P=esmtp S=421565
[EMAIL PROTECTED]
2001-12-06 19:20:59 16C44j-0000MI-00 ** |/usr/bin/procmail -f-
<[EMAIL PROTECTED]> D=userforward T=address_pipe: return message generated
2001-12-06 19:21:00 16C44q-0000MP-00 <= <> R=16C44j-0000MI-00 U=mail
P=local S=107584
2001-12-06 19:21:00 16C44j-0000MI-00 Error message sent to
[EMAIL PROTECTED]
2001-12-06 19:21:00 16C44j-0000MI-00 Completed
2001-12-06 19:21:00 16C44q-0000MP-00 == [EMAIL PROTECTED] routing defer
(-45): domain is in queue_remote_domains
2001-12-06 19:23:01 Start queue run: pid=1395
2001-12-06 19:23:13 16C44q-0000MP-00 => [EMAIL PROTECTED] R=smarthost
T=remote_smtp H=smtp.ntlworld.com [62.253.162.40]
2001-12-06 19:23:13 16C44q-0000MP-00 Completed
2001-12-06 19:23:13 End queue run: pid=1395
2001-12-06 19:31:10 16C4Eg-0000Mf-00 <=
[EMAIL PROTECTED] H=localhost [127.0.0.1]
P=esmtp S=2545 [EMAIL PROTECTED]
2001-12-06 19:31:10 16C4Eg-0000Mf-00 ** |/usr/bin/procmail -f-
<[EMAIL PROTECTED]> D=userforward T=address_pipe: return message generated
2001-12-06 19:31:11 16C4Eh-0000Mm-00 <= <> R=16C4Eg-0000Mf-00 U=mail
P=local S=3625
2001-12-06 19:31:11 16C4Eg-0000Mf-00 Error message sent to
[EMAIL PROTECTED]
2001-12-06 19:31:11 16C4Eg-0000Mf-00 Completed
2001-12-06 19:31:11 16C4Eh-0000Mm-00 ==
[EMAIL PROTECTED] routing defer (-45):
domain is in queue_remote_domains
2001-12-06 19:38:02 Start queue run: pid=1418
2001-12-06 19:38:04 16C4Eh-0000Mm-00 =>
[EMAIL PROTECTED] R=smarthost T=remote_smtp
H=smtp.ntlworld.com [62.253.162.40]
2001-12-06 19:38:04 16C4Eh-0000Mm-00 Completed
2001-12-06 19:38:04 End queue run: pid=1418
2001-12-06 19:53:01 Start queue run: pid=1425
2001-12-06 19:53:01 End queue run: pid=1425
2001-12-06 20:01:42 16C4iE-0000Nu-00 <=
[EMAIL PROTECTED] H=localhost [127.0.0.1]
P=esmtp S=4386 [EMAIL PROTECTED]
2001-12-06 20:01:42 16C4iE-0000Nu-00 ** |/usr/bin/procmail -f-
<[EMAIL PROTECTED]> D=userforward T=address_pipe: return message generated
2001-12-06 20:01:42 16C4iE-0000O1-00 <= <> R=16C4iE-0000Nu-00 U=mail
P=local S=5466
2001-12-06 20:01:42 16C4iE-0000Nu-00 Error message sent to
[EMAIL PROTECTED]
2001-12-06 20:01:42 16C4iE-0000Nu-00 Completed
I have a .forward file like this:
# Exim filter <<== do not edit or remove this line!
if error_message then finish endif
logfile $home/eximfilter.log
if $h_To: contains "[EMAIL PROTECTED]"
then deliver scott
elif $h_To: contains "sah1"
then deliver scott
else pipe "/usr/bin/procmail -f-"
endif
And a .procmailrc like this:
# Augment $PATH as necessary.
PATH=/usr/local/bin:$PATH
ORGMAIL=/var/spool/mail/$LOGNAME
DEFAULT=$ORGMAIL
:0 Wc
razor-check
:0 Waf
formail -i "Subject: Razor Warning: SPAM/UBE/UCE"
I have posted about this to the razor-user list, but maybe a fellow debian
user might be more helpful.
Thanks for any help you can give.
--
Phillip Deackes
Using Debian Linux
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL AND NEWS
/ \