Jeff Chan <[EMAIL PROTECTED]> wrote:

On Saturday, November 6, 2004, 9:33:47 PM, Anton Krall wrote:

So SURBL will work even if no .cf files are on any of the site rules or
config dirs yet? How does SA know about URLs and where to check?

I see some files under cpan dirs and SA that show some rules about SURBL so I 
thought they might need to be copied under /usr/share/spamassassin, where my 
site rules are.


SURBLs are included in the default rules for SA 3. If you've done a full, default install, then the rules and scores are probably already installed. Hopefully a CPAN install does that. If you see rules like URIBL_OB_SURBL being triggered then SURBLs are working.


I don't believe this is the case. I just upgraded from 2.63 via CPAN on Solaris 9, and this is what I get:

solaris9box:1:52 [/] # spamassassin -D --lint < /dev/null |& grep -i sur
solaris9box:1:53 [/] #

No mention of SURBLs (or SAREs) anywhere.

Full output attached.

   - Greg


:1:44 [/] # spamassassin --lint --debug < /dev/null
debug: SpamAssassin version 3.0.1
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/opt/perl/bin', keeping.
debug: PATH included '/usr/ccs/bin', keeping.
debug: PATH included '/usr/lang/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/usr/ucb', keeping.
debug: PATH included '/etc', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/gnu/bin', keeping.
debug: Final PATH set to: 
/usr/bin:/opt/perl/bin:/usr/ccs/bin:/usr/lang/bin:/usr/sbin:/usr/ucb:/etc:/usr/local/bin:/usr/gnu/bin
debug: diag: module not installed: DBI ('require' failed)
debug: diag: module installed: DB_File, version 1.809
debug: diag: module installed: Digest::SHA1, version 2.10
debug: diag: module installed: IO::Socket::UNIX, version 1.21
debug: diag: module installed: MIME::Base64, version 3.05
debug: diag: module installed: Net::DNS, version 0.48
debug: diag: module not installed: Net::LDAP ('require' failed)
debug: diag: module installed: Razor2::Client::Agent, version 2.61
debug: diag: module installed: Storable, version 2.13
debug: diag: module installed: URI, version 1.34
debug: ignore: using a test message to lint rules
debug: using "/etc/opt/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/opt/mail/spamassassin/init.pre
debug: using "/opt/perl/share/spamassassin" for default rules dir
debug: config: read file /opt/perl/share/spamassassin/10_misc.cf
debug: config: read file /opt/perl/share/spamassassin/20_anti_ratware.cf
debug: config: read file /opt/perl/share/spamassassin/20_body_tests.cf
debug: config: read file /opt/perl/share/spamassassin/20_compensate.cf
debug: config: read file /opt/perl/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /opt/perl/share/spamassassin/20_drugs.cf
debug: config: read file /opt/perl/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /opt/perl/share/spamassassin/20_head_tests.cf
debug: config: read file /opt/perl/share/spamassassin/20_html_tests.cf
debug: config: read file /opt/perl/share/spamassassin/20_meta_tests.cf
debug: config: read file /opt/perl/share/spamassassin/20_phrases.cf
debug: config: read file /opt/perl/share/spamassassin/20_porn.cf
debug: config: read file /opt/perl/share/spamassassin/20_ratware.cf
debug: config: read file /opt/perl/share/spamassassin/20_uri_tests.cf
debug: config: read file /opt/perl/share/spamassassin/23_bayes.cf
debug: config: read file /opt/perl/share/spamassassin/25_body_tests_es.cf
debug: config: read file /opt/perl/share/spamassassin/25_hashcash.cf
debug: config: read file /opt/perl/share/spamassassin/25_spf.cf
debug: config: read file /opt/perl/share/spamassassin/25_uribl.cf
debug: config: read file /opt/perl/share/spamassassin/30_text_de.cf
debug: config: read file /opt/perl/share/spamassassin/30_text_fr.cf
debug: config: read file /opt/perl/share/spamassassin/30_text_nl.cf
debug: config: read file /opt/perl/share/spamassassin/30_text_pl.cf
debug: config: read file /opt/perl/share/spamassassin/50_scores.cf
debug: config: read file /opt/perl/share/spamassassin/60_whitelist.cf
debug: using "/etc/opt/mail/spamassassin" for site rules dir
debug: config: read file /etc/opt/mail/spamassassin/local.cf
debug: using "//.spamassassin" for user state dir
debug: using "//.spamassassin/user_prefs" for user prefs file
debug: config: read file //.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xd83868)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xd51318)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4) implements 
'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xd83868) implements 
'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4) inhibited 
further callbacks

