On Fri, Jan 23, 2004 at 05:22:55PM +0100, Eric Friedlingstein wrote:
> Hello,
>  
> i'm using qmail with spam assassin. 
>  
> I was wondering if it was possible to forward all mails detected as spam
> to a specific email address instead of sending it to the originial 'to:'
> user ?
>  
> (The idea is to avoid having to download spam from a dialup line for the
> out of office users).
>  
> Thank you,
>  
> Eric

I'm not familiar with qmail, but if it uses procmail to deliver mail,
you can do it in the user's ~/.procmailrc.  Bearing in mind that I
(using Postfix, and Sendmail before that) use procmail to invoke
spamassassin (or spamc) to scan the mail, and then divert any spam to
an alternate location, to wit:

:0fw
| spamc

:0 H
* ^X-Spam-Status: Yes
$HOME/Mail/caughtspam

If SA has already scanned the mail within qmail, then you don't need
the first stanza.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
[EMAIL PROTECTED]  http://www.bobcatos.com
It's easier to debate the Bible than obey it.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to