Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mail-SpamAssassin CPAN distribution.

Report information
The Basics
Id: 5313
Status: resolved
Priority: 0/
Queue: Mail-SpamAssassin

People
Owner: Nobody in particular
Requestors: muir [...] idiom.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.63
Fixed in: (no value)



Subject: Cannot use ? : in meta tests
I'm writing a program to translate some procmail scripts into Mail::SpamAssassin rules. Procmail has a feature that lets it score matches and then check the total. SpamAsssassin can do arithmatic in its meta rules. I thought I had a solution and coded it up. Turns out that SpamAssassin cannot handle : ? constructs in the meta rules. In version 2.63, lib/Mail/SpamAssassin/PerMsgStatus.pm handles this parsing at line 2130: $rule =~ m/([\w\.\[][\w\.\*\?\+\[\^\]]+|[\(\)]|\|\||\&\&|>=?|<=?|==|!=|!|[ \+\-\*\/]|\d+)/g; Please change add ":" to the list of allowed operators. Thanks, -Dave
Date: Thu, 12 Feb 2004 23:32:08 -0500
From: Theo Van Dinter <felicity [...] kluge.net>
To: Guest via RT <bug-Mail-SpamAssassin [...] rt.cpan.org>
Subject: Re: [cpan #5313] Cannot use ? : in meta tests
RT-Send-Cc:
On Thu, Feb 12, 2004 at 09:51:23PM -0500, Guest via RT wrote: Show quoted text
> I thought I had a solution and coded it up. Turns out that > SpamAssassin cannot handle : ? constructs in the meta rules.
What exactly is a ': ?' construct? Show quoted text
> Please change add ":" to the list of allowed operators.
Well, to do anything we'd need a ticket opened in our bugzilla at http://bugzilla.spamassassin.org/ Please open a ticket and give a verbose description of what you're trying to do, preferably with some examples. :) Thanks. -- Randomly Generated Tagline: "That has more ifs than the source to Win2k." - Chris Hagerty
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

As noted previously, we do not use this bugtracker