Hi new to spamassasin and sort of got it working. Have 2 problems but will deal with the updating of rules first. Wanted to use rules_du_jour got that working (I think) but the command spamassassin –lint gives errors so I used th –D (debug) and this is what I got.

Now I am not a spamassasin or linux expert but am trying to learn. I have in my experience learnt that too much info is not always a bad thing…running on a clarkconnect gateway/server (RH 9.0)

If an expert could look through this and give me a soloution I would be most gratefull. Yes I have rtfm and no I don’t understand it all hence why I am here.

 

 

[EMAIL PROTECTED] bin]# spamassassin --lint -D

debug: SpamAssassin version 3.0.0

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/local/sbin', keeping.

debug: PATH included '/usr/local/bin', keeping.

debug: PATH included '/sbin', keeping.

debug: PATH included '/bin', keeping.

debug: PATH included '/usr/sbin', keeping.

debug: PATH included '/usr/bin', keeping.

debug: PATH included '/usr/X11R6/bin', keeping.

debug: PATH included '/root/bin', which doesn't exist, dropping.

debug: Final PATH set to: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin

debug: diag: module installed: DBI, version 1.32

debug: diag: module not installed: DB_File ('require' failed)

debug: diag: module installed: Digest::SHA1, version 2.01

debug: diag: module installed: IO::Socket::UNIX, version 1.2

debug: diag: module installed: MIME::Base64, version 2.12

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.36

debug: diag: module installed: Storable, version 2.06

debug: diag: module installed: URI, version 1.21

debug: ignore: using a test message to lint rules

debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre

debug: config: read file /etc/mail/spamassassin/init.pre

debug: using "/usr/share/spamassassin" for default rules dir

debug: config: read file /usr/share/spamassassin/10_misc.cf

debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf

debug: config: read file /usr/share/spamassassin/20_body_tests.cf

debug: config: read file /usr/share/spamassassin/20_compensate.cf

debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf

debug: config: read file /usr/share/spamassassin/20_drugs.cf

debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf

debug: config: read file /usr/share/spamassassin/20_head_tests.cf

debug: config: read file /usr/share/spamassassin/20_html_tests.cf

debug: config: read file /usr/share/spamassassin/20_meta_tests.cf

debug: config: read file /usr/share/spamassassin/20_phrases.cf

debug: config: read file /usr/share/spamassassin/20_porn.cf

debug: config: read file /usr/share/spamassassin/20_ratware.cf

debug: config: read file /usr/share/spamassassin/20_uri_tests.cf

debug: config: read file /usr/share/spamassassin/23_bayes.cf

debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf

debug: config: read file /usr/share/spamassassin/25_hashcash.cf

debug: config: read file /usr/share/spamassassin/25_spf.cf

debug: config: read file /usr/share/spamassassin/25_uribl.cf

debug: config: read file /usr/share/spamassassin/30_text_de.cf

debug: config: read file /usr/share/spamassassin/30_text_fr.cf

debug: config: read file /usr/share/spamassassin/30_text_nl.cf

debug: config: read file /usr/share/spamassassin/30_text_pl.cf

debug: config: read file /usr/share/spamassassin/50_scores.cf

debug: config: read file /usr/share/spamassassin/60_whitelist.cf

debug: using "/etc/mail/spamassassin" for site rules dir

debug: config: read file /etc/mail/spamassassin/cc-extra.cf

debug: config: read file /etc/mail/spamassassin/local.cf

debug: using "/root/.spamassassin" for user state dir

debug: using "/root/.spamassassin/user_prefs" for user prefs file

debug: config: read file /root/.spamassassin/user_prefs

debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC

debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558)

debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC

debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8e3553c)

debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC

debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8e133b4)

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) implements 'parse_config'

debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8e3553c) implements 'parse_config'

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) inhibited further callbacks

config: SpamAssassin failed to parse line, skipping: ADMIN="[EMAIL PROTECTED]"

config: SpamAssassin failed to parse line, skipping: QUARANTINESTATE="savetodir"

config: SpamAssassin failed to parse line, skipping: QUARANTINEDIR="/var/spool/filter/quarantine"

config: SpamAssassin failed to parse line, skipping: MAXSCORE="15"

config: SpamAssassin failed to parse line, skipping: VERBOSE="yes"

config: SpamAssassin failed to parse line, skipping: MAILMODE="multimode"

config: SpamAssassin failed to parse line, skipping: THRESHOLD_LOW="5|off"

config: SpamAssassin failed to parse line, skipping: THRESHOLD_MEDIUM="6|off"

config: SpamAssassin failed to parse line, skipping: THRESHOLD_HIGH="8|sendtoadmin"

config: SpamAssassin failed to parse line, skipping: THRESHOLD_VERYHIGH="14|sendtoadmin"

config: SpamAssassin failed to parse line, skipping: rewrite_subject 1

config: SpamAssassin failed to parse line, skipping: defang_mime 0

config: SpamAssassin failed to parse line, skipping: subject_tag [SPAM]

config: SpamAssassin failed to parse line, skipping: clear-spamtrap-template

config: SpamAssassin failed to parse line, skipping: spamtrap Subject: this address is no longer available

config: SpamAssassin failed to parse line, skipping: spamtrap [this message has been automatically generated]