[... lots more of these; elided ...]

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4) inhibited 
further callbacks
debug: using "//.spamassassin" for user state dir
debug: bayes: 10474 tie-ing to DB file R/O //.spamassassin/bayes_toks
debug: bayes: 10474 tie-ing to DB file R/O //.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: using "//.spamassassin" for user state dir
debug: bayes: Not available for scanning, only 48 spam(s) in Bayes DB < 200
debug: bayes: 10474 untie-ing
debug: bayes: 10474 untie-ing db_toks
debug: bayes: 10474 untie-ing db_seen
debug: Score set 1 chosen.
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: bayes: 10474 tie-ing to DB file R/O //.spamassassin/bayes_toks
debug: bayes: 10474 tie-ing to DB file R/O //.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: bayes: Not available for scanning, only 48 spam(s) in Bayes DB < 200
debug: bayes: 10474 untie-ing
debug: bayes: 10474 untie-ing db_toks
debug: bayes: 10474 untie-ing db_seen
debug: metadata: X-Spam-Relays-Trusted: 
debug: metadata: X-Spam-Relays-Untrusted: 
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4) implements 
'parsed_metadata'
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.48
debug: trying (3) cingular.com...
debug: looking up NS for 'cingular.com'
debug: NS lookup of cingular.com succeeded => Dns available (set dns_available 
to hardcode)
debug: is DNS available? 1
debug: decoding: no encoding detected
debug: URIDNSBL: domains to query: 
debug: all '*From' addrs: [EMAIL PROTECTED]
debug: Running tests for priority: 0
debug: running header regexp tests; score so far=0
debug: registering glue method for check_hashcash_double_spend 
(Mail::SpamAssassin::Plugin::Hashcash=HASH(0xd83868))
debug: registering glue method for check_for_spf_helo_pass 
(Mail::SpamAssassin::Plugin::SPF=HASH(0xd51318))
debug: SPF: message was delivered entirely via trusted relays, not required
debug: registering glue method for check_hashcash_value 
(Mail::SpamAssassin::Plugin::Hashcash=HASH(0xd83868))
debug: all '*To' addrs: 
debug: registering glue method for check_for_spf_softfail 
(Mail::SpamAssassin::Plugin::SPF=HASH(0xd51318))
debug: SPF: message was delivered entirely via trusted relays, not required
debug: registering glue method for check_for_spf_pass 
(Mail::SpamAssassin::Plugin::SPF=HASH(0xd51318))
debug: registering glue method for check_for_spf_helo_softfail 
(Mail::SpamAssassin::Plugin::SPF=HASH(0xd51318))
debug: registering glue method for check_for_spf_helo_fail 
(Mail::SpamAssassin::Plugin::SPF=HASH(0xd51318))
debug: running body-text per-line regexp tests; score so far=-2.623
debug: running uri tests; score so far=-2.623
debug: registering glue method for check_uridnsbl 
(Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4))
debug: Razor2 is available
debug: entering helper-app run mode
 Razor-Log: Computed razorhome from env: /.razor
 Razor-Log: Found razorhome: /.razor
 Razor-Log: read_file: 16 items read from /.razor/razor-agent.conf
