On Tue, 13 Mar 2007, Damon McMahon wrote:

> Greetings,
>
> I'd like to integrate SpamAssassin with the sendmail vacation(1)
> autoresponder program. According to sendmail's vacation(1) man page:
>
> 'Messages will not be replied to if any of the following conditions are true:
> ...
> - A ``Precedence: bulk'', ``Precedence: list'', or ``Precedence:
> junk'' line is included in the mail headers.'
>
> I note that SpamAssassin has a add_header configuration option, but
> according to Mail::SpamAssassin::Conf(3), '...All headers begin with
> "X-Spam-" (so a "header_name" Foo will generate a header called
> X-Spam-Foo).'
>
> What is the best way to configure SpamAssassin and vacation(1) to
> prevent auto-replies to messages that SpamAssassin has identified as
> spam?

I hacked vacation to recognize SpamAssassin 'yes' tags and treat
such message as 'Precedence: junk'.


-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to