config: SpamAssassin failed to parse line, skipping: spamtrap

config: SpamAssassin failed to parse line, skipping: spamtrap Please note that this address is no longer in use, and nowadays

config: SpamAssassin failed to parse line, skipping: spamtrap receives nothing but unsolicited commercial mail.  Accordingly,

config: SpamAssassin failed to parse line, skipping: spamtrap any mail sent to it is added to several spam-tracking databases,

config: SpamAssassin failed to parse line, skipping: spamtrap then automatically deleted.

config: SpamAssassin failed to parse line, skipping: spamtrap

config: SpamAssassin failed to parse line, skipping: spamtrap If you genuinely want to contact the owner of the address, please

config: SpamAssassin failed to parse line, skipping: spamtrap re-check your contact lists, or search the web, to find their

config: SpamAssassin failed to parse line, skipping: spamtrap current e-mail address.

config: SpamAssassin failed to parse line, skipping: spamtrap

config: SpamAssassin failed to parse line, skipping: spamtrap The mail you sent is reproduced in full below, for resending to

config: SpamAssassin failed to parse line, skipping: spamtrap the correct address.  Sorry for the inconvenience!

config: SpamAssassin failed to parse line, skipping: spamtrap

config: SpamAssassin failed to parse line, skipping: spamtrap [-- Signed: the SpamAssassin mail filter]

config: SpamAssassin failed to parse line, skipping: spamtrap

debug: bayes: DB_File module not installed, cannot use Bayes

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: DB_File module not installed, cannot use Bayes

debug: metadata: X-Spam-Relays-Trusted:

debug: metadata: X-Spam-Relays-Untrusted:

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) implements 'parsed_metadata'

debug: is Net::DNS::Resolver available? yes

debug: Net::DNS version: 0.48

debug: trying (3) gmx.net...

debug: looking up NS for 'gmx.net'

debug: NS lookup of gmx.net 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_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558))

debug: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8e3553c))

debug: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x8e133b4))

debug: SPF: message was delivered entirely via trusted relays, not required

debug: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8e3553c))

debug: all '*To' addrs:

debug: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8e133b4))

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(0x8e133b4))

debug: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8e133b4))

debug: registering glue method for check_for_spf_helo_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8e133b4))

debug: running body-text per-line regexp tests; score so far=-2.623

debug: running uri tests; score so far=-2.623

debug: Razor2 is available

debug: entering helper-app run mode

 Razor-Log: Computed razorhome from env: /root/.razor

 Razor-Log: Found razorhome: /root/.razor

 Razor-Log: No /root/.razor/razor-agent.conf found, skipping.

 Razor-Log: No razor-agent.conf found, using defaults.

Sep 28 12:15:18.461226 check[5263]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout

Sep 28 12:15:18.462733 check[5263]: [ 5] computed razorhome=/root/.razor, conf=, ident=/root/.razor/identity

Sep 28 12:15:18.463530 check[5263]: [ 8] Client supported_engines: 1 2 3 4

Sep 28 12:15:18.465082 check[5263]: [ 8]  prep_mail done: mail 1 headers=93, mime0=1376

Sep 28 12:15:18.466653 check[5263]: [ 5] Can't read file /root/.razor/servers.discovery.lst: No such file or directory

Sep 28 12:15:18.467138 check[5263]: [ 5] Can't read file /root/.razor/servers.nomination.lst: No such file or directory

Sep 28 12:15:18.467562 check[5263]: [ 5] Can't read file /root/.razor/servers.catalogue.lst: No such file or directory

Sep 28 12:15:18.468622 check[5263]: [ 5] no listfile: /root/.razor/servers.catalogue.lst

Sep 28 12:15:18.469068 check[5263]: [ 6] no discovery listfile: /root/.razor/servers.discovery.lst

Sep 28 12:15:18.469362 check[5263]: [ 5] Finding Discovery Servers via DNS in the razor2.cloudmark.com zone

Sep 28 12:15:18.868978 check[5263]: [ 6] Found 3 Discovery Servers via DNS in the razor2.cloudmark.com zone

Sep 28 12:15:18.869716 check[5263]: [ 8] Checking with Razor Discovery Server 66.151.150.12

Sep 28 12:15:18.870256 check[5263]: [ 6] No port specified, using 2703

Sep 28 12:15:18.870978 check[5263]: [ 5] Connecting to 66.151.150.12 ...

razor2 check skipped: No such file or directory Insecure dependency in connect while running with -T switch at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Socket.pm line 114.

debug: leaving helper-app run mode

debug: Razor2 results: spam? 0  highest cf score: 0

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84c5558) 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/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/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(0x84c5558) 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 "/root/.spamassassin" for user state dir

debug: lock: 5263 created /root/.spamassassin/auto-whitelist.lock.compaq.packetradio.co.uk.5263

debug: lock: 5263 trying to get lock on /root/.spamassassin/auto-whitelist with 0 retries

debug: lock: 5263 link to /root/.spamassassin/auto-whitelist.lock: link ok

debug: Tie-ing to DB file R/W in /root/.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: 5263 unlink /root/.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=6

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

lint: 31 issues detected.  please rerun with debug enabled for more information.

[EMAIL PROTECTED] bin]#

 

Regards

 

Dean Jackson

 

Reply via email to