Re: Message filters not working properly while filtering based on header information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2010-01-31 at 05:38 +0530, Guruprasad wrote:
> Hi,
> 
> > On Sat, 30 Jan 2010, Guruprasad wrote:
> > There is a "YES" in "BAYES".  Change your rule to search for "Yes,"
> > (note the comma).
> >
> > Perhaps the confusion is " to search for " should read " to add "
> 
> I have two 'X-Spam-Status' fields in the message header.
> 
> 'X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00
>      autolearn=unavailable version=3.3.0'
> 
> and 'X-Spam-Status: Yes'. The second one is the one I want my filter to
> match as it is added by SpamAssasin in our mail server. How will
> 'X-Spam-Status: Yes," match it?
> 
> Regards,
> Guruprasad

I'm no expert, but I use Spamassassin myself and I'd like to make two
comments here:

1) If my understanding is correct, Spamassassin should strip out any
previous SA headers (from other SA servers the message has passed
through en-route to you) when processing, so if you find you have 2
"X-Spam-Status" headers something is broken in you SA setup.

I suggest you hop over to the (very friendly) SA-Users mailing list
(users@xxxxxxxxxxxxxxxxxxxxxxx or subscribe at
users-subscribe@xxxxxxxxxxxxxxxxxxxxxxx) and ask there.

2) Surely if you are trying to do filtering based upon SA headers it
would be better to do that before it gets to SM? Personally I use
procmail. It's possible I have misunderstood your problem so I will say
no more unless you wish me to elaborate.

HTH

Mark




------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux