You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mofo_Jones <mo...@hotmail.com> on 2008/01/24 20:09:53 UTC

Enable Spamcop only

I am trying to setup my first SA and I can't seem to get the SA to do a check
on Spamcop. The following are my cf files and debug information. Can someone
please tell me what I am doing wrong? Sorry for all the information given
below. Not sure what to do.
----------------------------------Local.cf--------------------------------
# SpamAssassin config file for version 3.x
# NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6
# See http://www.yrex.com/spam/spamconfig25.php for earlier versions
# Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50)

# How many hits before a message is considered spam.
required_score           5.0

# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe             0

# Enable the Bayes system
use_bayes               0

# Enable Bayes auto-learning
bayes_auto_learn              0

# Enable or disable network checks
use_razor2              0
use_pyzor               0

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales              all

skip_rbl_checks	0
rbl_timeout 		15 # Timeout for lookups in seconds
add_header all RBL-Results _RBL_
#
---------------------------------------------------------------------------
# NOTE: donation tests, see README file for details

header RCVD_IN_BL_SPAMCOP_NET	eval:check_rbl_txt('spamcop',
'bl.spamcop.net.', '(?i:spamcop)')
describe RCVD_IN_BL_SPAMCOP_NET	Received via a relay in bl.spamcop.net
tflags RCVD_IN_BL_SPAMCOP_NET	net
#reuse RCVD_IN_BL_SPAMCOP_NET
----------------------------------init.pre--------------------------------
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# This file contains plugin activation commands for plugins included
# in SpamAssassin 3.0.x releases.  It will not be installed if you
# already have a file in place called "init.pre".
#
# There are now multiple files read to enable plugins in the 
# /etc/mail/spamassassin directory; previously only one, "init.pre" was 
# read.  Now both "init.pre", "v310.pre", and any other files ending in
# ".pre" will be read.  As future releases are made, new plugins will be
# added to new files, named according to the release they're added in.
###########################################################################

# RelayCountry - add metadata for Bayes learning, marking the countries
# a message was relayed through
#
# Note: This requires the IP::Country::Fast Perl module
#
# loadplugin Mail::SpamAssassin::Plugin::RelayCountry

# URIDNSBL - look up URLs found in the message against several DNS
# blocklists.
#
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL

# Hashcash - perform hashcash verification.
#
loadplugin Mail::SpamAssassin::Plugin::Hashcash

# SPF - perform SPF verification.
#
loadplugin Mail::SpamAssassin::Plugin::SPF
----------------------------------SA Debug--------------------------------
spamassassin -D --lint
[11631] dbg: logger: adding facilities: all
[11631] dbg: logger: logging level is DBG
[11631] dbg: generic: SpamAssassin version 3.2.3
[11631] dbg: config: score set 0 chosen.
[11631] dbg: util: running in taint mode? yes
[11631] dbg: util: taint mode: deleting unsafe environment variables,
resetting PATH
[11631] dbg: util: PATH included '/usr/local/sbin', keeping
[11631] dbg: util: PATH included '/usr/local/bin', keeping
[11631] dbg: util: PATH included '/usr/sbin', keeping
[11631] dbg: util: PATH included '/usr/bin', keeping
[11631] dbg: util: PATH included '/sbin', keeping
[11631] dbg: util: PATH included '/bin', keeping
[11631] dbg: util: PATH included '/usr/games', keeping
[11631] dbg: util: final PATH set to:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
[11631] dbg: dns: no ipv6
[11631] dbg: dns: is Net::DNS::Resolver available? yes
[11631] dbg: dns: Net::DNS version: 0.60
[11631] dbg: diag: perl platform: 5.008008 linux
[11631] dbg: diag: module installed: Digest::SHA1, version 2.11
[11631] dbg: diag: module installed: HTML::Parser, version 3.56
[11631] dbg: diag: module installed: Net::DNS, version 0.60
[11631] dbg: diag: module installed: MIME::Base64, version 3.07
[11631] dbg: diag: module installed: DB_File, version 1.814
[11631] dbg: diag: module installed: Net::SMTP, version 2.29
[11631] dbg: diag: module installed: Mail::SPF, version v2.005
[11631] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[11631] dbg: diag: module not installed: IP::Country::Fast ('require'
failed)
[11631] dbg: diag: module not installed: Razor2::Client::Agent ('require'
failed)
[11631] dbg: diag: module not installed: Net::Ident ('require' failed)
[11631] dbg: diag: module not installed: IO::Socket::INET6 ('require'
failed)
[11631] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[11631] dbg: diag: module installed: Compress::Zlib, version 2.005
[11631] dbg: diag: module installed: Time::HiRes, version 1.86
[11631] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[11631] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[11631] dbg: diag: module not installed: DBI ('require' failed)
[11631] dbg: diag: module installed: Getopt::Long, version 2.35
[11631] dbg: diag: module installed: LWP::UserAgent, version 2.033
[11631] dbg: diag: module installed: HTTP::Date, version 1.47
[11631] dbg: diag: module installed: Archive::Tar, version 1.31
[11631] dbg: diag: module installed: IO::Zlib, version 1.04
[11631] dbg: diag: module not installed: Encode::Detect ('require' failed)
[11631] dbg: ignore: using a test message to lint rules
[11631] dbg: config: using "/etc/spamassassin" for site rules pre files
[11631] dbg: config: read file /etc/spamassassin/init.pre
[11631] dbg: config: read file /etc/spamassassin/v310.pre
[11631] dbg: config: read file /etc/spamassassin/v312.pre
[11631] dbg: config: read file /etc/spamassassin/v320.pre
[11631] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
[11631] dbg: config: using "/usr/share/spamassassin" for default rules dir
[11631] dbg: config: read file /usr/share/spamassassin/10_default_prefs.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_dynrdns.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_imageinfo.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_porn.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
[11631] dbg: config: read file /usr/share/spamassassin/20_vbounce.cf
[11631] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_asn.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_replace.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
[11631] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
[11631] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
[11631] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
[11631] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
[11631] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
[11631] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
[11631] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
[11631] dbg: config: read file /usr/share/spamassassin/50_scores.cf
[11631] dbg: config: read file /usr/share/spamassassin/60_awl.cf
[11631] dbg: config: read file /usr/share/spamassassin/60_shortcircuit.cf
[11631] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
[11631] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf
[11631] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf
[11631] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
[11631] dbg: config: read file
/usr/share/spamassassin/60_whitelist_subject.cf
[11631] dbg: config: read file /usr/share/spamassassin/72_active.cf
[11631] dbg: config: using "/etc/spamassassin" for site rules dir
[11631] dbg: config: read file /etc/spamassassin/65_debian.cf
[11631] dbg: config: read file /etc/spamassassin/local.cf
[11631] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs
file
[11631] dbg: config: read file /root/.spamassassin/user_prefs
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[11631] dbg: pyzor: local tests only, disabling Pyzor
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[11631] dbg: razor2: local tests only, skipping Razor
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[11631] dbg: reporter: local tests only, disabling SpamCop
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold
from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from
@INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
@INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from
@INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from
@INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[11631] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA
[11631] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E
[11631] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E
__MO_OL_F3B05
[11631] dbg: rules: __XM_OL_07794 merged duplicates: __XM_OL_25340
__XM_OL_3857F __XM_OL_4F240 __XM_OL_58CB5 __XM_OL_6554A __XM_OL_812FF
__XM_OL_C65FA __XM_OL_CF0C0 __XM_OL_F475E __XM_OL_F6D01
[11631] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA
[11631] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates:
HS_SUBJ_NEW_SOFTWARE
[11631] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI
[11631] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A
[11631] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1
__MO_OL_CF0C0
[11631] dbg: rules: KAM_STOCKOTC merged duplicates: KAM_STOCKTIP15
KAM_STOCKTIP20 KAM_STOCKTIP21 KAM_STOCKTIP4 KAM_STOCKTIP6
[11631] dbg: rules: __XM_OL_015D5 merged duplicates: __XM_OL_4BF4C
__XM_OL_4EEDB __XM_OL_5B79A __XM_OL_9B90B __XM_OL_ADFF7 __XM_OL_B30D1
__XM_OL_B4B40 __XM_OL_BC7E6 __XM_OL_F3B05 __XM_OL_FF5C8
[11631] dbg: rules: __XM_OL_5E7ED merged duplicates: __XM_OL_D03AB
[11631] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240
__MO_OL_ADFF7
[11631] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6
[11631] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB
__MO_OL_7533E
[11631] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40
[11631] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI
[11631] dbg: rules: __XM_OL_C7C33 merged duplicates: __XM_OL_C9068
__XM_OL_EF20B
[11631] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E
[11631] dbg: rules: __MO_OL_5E7ED merged duplicates: __MO_OL_C7C33
[11631] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8
[11631] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01
[11631] dbg: conf: finish parsing
[11631] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x929d720)
implements 'finish_parsing_end', priority 0
[11631] dbg: replacetags: replacing tags
[11631] dbg: replacetags: done replacing tags
[11631] dbg: config: score set 0 chosen.
[11631] dbg: message: main message type: text/plain
[11631] dbg: message: ---- MIME PARSER START ----
[11631] dbg: message: parsing normal part
[11631] dbg: message: ---- MIME PARSER END ----
[11631] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x923da00)
implements 'check_start', priority 0
[11631] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x9238720)
implements 'check_main', priority 0
[11631] dbg: conf: trusted_networks are not configured; it is recommended
that you configure trusted_networks manually
[11631] dbg: metadata: X-Spam-Relays-Trusted: 
[11631] dbg: metadata: X-Spam-Relays-Untrusted: 
[11631] dbg: metadata: X-Spam-Relays-Internal: 
[11631] dbg: metadata: X-Spam-Relays-External: 
[11631] dbg: message: no encoding detected
[11631] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x912feec)
implements 'parsed_metadata', priority 0
[11631] dbg: dns: is_dns_available() last checked 1201201684 seconds ago;
re-checking
[11631] dbg: dns: is DNS available? 0
[11631] dbg: rules: local tests only, ignoring RBL eval
[11631] dbg: check: running tests for priority: -1000
[11631] dbg: rules: running head tests; score so far=0
[11631] dbg: rules: compiled head tests
[11631] dbg: eval: all '*From' addrs:
ignore@compiling.spamassassin.taint.org
[11631] dbg: eval: all '*To' addrs: 
[11631] dbg: rules: running body tests; score so far=0
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: running uri tests; score so far=0
[11631] dbg: rules: compiled uri tests
[11631] dbg: rules: running rawbody tests; score so far=0
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=0
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=0
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: running tests for priority: -950
[11631] dbg: rules: running head tests; score so far=0
[11631] dbg: rules: compiled head tests
[11631] dbg: rules: running body tests; score so far=0
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: running uri tests; score so far=0
[11631] dbg: rules: compiled uri tests
[11631] dbg: rules: running rawbody tests; score so far=0
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=0
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=0
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: running tests for priority: -900
[11631] dbg: rules: running head tests; score so far=0
[11631] dbg: rules: compiled head tests
[11631] dbg: rules: running body tests; score so far=0
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: running uri tests; score so far=0
[11631] dbg: rules: compiled uri tests
[11631] dbg: rules: running rawbody tests; score so far=0
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=0
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=0
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: running tests for priority: -400
[11631] dbg: rules: running head tests; score so far=0
[11631] dbg: rules: compiled head tests
[11631] dbg: rules: running body tests; score so far=0
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: running uri tests; score so far=0
[11631] dbg: rules: compiled uri tests
[11631] dbg: rules: running rawbody tests; score so far=0
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=0
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=0
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: running tests for priority: 0
[11631] dbg: rules: running head tests; score so far=0
[11631] dbg: rules: compiled head tests
[11631] dbg: rules: ran header rule __MISSING_REF ======> got hit: "UNSET"
[11631] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@lint_rules>"
[11631] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
"1201201679"
[11631] dbg: rules: ran header rule __MSOE_MID_WRONG_CASE ======> got hit: "
[11631] dbg: rules: Message-Id: "
[11631] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[11631] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<12...@lint_rules>
[11631] dbg: rules: "
[11631] dbg: rules: ran header rule MISSING_DATE ======> got hit: "UNSET"
[11631] dbg: spf: checking to see if the message has a Received-SPF header
that we can use
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: rules: ran eval rule NO_RELAYS ======> got hit (1)
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: spf: cannot get Envelope-From, cannot use SPF
[11631] dbg: spf: def_spf_whitelist_from: could not find useable envelope
sender
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[11631] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit (1)
[11631] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit (1)
[11631] dbg: spf: spf_whitelist_from: could not find useable envelope sender
[11631] dbg: rules: running body tests; score so far=1.899
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[11631] dbg: rules: running uri tests; score so far=1.899
[11631] dbg: rules: compiled uri tests
[11631] dbg: eval: stock info total: 0
[11631] dbg: rules: running rawbody tests; score so far=1.899
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=1.899
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=1.899
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: running tests for priority: 500
[11631] dbg: rules: running head tests; score so far=1.899
[11631] dbg: rules: compiled head tests
[11631] dbg: rules: running body tests; score so far=1.899
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: running uri tests; score so far=1.899
[11631] dbg: rules: compiled uri tests
[11631] dbg: rules: running rawbody tests; score so far=1.899
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=1.899
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=1.899
[11631] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency
'DCC_CHECK'
[11631] info: rules: meta test FM_DDDD_TIMES_2 has dependency
'FH_HOST_EQ_D_D_D_D' with a zero score
[11631] info: rules: meta test FM_SEX_HOSTDDDD has dependency
'FH_HOST_EQ_D_D_D_D' with a zero score
[11631] info: rules: meta test HS_PHARMA_1 has dependency
'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: running tests for priority: 1000
[11631] dbg: rules: running head tests; score so far=4.205
[11631] dbg: rules: compiled head tests
[11631] dbg: rules: running body tests; score so far=4.205
[11631] dbg: rules: compiled body tests
[11631] dbg: rules: running uri tests; score so far=4.205
[11631] dbg: rules: compiled uri tests
[11631] dbg: rules: running rawbody tests; score so far=4.205
[11631] dbg: rules: compiled rawbody tests
[11631] dbg: rules: running full tests; score so far=4.205
[11631] dbg: rules: compiled full tests
[11631] dbg: rules: running meta tests; score so far=4.205
[11631] dbg: rules: compiled meta tests
[11631] dbg: check: is spam? score=4.205 required=5
[11631] dbg: check:
tests=MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS
[11631] dbg: check:
subtests=__HAS_MSGID,__MISSING_REF,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSOE_MID_WRONG_CASE,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
----------------------------------End SA
Debug--------------------------------
-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15072295.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by Mofo_Jones <mo...@hotmail.com>.
Jon, What do I need to have in the spamfilter.sh file?

Jan P. Kessler wrote:
> 
> Mofo_Jones schrieb:
>> Just Postfix. In postfix and I believe Sendmail. 
>>
>> John D. Hardin wrote:
>>   
>>> On Fri, 25 Jan 2008, Mofo_Jones wrote:
>>>
>>>     
>>>> One more question. This site has multiple domains that it does a
>>>> MX backup for and there are a few domains that I do not want SA to
>>>> scan and add any header info. Can I exclude just those domains?
>>>>       
> 
> For postfix - maybe you have to change some values to fit your
> environment.
> 
> MASTER.CF:
> spamfilter      unix    -       n       n       -       5       pipe
>   flags=Rq user=antispam argv=/usr/local/bin/spamfilter.sh -f ${sender} 
> -- ${recipient}
> 
> MAIN.CF:
> smtpd_recipient_restrictions = permit_mynetworks,
>     ...,
>     reject_unauth_destination,
>     check_recipient_access hash:/etc/postfix/SPAMCHECK
> 
> 
> /etc/postfix/SPAMCHECK:
> domain1.tld      FILTER spamfilter:dummy
> domain2.tld      FILTER spamfilter:dummy
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15091012.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by "Jan P. Kessler" <sa...@jpkessler.info>.
Mofo_Jones schrieb:
> Just Postfix. In postfix and I believe Sendmail. 
>
> John D. Hardin wrote:
>   
>> On Fri, 25 Jan 2008, Mofo_Jones wrote:
>>
>>     
>>> One more question. This site has multiple domains that it does a
>>> MX backup for and there are a few domains that I do not want SA to
>>> scan and add any header info. Can I exclude just those domains?
>>>       

For postfix - maybe you have to change some values to fit your environment.

MASTER.CF:
spamfilter      unix    -       n       n       -       5       pipe
  flags=Rq user=antispam argv=/usr/local/bin/spamfilter.sh -f ${sender} 
-- ${recipient}

MAIN.CF:
smtpd_recipient_restrictions = permit_mynetworks,
    ...,
    reject_unauth_destination,
    check_recipient_access hash:/etc/postfix/SPAMCHECK


/etc/postfix/SPAMCHECK:
domain1.tld      FILTER spamfilter:dummy
domain2.tld      FILTER spamfilter:dummy


Re: Enable Spamcop only

Posted by "John D. Hardin" <jh...@impsec.org>.
On Fri, 25 Jan 2008, Mofo_Jones wrote:

> John D. Hardin wrote:
> > 
> > On Fri, 25 Jan 2008, Mofo_Jones wrote:
> > 
> >> One more question. This site has multiple domains that it does a
> >> MX backup for and there are a few domains that I do not want SA to
> >> scan and add any header info. Can I exclude just those domains?
> > 
> > What is passing emails to SA? A milter? Procmail?
>
> Just Postfix. In postfix and I believe Sendmail. 

Postfix and Sendmail are both MTAs. On a given machine you will 
probably have one but not the other.

If it's sendmail there will be something else actually talking to SA -
either a milter or procmail. I can help if it's procmail. I can't 
provide advice for anything else - somebody else may.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  It is not the place of government to make right every tragedy and
  woe that befalls every resident of the nation.
-----------------------------------------------------------------------
 2 days until the 41st anniversary of the loss of Apollo 1



Re: Enable Spamcop only

Posted by Mofo_Jones <mo...@hotmail.com>.
Just Postfix. In postfix and I believe Sendmail. 

John D. Hardin wrote:
> 
> On Fri, 25 Jan 2008, Mofo_Jones wrote:
> 
>> One more question. This site has multiple domains that it does a
>> MX backup for and there are a few domains that I do not want SA to
>> scan and add any header info. Can I exclude just those domains?
> 
> What is passing emails to SA? A milter? Procmail?
> 
> Whatever it is, that's what you need to tell, "don't scan domains X, Y 
> and Z", and how you do that varies.
> 
> --
>  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>   It is not the place of government to make right every tragedy and
>   woe that befalls every resident of the nation.
> -----------------------------------------------------------------------
>  2 days until the 41st anniversary of the loss of Apollo 1
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15090268.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by "John D. Hardin" <jh...@impsec.org>.
On Fri, 25 Jan 2008, Mofo_Jones wrote:

> One more question. This site has multiple domains that it does a
> MX backup for and there are a few domains that I do not want SA to
> scan and add any header info. Can I exclude just those domains?

What is passing emails to SA? A milter? Procmail?

Whatever it is, that's what you need to tell, "don't scan domains X, Y 
and Z", and how you do that varies.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  It is not the place of government to make right every tragedy and
  woe that befalls every resident of the nation.
-----------------------------------------------------------------------
 2 days until the 41st anniversary of the loss of Apollo 1


Re: Enable Spamcop only

Posted by Mofo_Jones <mo...@hotmail.com>.
One more question. This site has multiple domains that it does a MX backup
for and there are a few domains that I do not want SA to scan and add any
header info. Can I exclude just those domains?  

Mofo_Jones wrote:
> 
> Thank you John, you have benn a big help. I thing I have it working now.
> 
> John D. Hardin wrote:
>> 
>> On Thu, 24 Jan 2008, Mofo_Jones wrote:
>> 
>>> > spamassassin -D <message.txt
>>> > 
>>> > Where message.txt is containing the message to test.
>>>
>>> Sorry, What I meant was how do I send a email to the SA server
>>> that will be tagged so I can see it in the message.
>> 
>> If your SA is configured to add status headers, the command above will
>> do that. 
>> 
>> What you need to do is compose a message.txt file that looks like an
>> RFC-822-format email message, or obtain one from a message store
>> somewhere. Your mailboxes on the server are one possible source, you'd
>> just copy one message out of them using (for instance) a text editor.
>> Getting an RFC-822-format message file out of a mail client is
>> generally a hassle compared to just editing a Unix mailbox file.
>> 
>> You should be able to see in the debug output whether or not SpamCop
>> is being run. Note that you may not get any points from SpamCop, as
>> you'd need to use a test message that SpamCop considers spammy, and I
>> don't know how to do that.
>> 
>> Also: please break the habit of top-posting, and learn the habit of 
>> pruning your reply. Thanks.
>>  
>> --
>>  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>>  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
>>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
>> -----------------------------------------------------------------------
>>   Perfect Security is unattainable; beware those who would try to sell
>>   it to you, regardless of the cost, for they are trying to sell you
>>   your own slavery.
>> -----------------------------------------------------------------------
>>  3 days until Wolfgang Amadeus Mozart's 252nd Birthday
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15089905.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by Mofo_Jones <mo...@hotmail.com>.
Thank you John, you have benn a big help. I thing I have it working now.

John D. Hardin wrote:
> 
> On Thu, 24 Jan 2008, Mofo_Jones wrote:
> 
>> > spamassassin -D <message.txt
>> > 
>> > Where message.txt is containing the message to test.
>>
>> Sorry, What I meant was how do I send a email to the SA server
>> that will be tagged so I can see it in the message.
> 
> If your SA is configured to add status headers, the command above will
> do that. 
> 
> What you need to do is compose a message.txt file that looks like an
> RFC-822-format email message, or obtain one from a message store
> somewhere. Your mailboxes on the server are one possible source, you'd
> just copy one message out of them using (for instance) a text editor.
> Getting an RFC-822-format message file out of a mail client is
> generally a hassle compared to just editing a Unix mailbox file.
> 
> You should be able to see in the debug output whether or not SpamCop
> is being run. Note that you may not get any points from SpamCop, as
> you'd need to use a test message that SpamCop considers spammy, and I
> don't know how to do that.
> 
> Also: please break the habit of top-posting, and learn the habit of 
> pruning your reply. Thanks.
>  
> --
>  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>   Perfect Security is unattainable; beware those who would try to sell
>   it to you, regardless of the cost, for they are trying to sell you
>   your own slavery.
> -----------------------------------------------------------------------
>  3 days until Wolfgang Amadeus Mozart's 252nd Birthday
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15089854.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by "John D. Hardin" <jh...@impsec.org>.
On Thu, 24 Jan 2008, Mofo_Jones wrote:

> > spamassassin -D <message.txt
> > 
> > Where message.txt is containing the message to test.
>
> Sorry, What I meant was how do I send a email to the SA server
> that will be tagged so I can see it in the message.

If your SA is configured to add status headers, the command above will
do that. 

What you need to do is compose a message.txt file that looks like an
RFC-822-format email message, or obtain one from a message store
somewhere. Your mailboxes on the server are one possible source, you'd
just copy one message out of them using (for instance) a text editor.
Getting an RFC-822-format message file out of a mail client is
generally a hassle compared to just editing a Unix mailbox file.

You should be able to see in the debug output whether or not SpamCop
is being run. Note that you may not get any points from SpamCop, as
you'd need to use a test message that SpamCop considers spammy, and I
don't know how to do that.

Also: please break the habit of top-posting, and learn the habit of 
pruning your reply. Thanks.
 
--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Perfect Security is unattainable; beware those who would try to sell
  it to you, regardless of the cost, for they are trying to sell you
  your own slavery.
-----------------------------------------------------------------------
 3 days until Wolfgang Amadeus Mozart's 252nd Birthday


Re: Enable Spamcop only

Posted by Mofo_Jones <mo...@hotmail.com>.
Sorry, What I meant was how do I send a email to the SA server that will be
tagged so I can see it in the message. 