Nov 09 08:01:07.508620 check[10474]: [ 2] [bootup] Logging initiated 
LogDebugLevel=9 to stdout
Nov 09 08:01:07.511443 check[10474]: [ 5] computed razorhome=/.razor, 
conf=/.razor/razor-agent.conf, ident=/.razor/identity-ruSBzxBCgf
Nov 09 08:01:07.513194 check[10474]: [ 8] Client supported_engines: 4 8
Nov 09 08:01:07.515637 check[10474]: [ 8]  prep_mail done: mail 1 headers=93, 
mime0=1376
Nov 09 08:01:07.518098 check[10474]: [ 5] read_file: 2 items read from 
/.razor/servers.discovery.lst
Nov 09 08:01:07.520137 check[10474]: [ 5] read_file: 2 items read from 
/.razor/servers.nomination.lst
Nov 09 08:01:07.522198 check[10474]: [ 5] read_file: 3 items read from 
/.razor/servers.catalogue.lst
Nov 09 08:01:07.524290 check[10474]: [ 9] Assigning defaults to 
joy.cloudmark.com
Nov 09 08:01:07.525757 check[10474]: [ 9] Assigning defaults to 
folly.cloudmark.com
Nov 09 08:01:07.527248 check[10474]: [ 9] Assigning defaults to 
thrill.cloudmark.com
Nov 09 08:01:07.528776 check[10474]: [ 9] Assigning defaults to 
wonder.cloudmark.com
Nov 09 08:01:07.530240 check[10474]: [ 9] Assigning defaults to 
pride.cloudmark.com
Nov 09 08:01:07.535837 check[10474]: [ 5] read_file: 13 items read from 
/.razor/server.folly.cloudmark.com.conf
Nov 09 08:01:07.539058 check[10474]: [ 5] read_file: 13 items read from 
/.razor/server.folly.cloudmark.com.conf
Nov 09 08:01:07.542004 check[10474]: [ 5] read_file: 13 items read from 
/.razor/server.stress.cloudmark.com.conf
Nov 09 08:01:07.544930 check[10474]: [ 5] read_file: 13 items read from 
/.razor/server.stress.cloudmark.com.conf
Nov 09 08:01:07.548409 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.truth.cloudmark.com.conf
Nov 09 08:01:07.551505 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.truth.cloudmark.com.conf
Nov 09 08:01:07.554505 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.rancor.cloudmark.com.conf
Nov 09 08:01:07.557501 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.rancor.cloudmark.com.conf
Nov 09 08:01:07.561022 check[10474]: [ 5] read_file: 16 items read from 
/.razor/server.pride.cloudmark.com.conf
Nov 09 08:01:07.564194 check[10474]: [ 5] read_file: 16 items read from 
/.razor/server.pride.cloudmark.com.conf
Nov 09 08:01:07.567171 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.prejudice.cloudmark.com.conf
Nov 09 08:01:07.570297 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.prejudice.cloudmark.com.conf
Nov 09 08:01:07.573235 check[10474]: [ 5] read_file: 13 items read from 
/.razor/server.joy.cloudmark.com.conf
Nov 09 08:01:07.576009 check[10474]: [ 5] read_file: 13 items read from 
/.razor/server.joy.cloudmark.com.conf
Nov 09 08:01:07.579324 check[10474]: [ 5] read_file: 16 items read from 
/.razor/server.wonder.cloudmark.com.conf
Nov 09 08:01:07.582509 check[10474]: [ 5] read_file: 16 items read from 
/.razor/server.wonder.cloudmark.com.conf
Nov 09 08:01:07.585791 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.anxiety.cloudmark.com.conf
Nov 09 08:01:07.588947 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.anxiety.cloudmark.com.conf
Nov 09 08:01:07.592072 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.tension.cloudmark.com.conf
Nov 09 08:01:07.595068 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.tension.cloudmark.com.conf
Nov 09 08:01:07.598358 check[10474]: [ 5] read_file: 16 items read from 
/.razor/server.thrill.cloudmark.com.conf
Nov 09 08:01:07.601548 check[10474]: [ 5] read_file: 16 items read from 
/.razor/server.thrill.cloudmark.com.conf
Nov 09 08:01:07.604589 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.malice.cloudmark.com.conf
Nov 09 08:01:07.607454 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.malice.cloudmark.com.conf
Nov 09 08:01:07.610658 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.solace.cloudmark.com.conf
Nov 09 08:01:07.613655 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.solace.cloudmark.com.conf
Nov 09 08:01:07.616667 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.shock.cloudmark.com.conf
Nov 09 08:01:07.619745 check[10474]: [ 5] read_file: 14 items read from 
/.razor/server.shock.cloudmark.com.conf
Nov 09 08:01:07.621467 check[10474]: [ 5] 39999 seconds before closest server 
discovery
Nov 09 08:01:07.622892 check[10474]: [ 6] thrill.cloudmark.com is a Catalogue 
Server srl 5048; computed min_cf=6, Server se: C8
Nov 09 08:01:07.624273 check[10474]: [ 8] Computed supported_engines: 4 8
Nov 09 08:01:07.625605 check[10474]: [ 8] Using next closest server 
thrill.cloudmark.com:2703, cached info srl 5048
Nov 09 08:01:07.626729 check[10474]: [ 8] mail 1 has no subject
Nov 09 08:01:07.628864 check[10474]: [ 6] preproc: mail 1.0 went from 1376 
bytes to 1339 
Nov 09 08:01:07.630343 check[10474]: [ 6] computing sigs for mail 1.0, len 1339
Nov 09 08:01:07.638059 check[10474]: [ 6] Engine (8) didn't produce a signature 
for mail 1.0
Nov 09 08:01:07.639832 check[10474]: [ 6] skipping whitelist file (empty?): 
/.razor/razor-whitelist
Nov 09 08:01:07.641067 check[10474]: [ 5] Connecting to thrill.cloudmark.com ...
Nov 09 08:01:07.674799 check[10474]: [ 8] Connection established
Nov 09 08:01:07.676221 check[10474]: [ 4] thrill.cloudmark.com >> 36 server 
greeting: sn=C&srl=5048&a=l&a=cg&ep4=7542-10
Nov 09 08:01:07.678799 check[10474]: [ 4] thrill.cloudmark.com << 25
Nov 09 08:01:07.679830 check[10474]: [ 6] cn=razor-agents&cv=2.61
Nov 09 08:01:07.681582 check[10474]: [ 6] thrill.cloudmark.com is a Catalogue 
Server srl 5048; computed min_cf=6, Server se: C8
Nov 09 08:01:07.683002 check[10474]: [ 8] Computed supported_engines: 4 8
Nov 09 08:01:07.684294 check[10474]: [ 8] mail 1.0 e4 sig: 
xFaZIZUVHk90OQfARnenjx5BZTMA
Nov 09 08:01:07.685514 check[10474]: [ 5] mail 1.0 e8 got no sig
Nov 09 08:01:07.686626 check[10474]: [ 8] preparing 1 queries
Nov 09 08:01:07.688077 check[10474]: [ 8] sending 1 batches
Nov 09 08:01:07.689797 check[10474]: [ 4] thrill.cloudmark.com << 52
Nov 09 08:01:07.690770 check[10474]: [ 6] 
a=c&e=4&ep4=7542-10&s=xFaZIZUVHk90OQfARnenjx5BZTMA
Nov 09 08:01:07.812560 check[10474]: [ 4] thrill.cloudmark.com >> 5
Nov 09 08:01:07.813656 check[10474]: [ 6] response to sent.2
p=0
Nov 09 08:01:07.816028 check[10474]: [ 6] mail 1.0 e=4 
sig=xFaZIZUVHk90OQfARnenjx5BZTMA: sig not found.
Nov 09 08:01:07.817188 check[10474]: [ 7] method 4: mail 1.0: no-contention 
part, spam=0
Nov 09 08:01:07.818247 check[10474]: [ 7] method 4: mail 1: all non-contention 
parts not spam, mail not spam
Nov 09 08:01:07.819157 check[10474]: [ 3] mail 1 is not known spam.
Nov 09 08:01:07.820105 check[10474]: [ 5] disconnecting from server 
thrill.cloudmark.com
Nov 09 08:01:07.821370 check[10474]: [ 4] thrill.cloudmark.com << 5
Nov 09 08:01:07.822278 check[10474]: [ 6] a=q
debug: Using results from Razor v2.61
debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0
debug: leaving helper-app run mode
debug: Razor2 results: spam? 0  highest cf score: 0
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4) implements 
'check_tick'
debug: running raw-body-text per-line regexp tests; score so far=-2.623
debug: running full-text regexp tests; score so far=-2.623
debug: Razor2 is available
debug: Current PATH is: 
/usr/bin:/opt/perl/bin:/usr/ccs/bin:/usr/lang/bin:/usr/sbin:/usr/ucb:/etc:/usr/local/bin:/usr/gnu/bin
debug: Pyzor is not available: pyzor not found
debug: DCCifd is not available: no r/w dccifd socket found.
debug: DCC is not available: no executable dccproc found.
debug: Running tests for priority: 500
debug: RBL: success for 1 of 1 queries
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x53c1b4) implements 
'check_post_dnsbl'
debug: running meta tests; score so far=-2.623
debug: running header regexp tests; score so far=-1.053
debug: running body-text per-line regexp tests; score so far=-1.053
debug: running uri tests; score so far=-1.053
debug: running raw-body-text per-line regexp tests; score so far=-1.053
debug: running full-text regexp tests; score so far=-1.053
debug: Running tests for priority: 1000
debug: running meta tests; score so far=-1.053
debug: running header regexp tests; score so far=-1.053
debug: using "//.spamassassin" for user state dir
debug: lock: 10474 created 
//.spamassassin/auto-whitelist.lock.miplnewold.jpl.nasa.gov.10474
debug: lock: 10474 trying to get lock on //.spamassassin/auto-whitelist with 0 
retries
debug: lock: 10474 link to //.spamassassin/auto-whitelist.lock: link ok
debug: Tie-ing to DB file R/W in //.spamassassin/auto-whitelist
debug: auto-whitelist (db-based): [EMAIL PROTECTED]|ip=none scores 0/0
debug: AWL active, pre-score: -1.053, autolearn score: -1.053, mean: undef, IP: 
undef
debug: DB addr list: untie-ing and unlocking.
debug: DB addr list: file locked, breaking lock.
debug: unlock: 10474 unlink //.spamassassin/auto-whitelist.lock
debug: Post AWL score: -1.053
debug: running body-text per-line regexp tests; score so far=-1.053
debug: running uri tests; score so far=-1.053
debug: running raw-body-text per-line regexp tests; score so far=-1.053
debug: running full-text regexp tests; score so far=-1.053
debug: is spam? score=-1.053 required=5
debug: tests=ALL_TRUSTED,MISSING_DATE,MISSING_SUBJECT,NO_REAL_NAME
debug: 
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID

Reply via email to