On Mon, Jul 26, 2004 at 02:16:24PM -0600, Scott C. Villinski wrote:
> I've got SA running with Postfix and it's working just fine.  However, I 
> wanted to modify spamd so that any detected SPAM would be routed to a 
> different user.  How can I go about modifying the envelope information? 
>  Right now I'm able to modify the headers, but Postfix still routes the 
> message onto the original recipient.
> 
> Thanks!
> 
> Scott

SpamAssassin doesn't do that.  Assuming you are using procmail for a
local delivery agent, just put a .procmailrc in the HOME directory of
the original recipient with a recipe like this:

:0:
* ^X-Spam-Status: Yes
/var/spool/mail/otheruser

The .procmailrc should be owned by the (first) user and have perms
644.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
[EMAIL PROTECTED]  http://www.bobcatos.com
Worry is the darkroom in which negatives are developed.

Reply via email to