Jari Fredriksson wrote:
> 
>> John, I have been looking everywhere for how to send a
>> test message that will show up as an RBL. Do you know hot
>> to test this? I have Googled my self to almost death.
>> 
>> John D. Hardin wrote:
>>> 
>>> On Thu, 24 Jan 2008, Mofo_Jones wrote:
>>> 
>>>> I am trying to setup my first SA and I can't seem to
>>>> get the SA to do a check
>>>> on Spamcop. The following are my cf files and debug
>>>> information. Can someone
>>>> please tell me what I am doing wrong?
>>> 
>>>> [11631] dbg: plugin: loading
>>>> Mail::SpamAssassin::Plugin::SpamCop from @INC
>>>> [11631] dbg: reporter: local tests only, disabling
>>>> SpamCop 
>>> 
>>> You can't use --lint to test spamcop.
>>> 
>>> Compose or obtain a test message and feed it to
>>> spamassassin with debug flags turned on, then you'll be
>>> able to see (and tell us) what's happening.
>>> 
> 
> 
> spamassassin -D <message.txt
> 
> Where message.txt is containing the message to test.
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15075630.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by Jari Fredriksson <ja...@iki.fi>.
> John, I have been looking everywhere for how to send a
> test message that will show up as an RBL. Do you know hot
> to test this? I have Googled my self to almost death.
> 
> John D. Hardin wrote:
>> 
>> On Thu, 24 Jan 2008, Mofo_Jones wrote:
>> 
>>> I am trying to setup my first SA and I can't seem to
>>> get the SA to do a check
>>> on Spamcop. The following are my cf files and debug
>>> information. Can someone
>>> please tell me what I am doing wrong?
>> 
>>> [11631] dbg: plugin: loading
>>> Mail::SpamAssassin::Plugin::SpamCop from @INC
>>> [11631] dbg: reporter: local tests only, disabling
>>> SpamCop 
>> 
>> You can't use --lint to test spamcop.
>> 
>> Compose or obtain a test message and feed it to
>> spamassassin with debug flags turned on, then you'll be
>> able to see (and tell us) what's happening.
>> 


spamassassin -D <message.txt

Where message.txt is containing the message to test.



Re: Enable Spamcop only

Posted by Mofo_Jones <mo...@hotmail.com>.
John, I have been looking everywhere for how to send a test message that will
show up as an RBL. Do you know hot to test this? I have Googled my self to
almost death. 

John D. Hardin wrote:
> 
> On Thu, 24 Jan 2008, Mofo_Jones wrote:
> 
>> I am trying to setup my first SA and I can't seem to get the SA to do a
>> check
>> on Spamcop. The following are my cf files and debug information. Can
>> someone
>> please tell me what I am doing wrong?
> 
>> [11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from
>> @INC
>> [11631] dbg: reporter: local tests only, disabling SpamCop
> 
> You can't use --lint to test spamcop.
> 
> Compose or obtain a test message and feed it to spamassassin with 
> debug flags turned on, then you'll be able to see (and tell us) what's 
> happening.
> 
> --
>  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>   If Microsoft made hammers, everyone would whine about how poorly
>   screws were designed and about how they are hard to hammer in, and
>   wonder why it takes so long to paint a wall using the hammer.
> -----------------------------------------------------------------------
>  3 days until the 41st anniversary of the loss of Apollo 1
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Enable-Spamcop-only-tp15072295p15075042.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Enable Spamcop only

Posted by "John D. Hardin" <jh...@impsec.org>.
On Thu, 24 Jan 2008, Mofo_Jones wrote:

> I am trying to setup my first SA and I can't seem to get the SA to do a check
> on Spamcop. The following are my cf files and debug information. Can someone
> please tell me what I am doing wrong?

> [11631] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
> [11631] dbg: reporter: local tests only, disabling SpamCop

You can't use --lint to test spamcop.

Compose or obtain a test message and feed it to spamassassin with 
debug flags turned on, then you'll be able to see (and tell us) what's 
happening.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  If Microsoft made hammers, everyone would whine about how poorly
  screws were designed and about how they are hard to hammer in, and
  wonder why it takes so long to paint a wall using the hammer.
-----------------------------------------------------------------------
 3 days until the 41st anniversary of the loss of Apollo 1