You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by CG <cg...@yahoo.com> on 2005/03/28 16:34:59 UTC

pipe only if not spam...

Okay... When it comes down to it, this question is a shell question... BUT! I'm
asking it here only because there may be a better way to do this than what I'm
thinking...

Spamassassin 3.0.1
Linux 2.4.20 (Slackware)
Using spamc/spamd -d -L -u alias
Using Qmail for my MTA

When spammers fish for email addresses it just creates a whole lot of uglyness
for the MTA. Bounces bouncing and whatnot. I'd almost rather take the email and
have it just evaporate into thin air if it is spam coming to an email address
that doesn't exist on the server. There may be another philosophical discussion
on that particular course of action, but I want to do it anyway... :)

I'd like to write a .qmail-default that looks like this:

| ( spamc -E && cat - ) | fastforward -d /etc/aliases.cdb

Of course, this doesn't work. I googled and wiki'ed until I ran out of
keywords.

Please set me straight!




		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/