On Fri, 26 Apr 2013 02:03:30 +0200 Karsten Bräckelmann wrote: > On Thu, 2013-04-25 at 13:57 +0100, RW wrote: > > I was just looking at the ASM plugin and it defines tags, but not a > > metadata "pseudo-header". With other plugins, header tests run > > against that metadata header. > > Doh! Spot on. > > The metadata pseudo-headers are missing. Header rules can match > against these, but not against X-Spam headers, which are added at the > end of the process. > > The issue of missing metadata has been fixed in revision 1056043 [1], > working on bug 5655 -- a similar issue of non-availability of the AS > data as tokens for Bayes. Both need the metadata. > > The fix didn't make its way into the 3.3 branch. The patch (available > from [1]) is rather trivial, though, and easy to apply locally. > > > The metadata pseudo-headers are available to rules with an X- prefix. > > header ASnnnn X-ASN =~ /^ASnnnn /
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6929