But wouldn't that forward all mail that was considered "everything else" to
"[EMAIL PROTECTED]"? Which is all essentially legitimate mail?

--Jeremy


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Doug Monroe
Sent: Friday, August 30, 2002 8:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [Qmail-scanner-general]problems with the to: field using
qmail-scanner and spamassassin


Jeremy Olmen wrote:
>
> Only problem is that I'm not trying to do any local delivery, this is
simply
> a spam-and-virus filtering front end for the destination (sadly,
exchange).
> My job would be so much easier if I could've just used maildrop or
procmail!
> (although it appears maildrop only works with sendmail).

then how about a post-spam-filtering procmail rule:

###### FILTER SPAM
:0:
#  match on n *'s (or more)
# below matches on 8 or more
# change only the number between parens
#                 /- 7 -\   /1 or more
* ^X-Spam-Level: (*******)\**
* ^X-Spam-Status: Yes
# options: -delete- or -hold-
# to delete
/dev/null
# to hold:
#spam
###### PASS ALONG EVERYTHING ELSE
:0:
|  /usr/bin/formail -I ""|(echo "To: [EMAIL PROTECTED]"; \
   cat - ) | /var/qmail/bin/sendmail -oi -t


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to