On Tue, Aug 10, 2004 at 09:05:37PM -0700, Robert Menschel wrote: > 20_head_tests.cf: header FROM_HAS_MIXED_NUMS3 From:addr =~ > /^[a-z]+\d+[a-z]+\d+[a-z]+\w*\@/i > 20_head_tests.cf: describe FROM_HAS_MIXED_NUMS3 From: contains numbers mixed > in with letters > > What does From:addr do? How is this different from the normal From > header test?
:addr will strip off everything except the first "address" in the header. ie: header FOO From ... will get "From: Timmy <[EMAIL PROTECTED]>" header FOO From:addr ... will get "[EMAIL PROTECTED]" > Should this be documented in Mail::SpamAssassin::Conf? I find that a > paragraph concerning header:raw is there, but not header:addr Yeah it should be, but in looking at M:SA:C, I agree it doesn't seem to be in there. :( ":name" is also not documented (finds the first "real name" in the header). I added in a section in r36207 to cover these. :) -- Randomly Generated Tagline: "EE good." - Prof. Vaz
pgpYsEekht40r.pgp
Description: PGP signature
