Rule match by Subject: ? - OT Rant
Phillip T. George
phillip at EACSI.COM
Thu Feb 17 20:33:31 GMT 2005
[ The following text is in the "ISO-8859-2" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Yeah. I wish I didn't need sleep. I could get so much more done. Plus
waking up it always hard...that takes an hour at least :) I do have a
theory that you can trade food for sleep and also trade sleep for food.
But it only works for a certain %, can't do it completely of course. I
wish I didn't need money. That would also free up some time to do what
I actually want to do, as opposed to being a tech monkey / a little bit
of programming. But oh well. Enough ranting. I've got to get back to
work :)
-Phillip
Julian Field wrote:
> Just need someone to implement 30 hour days. Oh, and the genetic removal
> of the brain's need for sleep :-)
>
> Phillip T. George wrote:
>
>> I don't blame you :) You need to get some more developers on your
>> team :)
>>
>> -Phillip
>>
>> Julian Field wrote:
>>
>>> I'm not in the mood for rewriting the entire configuration compiler.
>>> Bit
>>> of a big job...
>>>
>>> Phillip T. George wrote:
>>>
>>>> Sounds like we could use some sort of "chain mechnism". Perhaps,
>>>> similar to iptables? *shrugs* Just a thought. It would be pretty
>>>> much
>>>> changing the system completely.
>>>>
>>>> -Phillip
>>>>
>>>> Julian Field wrote:
>>>>
>>>>> The problem is parsing it all.
>>>>> I could insist on double-quotes round the pattern for the header
>>>>> value,
>>>>> regardless of what type of pattern it is (so regexps would look like
>>>>> "/...../") but then I've got to allow the " character in the string.
>>>>> Then there's the problem of "and" conditions, so I can't even look
>>>>> for
>>>>> the last " in the rule. But it would be better than nothing, and
>>>>> would
>>>>> let me get started on it. Maybe I do a half-way-house solution now,
>>>>> and
>>>>> re-visit it later if people actually need me to. In the mean time, if
>>>>> you want to use "and" then you would have to put the header match on
>>>>> the
>>>>> right-hand side of the "and", so you wouldn't be able to use a rule
>>>>> that
>>>>> studied 2 different headers.
>>>>>
>>>>> But if people don't actually need that functionality, then it's not a
>>>>> great problem.
>>>>>
>>>>> I think I have to be practical about what to allow users to do,
>>>>> doing a
>>>>> theoretically perfect solution is going to be very awkward.
>>>>>
>>>>> You would still be able to do
>>>>> header subject "string" yes
>>>>> and
>>>>> from user at domain and header subject "string" yes
>>>>> but you wouldn't be able to do
>>>>> header subject "string" and header list-id "string2" yes
>>>>>
>>>>> The "header" keyword is required as otherwise I can't tell the
>>>>> difference between checking the envelope sender (with "From") and the
>>>>> From: header (with "header From").
>>>>>
>>>>> How does that sound?
>>>>>
>>>>> Chuck Foster wrote:
>>>>>
>>>>>> Marcin wrote:
>>>>>> > Is it not enough that people can add a proper rule to spamassasin
>>>>>> > and rise/lower scores for matching subjects?
>>>>>> > I do it eg. for word 'virus' in subject and that works fine.
>>>>>>
>>>>>> This would be after the rulesets have been examined of course, ie.
>>>>>> the
>>>>>> decision has already been made; I guess someone might want to do
>>>>>> something like:
>>>>>>
>>>>>> To: user at domain and Subject: /v[i1]agra/ delete
>>>>>>
>>>>>> rather than SpamAssassin simply setting a score for the message.
>>>>>>
>>>>>> I can see potential applications for this on arbitrary headers, not
>>>>>> too sure how useful it would be generally (though of course once
>>>>>> it's
>>>>>> there ... (hmm, X-Mailer: /outlook/ delete :-))
>>>>>>
>>>>>> Chuck
>>>>>
>>>>>
>
> --
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list