Attached is my debug info when running spamassassin -D --lint.
I was logged on as the user so that just to make sure it picked up the correct
user_prefs.
Thanks,
Antonio DeLaCruz
Quoting "Pettit, Paul" <[EMAIL PROTECTED]>:
Antonio DeLaCruz [mailto:[EMAIL PROTECTED] wrote:
=20
Here is my user_prefs file:
=20
# SpamAssassin config file for version 3.0
=20
[snip]
=20
whitelist_from address.com
=20
Is this a typo or what is actually in the user_pref file? Seems odd and =
may
be related if it isn't a typo.
#### Start of Manual Blacklist ####
#
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
blacklist_from [EMAIL PROTECTED]
=20
=20
Here is my .procmailrc file:
=20
:0fw: spamassassin.lock
| /usr/bin/spamassassin -p /home/<user>/.spamassassin/user_prefs
=20
Here is my .forward file:
=20
"|IFS=3D' ' && exec /usr/bin/procmail -f- || exit 75 #<user>"
=20
=20
=20
The entries in my blacklist_from are not getting blocked. =20
I'm not sure what
I've done wrong. I installed postfix (version 2.2.2) from=20
source. I have also
installed Spamassassin using cpan (version 3.0.2). Any help=20
on this would be
appreciated.
=20
Thanks,
=20
Can you send a cut&paste of the headers from an email that you feel =
should
have been caught but got through? All the above looks about right but =
the
key would be if SA is even checking the email.
Did you run 'sendmail -D --lint -p =
/home/<user>/.spamassassin/user_prefs'
(if not logged in as the user) to check your settings? What was the =
output?
Paul Pettit
CTO and IS Manager
Consistent Computer Bargains Inc.
I've heard it said that the proof of lunacy is when you repeat the same
steps expecting different results. I say it's proof that you're a =
Microsoft
user. - comment by deshi777 on experts-exchange.com
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
debug: SpamAssassin version 3.0.2
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/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/X11R6/bin', keeping.
debug: PATH included '/usr/games', keeping.
debug: PATH included '/usr/local/pgsql/lib', keeping.
debug: PATH included '/opt/www/htdig/bin', keeping.
debug: PATH included '/usr/lib/java/bin', keeping.
debug: PATH included '/usr/lib/java/jre/bin', which doesn't exist, dropping.
debug: PATH included '/opt/kde/bin', keeping.
debug: PATH included '/usr/lib/qt/bin', keeping.
debug: PATH included '/usr/share/texmf/bin', keeping.
debug: PATH included '.', which is not absolute, dropping.
debug: Final PATH set to:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/local/pgsql/lib:/opt/www/htdig/bin:/usr/lib/java/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin
debug: diag: module installed: DBI, version 1.48
debug: diag: module installed: DB_File, version 1.811
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 2.12
debug: diag: module installed: Net::DNS, version 0.49
debug: diag: module not installed: Net::LDAP ('require' failed)
debug: diag: module installed: Razor2::Client::Agent, version 2.67
debug: diag: module installed: Storable, version 2.13
debug: diag: module installed: URI, version 1.35
debug: ignore: using a test message to lint rules
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: config: read file /usr/share/spamassassin/antidrig.cf
debug: config: read file /usr/share/spamassassin/bogus-virus-warnings.cf
debug: config: read file /usr/share/spamassassin/chickenpox.cf
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/home/tony/.spamassassin" for user state dir
debug: using "/home/tony/.spamassassin/user_prefs" for user prefs file
debug: config: read file /home/tony/.spamassassin/user_prefs
debug: using "/home/tony/.spamassassin" for user state dir
debug: bayes: 23035 tie-ing to DB file R/O /home/tony/.spamassassin/bayes_toks
debug: bayes: 23035 tie-ing to DB file R/O /home/tony/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: using "/home/tony/.spamassassin" for user state dir
debug: Score set 3 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: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted:
debug: decoding: no encoding detected
debug: Loading languages file...
debug: Language possibly: en,sco
debug: metadata: X-Languages: en sco
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.49
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: all '*From' addrs: [EMAIL PROTECTED]
debug: Running tests for priority: 0
debug: running header regexp tests; score so far=0
debug: all '*To' addrs:
debug: running body-text per-line regexp tests; score so far=-3.174
debug: running uri tests; score so far=-3.174
debug: bayes corpus size: nspam = 4550, nham = 3422
debug: tokenize: header tokens for *F = "U*ignore
D*compiling.spamassassin.taint.org D*spamassassin.taint.org D*taint.org D*org"
debug: tokenize: header tokens for *m = " 1114545809 lint_rules "
debug: tokenize: header tokens for X-Languages = " en sco"
debug: tokenize: header tokens for *RT = " "
debug: tokenize: header tokens for *RU = " "
debug: bayes token 'body' => 0.0991879851832467
debug: bayes: score = 0.264220184262471
debug: bayes: 23035 untie-ing
debug: bayes: 23035 untie-ing db_toks
debug: bayes: 23035 untie-ing db_seen
debug: Razor2 is available
debug: entering helper-app run mode
Razor-Log: Computed razorhome from env: /home/tony/.razor
Razor-Log: Found razorhome: /home/tony/.razor
Razor-Log: No /home/tony/.razor/razor-agent.conf found, skipping.
Razor-Log: No razor-agent.conf found, using defaults.
Apr 26 15:03:49.145745 check[23035]: [ 2] [bootup] Logging initiated
LogDebugLevel=9 to stdout
Apr 26 15:03:49.146610 check[23035]: [ 5] computed razorhome=/home/tony/.razor,
conf=, ident=/home/tony/.razor/identity
Apr 26 15:03:49.147073 check[23035]: [ 8] Client supported_engines: 4 8
Apr 26 15:03:49.148052 check[23035]: [ 8] prep_mail done: mail 1 headers=93,
mime0=1376
Apr 26 15:03:49.148848 check[23035]: [ 5] read_file: 1 items read from
/home/tony/.razor/servers.discovery.lst
Apr 26 15:03:49.149533 check[23035]: [ 5] read_file: 2 items read from
/home/tony/.razor/servers.nomination.lst
Apr 26 15:03:49.150137 check[23035]: [ 5] read_file: 1 items read from
/home/tony/.razor/servers.catalogue.lst
Apr 26 15:03:49.150925 check[23035]: [ 9] Assigning defaults to
folly.cloudmark.com
Apr 26 15:03:49.151428 check[23035]: [ 9] Assigning defaults to
joy.cloudmark.com
Apr 26 15:03:49.151938 check[23035]: [ 9] Assigning defaults to
shock.cloudmark.com
Apr 26 15:03:49.153964 check[23035]: [ 5] read_file: 16 items read from
/home/tony/.razor/server.shock.cloudmark.com.conf
Apr 26 15:03:49.155598 check[23035]: [ 5] read_file: 16 items read from
/home/tony/.razor/server.shock.cloudmark.com.conf
Apr 26 15:03:49.156093 check[23035]: [ 5] 67317 seconds before closest server
discovery
Apr 26 15:03:49.156579 check[23035]: [ 6] shock.cloudmark.com is a Catalogue
Server srl 5074; computed min_cf=6, Server se: C8
Apr 26 15:03:49.157023 check[23035]: [ 8] Computed supported_engines: 4 8
Apr 26 15:03:49.157359 check[23035]: [ 8] Using next closest server
shock.cloudmark.com:2703, cached info srl 5074
Apr 26 15:03:49.157652 check[23035]: [ 8] mail 1 has no subject
Apr 26 15:03:49.158671 check[23035]: [ 6] preproc: mail 1.0 went from 1376
bytes to 1339
Apr 26 15:03:49.159013 check[23035]: [ 6] computing sigs for mail 1.0, len 1339
Apr 26 15:03:49.164440 check[23035]: [ 6] Engine (8) didn't produce a signature
for mail 1.0
Apr 26 15:03:49.164948 check[23035]: [ 6] skipping whitelist file (empty?):
/home/tony/.razor/razor-whitelist
Apr 26 15:03:49.165268 check[23035]: [ 5] Connecting to shock.cloudmark.com ...
Apr 26 15:03:49.338417 check[23035]: [ 8] Connection established
Apr 26 15:03:49.338807 check[23035]: [ 4] shock.cloudmark.com >> 36 server
greeting: sn=C&srl=5074&a=l&a=cg&ep4=7542-10
Apr 26 15:03:49.339774 check[23035]: [ 4] shock.cloudmark.com << 25
Apr 26 15:03:49.339986 check[23035]: [ 6] cn=razor-agents&cv=2.67
Apr 26 15:03:49.340536 check[23035]: [ 6] shock.cloudmark.com is a Catalogue
Server srl 5074; computed min_cf=6, Server se: C8
Apr 26 15:03:49.340992 check[23035]: [ 8] Computed supported_engines: 4 8
Apr 26 15:03:49.341355 check[23035]: [ 8] mail 1.0 e4 sig:
xFaZIZUVHk90OQfARnenjx5BZTMA
Apr 26 15:03:49.341700 check[23035]: [ 5] mail 1.0 e8 got no sig
Apr 26 15:03:49.341998 check[23035]: [ 8] preparing 1 queries
Apr 26 15:03:49.342461 check[23035]: [ 8] sending 1 batches
Apr 26 15:03:49.342818 check[23035]: [ 4] shock.cloudmark.com << 52
Apr 26 15:03:49.343019 check[23035]: [ 6]
a=c&e=4&ep4=7542-10&s=xFaZIZUVHk90OQfARnenjx5BZTMA
Apr 26 15:03:49.532685 check[23035]: [ 4] shock.cloudmark.com >> 5
Apr 26 15:03:49.532925 check[23035]: [ 6] response to sent.2
p=0
Apr 26 15:03:49.533804 check[23035]: [ 6] mail 1.0 e=4
sig=xFaZIZUVHk90OQfARnenjx5BZTMA: sig not found.
Apr 26 15:03:49.534081 check[23035]: [ 7] method 4: mail 1.0: no-contention
part, spam=0
Apr 26 15:03:49.534299 check[23035]: [ 7] method 4: mail 1: all non-contention
parts not spam, mail not spam
Apr 26 15:03:49.534537 check[23035]: [ 3] mail 1 is not known spam.
Apr 26 15:03:49.534783 check[23035]: [ 5] disconnecting from server
shock.cloudmark.com
Apr 26 15:03:49.535146 check[23035]: [ 4] shock.cloudmark.com << 5
Apr 26 15:03:49.535345 check[23035]: [ 6] a=q
debug: Using results from Razor v2.67
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: running raw-body-text per-line regexp tests; score so far=-4.27
debug: running full-text regexp tests; score so far=-4.27
debug: Razor2 is available
debug: Current PATH is:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/local/pgsql/lib:/opt/www/htdig/bin:/usr/lib/java/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin
debug: Pyzor is not available: pyzor not found
debug: DCCifd is not available: no r/w dccifd socket found.
debug: executable for dccproc was found at /bin/dccproc
debug: DCC is available: /bin/dccproc
debug: entering helper-app run mode
debug: setuid: helper proc 23037: ruid=12346 euid=12346
debug: DCC: got response: X-DCC-dcc3mcgill-Metrics: jedi 1275; Body=36790
Fuz1=2620989 Fuz2=2621053
debug: leaving helper-app run mode
debug: DCC: Listed! BODY: 36790 of 999999 FUZ1: 2620989 of 999999 FUZ2: 2621053
of 999999
debug: Running tests for priority: 500
debug: RBL: success for 1 of 1 queries
debug: running meta tests; score so far=-2.101
debug: running header regexp tests; score so far=-0.875
debug: running body-text per-line regexp tests; score so far=-0.875
debug: running uri tests; score so far=-0.875
debug: running raw-body-text per-line regexp tests; score so far=-0.875
debug: running full-text regexp tests; score so far=-0.875
debug: Running tests for priority: 1000
debug: running meta tests; score so far=-0.875
debug: running header regexp tests; score so far=-0.875
debug: using "/home/tony/.spamassassin" for user state dir
debug: lock: 23035 created
/home/tony/.spamassassin/auto-whitelist.lock.jedi.homenet.tzo.com.23035
debug: lock: 23035 trying to get lock on
/home/tony/.spamassassin/auto-whitelist with 0 retries
debug: lock: 23035 link to /home/tony/.spamassassin/auto-whitelist.lock: link ok
debug: Tie-ing to DB file R/W in /home/tony/.spamassassin/auto-whitelist
debug: auto-whitelist (db-based): [EMAIL PROTECTED]|ip=none scores 0/0
debug: AWL active, pre-score: -0.875, autolearn score: -0.875, mean: undef, IP:
undef
debug: DB addr list: untie-ing and unlocking.
debug: DB addr list: file locked, breaking lock.
debug: unlock: 23035 unlink /home/tony/.spamassassin/auto-whitelist.lock
debug: Post AWL score: -0.875
debug: running body-text per-line regexp tests; score so far=-0.875
debug: running uri tests; score so far=-0.875
debug: running raw-body-text per-line regexp tests; score so far=-0.875
debug: running full-text regexp tests; score so far=-0.875
debug: is spam? score=-0.875 required=3.5
debug:
tests=ALL_TRUSTED,BAYES_40,DCC_CHECK,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME
debug:
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID