On Mon, 22 Dec 2003, Robert Nicholson <[EMAIL PROTECTED]> wrote:

> I cannot think of any legimate emails that would contain X-MT in their
> header so why not just right the rule to check for that instead of
> worrying about which digits are present. Then you only have to worry
> about what happens when they change the two characters after the X- :-)

Well, exactly; that was my question.  How do you write a rule to do that?  
:-)  I'm looking for a way to match on the header name, not its value.

On Dec 22, 2003, at 11:52 AM, Yackley, Matt wrote:

> You might be able to use something like this:
>
> full     YM_TEST_XMT /^X-MT-[0-9]{1,5}: [0-9]{4,8}/

Unfortunately this doesn't work; "full" apparently only scans the body of
the message, not the headers.  I also found this rule on the Emporium (in
the header_other.txt file):

header XUNITY_UNREG     ALL=~ /X-UnityUser:\sUnregistered\sUser/

but that technique doesn't work either; my guess is because the space on
which the pattern space is operating is only the value.  Any other ideas?

-- 
Brent J. Nordquist <[EMAIL PROTECTED]> N0BJN
Other contact information: http://kepler.acns.bethel.edu/~bjn/contact.html
* Fast pipe * Always on * Get out of the way - Tim Bray http://tinyurl.com/7sti



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to