You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2006/08/18 14:14:12 UTC

Re: Dealing with spam bots and dialup/dsl spammers

Daryl C. W. O'Shea writes:
> 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

so add this to the user_prefs to see them:

  add_header all Relays-Trusted _RELAYSTRUSTED_
  add_header all Relays-Untrusted _RELAYSUNTRUSTED_
  add_header all Relays-Internal _RELAYSINTERNAL_
  add_header all Relays-External _RELAYSEXTERNAL_

also, you can run "spamassassin -D -L -t < message" and look for

  [9690] dbg: metadata: X-Spam-Relays-Trusted:

those debug lines contain the full data.

--j.