You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 73 Next »

The various SpamAssassin scripts have a debug option (-D) which can optionally take a list of channels which will restrict what information is displayed. People have asked which channels are available. However, the channels are dynamic based on the code that is running. When looking at the debug output, the first word (pre-colon) is the logging level (dbg, info, warn, error,) and the second word (pre-colon) is the channel. ie:

[20784] dbg: message: main message type: text/plain
[20784] dbg: bayes: DB journal sync: last sync: 1148309062
[20784] dbg: check: is spam? score=-0.156 required=5
[20784] dbg: check: tests=BAYES_00,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE

has the channels message, bayes, and check. While the channels are dynamic in nature, below are the standard ones that are in use as of v3.1.2 (this is not a complete list).

Note: debug mode will show a certain amount of information, while some channels will give more details if the channel is used specifically. ie: "-D" vs "-D bayes".


spamassassin and spamd channels

accessdb

${renderedContent}

all

${renderedContent}

archive-iterator

${renderedContent}

auto-whitelist

${renderedContent}

bayes

${renderedContent}

check

${renderedContent}

config

${renderedContent}

dcc

${renderedContent}

diag

${renderedContent}

dk

${renderedContent}

dkim

${renderedContent}

dns

${renderedContent}

eval

${renderedContent}

generic

${renderedContent}

hashcash

${renderedContent}

ident

${renderedContent}

ignore

${renderedContent}

info

${renderedContent}

ldap

${renderedContent}

learn

${renderedContent}

locker

${renderedContent}

log

${renderedContent}

logger

${renderedContent}

markup

${renderedContent}

message

${renderedContent}

metadata

${renderedContent}

netcache

${renderedContent}

plugin

${renderedContent}

prefork

${renderedContent}

pyzor

${renderedContent}

razor2

${renderedContent}

received-header

${renderedContent}

replacetags

${renderedContent}

reporter

${renderedContent}

rules

${renderedContent}

rules-all

${renderedContent}

spamd

${renderedContent}

spf

${renderedContent}

textcat

${renderedContent}

uri

${renderedContent}

uridnsbl

${renderedContent}

util

${renderedContent}

generated via:

$ egrep -hr '(info|dbg)\(' spamassassin.raw spamd lib | perl -nle 'next unless /^\s*(?:info|dbg)\(.([^:]+):/; print $1' | sort -u

sa-update channels

channel

${renderedContent}

diag

${renderedContent}

dns

${renderedContent}

generic

${renderedContent}

gpg

${renderedContent}

http

${renderedContent}

sha1

${renderedContent}

generated via:

egrep -hr '(info|dbg)\(' sa-update.raw | perl -nle 'next unless /^\s*(?:info|dbg)\(.([^:]+):/; print $1' | sort -u
  • No labels