David B Funk writes:
> On Fri, 18 Aug 2006, Daryl C. W. O'Shea wrote:
> 
> > On 8/17/2006 8:24 PM, David B Funk wrote:
> >
> > > Is there some documentation about how those pseudo headers work?
> > > some way to print out their values or debug their usage?
> >
> > You can see them by adding headers that display them using the following
> > template tags:
> >
> >          _RELAYSTRUSTED_   relays used and deemed to be trusted
> >          _RELAYSUNTRUSTED_ relays used that can not be trusted
> >          _RELAYSINTERNAL_  relays used and deemed to be internal
> >          _RELAYSEXTERNAL_  relays used and deemed to be external
> 
> Thanks, now I can see what's in them but now I'm puzzled as to why
> my attempts to use them in rules isn't working.
> 
> EG: I have a rule:
> 
>   header L_RCVD_IN_DHCP     X-Spam-Relays-Untrusted =~ /dhcp/i
>   describe L_RCVD_IN_DHCP   received from dynamic source host
>   score L_RCVD_IN_DHCP      0.1
> 
> But it doesn't fire, even when a header added with _RELAYSUNTRUSTED_
> for a test message clearly contains a hostname with
> 
>       'rdns=24-176-152-180.dhcp.kgpt.tn.charter.com'

yep, that should do it.  try --lint, running with -D -L -t...

--j.

Reply via email to