You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Benny Pedersen <me...@junc.org> on 2008/10/19 00:59:21 UTC

Re: Question about which configuration files my installation is using!

On Sat, October 18, 2008 21:22, simonmason wrote:
> All I get when I run with -D is below.  Also, it doesn't actually return
> to a prompt - it hangs there?

spammassassin -D --lint



-- 
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098


Re: Question about which configuration files my installation is using!

Posted by Bret Miller <br...@wcg.org>.
Hi Simon,

I could never get razor2 to compile and run properly in native Windows. 
I did get pyzor to work, sort of, but it would periodically hang without 
any error and cause the server to just sit there and wait forever. I 
never did track that down, just ended up disabling pyzor.

If you'd like to run pyzor, or any other helper that requires launching 
a program, there's a simple change you need to make to util.pm in the 
sub helper_app_pipe_open_windows. There's a space between the < (pipe in 
character) and the " (quote). Windows server doesn't allow space between 
the pipe character and the filename that you're piping in, so the invoke 
fails. Removing the space fixes that. (I should have opened yet another 
bugzilla item for this, but since none of the popular plugins work on 
windows anyway, I never went back to clean up this last helper app call 
issue.) It's one of two changes I make before I install every version of 
SA. The other is for using MS SQL for bayes.

Usual location information when running SA under ActivePerl for Windows:

c:\perl\site\bin = where the commands are installed to execute 
spamassassin from the command line

c:\perl\site\lib\mail\spamassassin = where the perl modules get installed

c:\perl\html\site\lib\mail\spamassassin = where the documentation gets 
installed

c:\perl\site\etc\mail\spamassassin = where your local configuration 
files reside, these are the ones you change to configure it. Note that 
SA loads every .pre and .cf file in this directory. If you need to make 
backups, either put them in a subdirectory or change the extension-- 
otherwise they get loaded too. This is also the directory where you can 
put any add-on rules that aren't being updated with sa-update. 
Generally, files get loaded in alphabetical order, first all the .pre 
files, then all the .cf files.

c:\perl\site\share\spamassassin = where the initial default rules are 
installed, you should never modify these

c:\perl\site\var\spamassassin\version# = where sa-update installs rules, 
these override the default rules, you should never modify these

There are other directories that matter, but those largely depend on how 
you are calling SA, and should be documented in whatever application is 
used.

If do decide to try pyzor or other plugins that rely on hashing 
algorithms, you'll want to track stats on their effectiveness. Without 
that you'll never know whether the algorithm accounts for the line 
ending difference between linux and windows. At least some of the 
algorithms do not and you'll never see a hit on any message because of 
that. That is, the crlf vs lf means the hash number is different between 
linux and windows and therefore messages never get seen as spam. I do 
not know whether the razor or pyzor algorithms account for that difference.

Bret



On 10/19/2008 11:41 AM, simonmason wrote:
> Thanks I fixed all of these.  Now I am going to try and figure out razor2 and
> python under windows.  I haven't seen any good how-tos on this?
>
>
> Gary V wrote:
>   
>> Just a couple things that stuck out for me. This is not an extensive
>> evaluation.
>>
>>     
>>> [4028] warn: config: failed to parse line, skipping, in
>>> "C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1
>>>       
>> Remove use_dcc from local.cf. This in a plugin that is turned on or
>> off in V310.pre.
>>
>>     
>>> dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy (2) of
>>> local.cf
>>> dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy of
>>> local.cf
>>>       
>> SA will parse any file with a .cf file extension in the pertinent
>> directories. To avoid unexpected results, use a different file
>> extension for backup copies of .cf files (.old for example).
>>
>> Gary V
>>
>>
>>     
>
>   

Re: Question about which configuration files my installation is using!

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 19.10.08 11:41, simonmason wrote:
> Thanks I fixed all of these.  Now I am going to try and figure out razor2 and
> python under windows.  I haven't seen any good how-tos on this?

no real need to configure if you installed them, unless you also want to
report spam to them.

> >> [4028] warn: config: failed to parse line, skipping, in
> >> "C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1

> Gary V wrote:
> > Remove use_dcc from local.cf. This in a plugin that is turned on or
> > off in V310.pre.

or better get the DCC plugin if possible.
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #99999: Out of error messages.

Re: Question about which configuration files my installation is using!

Posted by simonmason <si...@themasons.net>.
Thanks I fixed all of these.  Now I am going to try and figure out razor2 and
python under windows.  I haven't seen any good how-tos on this?


Gary V wrote:
> 
> Just a couple things that stuck out for me. This is not an extensive
> evaluation.
> 
>> [4028] warn: config: failed to parse line, skipping, in
>> "C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1
> 
> Remove use_dcc from local.cf. This in a plugin that is turned on or
> off in V310.pre.
> 
>> dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy (2) of
>> local.cf
>> dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy of
>> local.cf
> 
> SA will parse any file with a .cf file extension in the pertinent
> directories. To avoid unexpected results, use a different file
> extension for backup copies of .cf files (.old for example).
> 
> Gary V
> 
> 

-- 
View this message in context: http://www.nabble.com/Question-about-which-configuration-files-my-installation-is-using%21-tp20047087p20058983.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Question about which configuration files my installation is using!

Posted by Gary V <mr...@gmail.com>.
Just a couple things that stuck out for me. This is not an extensive evaluation.

> [4028] warn: config: failed to parse line, skipping, in
> "C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1

Remove use_dcc from local.cf. This in a plugin that is turned on or
off in V310.pre.

> dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy (2) of
> local.cf
> dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy of
> local.cf

SA will parse any file with a .cf file extension in the pertinent
directories. To avoid unexpected results, use a different file
extension for backup copies of .cf files (.old for example).

Gary V

Re: Question about which configuration files my installation is using!

Posted by simonmason <si...@themasons.net>.
This version worked!  I have no idea what you did on the commandline but it
is working.  Thanks.

I am just starting to tweak my installation - is there anything anyone can
recommend as first places to work based upon the log below:

Thanks.

[4028] dbg: logger: adding facilities: all
[4028] dbg: logger: logging level is DBG
[4028] dbg: generic: SpamAssassin version 3.2.4
[4028] dbg: config: score set 0 chosen.
[4028] dbg: util: running in taint mode? yes
[4028] dbg: util: taint mode: deleting unsafe environment variables,
resetting PATH
[4028] dbg: util: running on Win32, skipping PATH cleaning
[4028] dbg: util: defining getpwuid() wrapper using 'unknown' as username
[4028] dbg: dns: no ipv6
[4028] dbg: dns: is Net::DNS::Resolver available? yes
[4028] dbg: dns: Net::DNS version: 0.61
[4028] dbg: diag: perl platform: 5.008008 MSWin32
[4028] dbg: diag: module installed: Digest::SHA1, version 2.11
[4028] dbg: diag: module installed: HTML::Parser, version 3.56
[4028] dbg: diag: module installed: Net::DNS, version 0.61
[4028] dbg: diag: module installed: MIME::Base64, version 3.07
[4028] dbg: diag: module installed: DB_File, version 1.816
[4028] dbg: diag: module installed: Net::SMTP, version 2.30
[4028] dbg: diag: module installed: Mail::SPF, version 2.00
[4028] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[4028] dbg: diag: module installed: IP::Country::Fast, version 604.001
[4028] dbg: diag: module not installed: Razor2::Client::Agent ('require'
failed)
[4028] dbg: diag: module installed: Net::Ident, version 1.20
[4028] dbg: diag: module installed: IO::Socket::INET6, version (undef)
[4028] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[4028] dbg: diag: module installed: Compress::Zlib, version 1.4201
[4028] dbg: diag: module installed: Time::HiRes, version 1.49
[4028] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[4028] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[4028] dbg: diag: module installed: DBI, version 1.601
[4028] dbg: diag: module installed: Getopt::Long, version 2.36
[4028] dbg: diag: module installed: LWP::UserAgent, version 2.036
[4028] dbg: diag: module installed: HTTP::Date, version 1.47
[4028] dbg: diag: module installed: Archive::Tar, version 1.3201
[4028] dbg: diag: module installed: IO::Zlib, version 1.04
[4028] dbg: diag: module not installed: Encode::Detect ('require' failed)
[4028] dbg: ignore: using a test message to lint rules
[4028] dbg: config: using "C:\Perl\site/etc/mail/spamassassin" for site
rules pre files
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/init.pre
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/v310.pre
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/v312.pre
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/v320.pre
[4028] dbg: config: using "./rules" for sys rules pre files
[4028] dbg: config: read file ./rules/init.pre
[4028] dbg: config: read file ./rules/v310.pre
[4028] dbg: config: read file ./rules/v312.pre
[4028] dbg: config: read file ./rules/v320.pre
[4028] dbg: config: using "./rules" for default rules dir
[4028] dbg: config: read file ./rules/10_default_prefs.cf
[4028] dbg: config: read file ./rules/20_advance_fee.cf
[4028] dbg: config: read file ./rules/20_body_tests.cf
[4028] dbg: config: read file ./rules/20_compensate.cf
[4028] dbg: config: read file ./rules/20_dnsbl_tests.cf
[4028] dbg: config: read file ./rules/20_drugs.cf
[4028] dbg: config: read file ./rules/20_dynrdns.cf
[4028] dbg: config: read file ./rules/20_fake_helo_tests.cf
[4028] dbg: config: read file ./rules/20_head_tests.cf
[4028] dbg: config: read file ./rules/20_html_tests.cf
[4028] dbg: config: read file ./rules/20_imageinfo.cf
[4028] dbg: config: read file ./rules/20_meta_tests.cf
[4028] dbg: config: read file ./rules/20_net_tests.cf
[4028] dbg: config: read file ./rules/20_phrases.cf
[4028] dbg: config: read file ./rules/20_porn.cf
[4028] dbg: config: read file ./rules/20_ratware.cf
[4028] dbg: config: read file ./rules/20_uri_tests.cf
[4028] dbg: config: read file ./rules/20_vbounce.cf
[4028] dbg: config: read file ./rules/23_bayes.cf
[4028] dbg: config: read file ./rules/25_accessdb.cf
[4028] dbg: config: read file ./rules/25_antivirus.cf
[4028] dbg: config: read file ./rules/25_asn.cf
[4028] dbg: config: read file ./rules/25_dcc.cf
[4028] dbg: config: read file ./rules/25_dkim.cf
[4028] dbg: config: read file ./rules/25_domainkeys.cf
[4028] dbg: config: read file ./rules/25_hashcash.cf
[4028] dbg: config: read file ./rules/25_pyzor.cf
[4028] dbg: config: read file ./rules/25_razor2.cf
[4028] dbg: config: read file ./rules/25_replace.cf
[4028] dbg: config: read file ./rules/25_spf.cf
[4028] dbg: config: read file ./rules/25_textcat.cf
[4028] dbg: config: read file ./rules/25_uribl.cf
[4028] dbg: config: read file ./rules/30_text_de.cf
[4028] dbg: config: read file ./rules/30_text_fr.cf
[4028] dbg: config: read file ./rules/30_text_it.cf
[4028] dbg: config: read file ./rules/30_text_nl.cf
[4028] dbg: config: read file ./rules/30_text_pl.cf
[4028] dbg: config: read file ./rules/30_text_pt_br.cf
[4028] dbg: config: read file ./rules/50_scores.cf
[4028] dbg: config: read file ./rules/60_awl.cf
[4028] dbg: config: read file ./rules/60_shortcircuit.cf
[4028] dbg: config: read file ./rules/60_whitelist.cf
[4028] dbg: config: read file ./rules/60_whitelist_dk.cf
[4028] dbg: config: read file ./rules/60_whitelist_dkim.cf
[4028] dbg: config: read file ./rules/60_whitelist_spf.cf
[4028] dbg: config: read file ./rules/60_whitelist_subject.cf
[4028] dbg: config: read file ./rules/72_active.cf
[4028] dbg: config: read file ./rules/regression_tests.cf
[4028] dbg: config: using "C:\Perl\site/etc/mail/spamassassin" for site
rules dir
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy (2) of
local.cf
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/Copy of
local.cf
[4028] dbg: config: read file C:\Perl\site/etc/mail/spamassassin/local.cf
[4028] dbg: config: using "C:\Documents and
Settings\Administrator/.spamassassin/user_prefs" for user prefs file
[4028] dbg: config: read file C:\Documents and
Settings\Administrator/.spamassassin/user_prefs
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[4028] dbg: pyzor: local tests only, disabling Pyzor
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[4028] dbg: razor2: local tests only, skipping Razor
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[4028] dbg: reporter: local tests only, disabling SpamCop
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold
from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
@INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from
@INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[4028] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIDNSBL,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Hashcash,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::SPF,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Pyzor,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Razor2,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::SpamCop,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::AWL,
already registered
[4028] dbg: plugin: did not register
Mail::SpamAssassin::Plugin::AutoLearnThreshold, already registered
[4028] dbg: plugin: did not register
Mail::SpamAssassin::Plugin::WhiteListSubject, already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::MIMEHeader,
already registered
[4028] dbg: plugin: did not register
Mail::SpamAssassin::Plugin::ReplaceTags, already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Check,
already registered
[4028] dbg: plugin: did not register
Mail::SpamAssassin::Plugin::HTTPSMismatch, already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIDetail,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Bayes,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::BodyEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::DNSEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::HTMLEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::HeaderEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::MIMEEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::RelayEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::WLBLEval,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::VBounce,
already registered
[4028] dbg: plugin: did not register Mail::SpamAssassin::Plugin::ImageInfo,
already registered
[4028] warn: config: failed to parse line, skipping, in
"C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1
[4028] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA
[4028] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E
[4028] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E
__MO_OL_F3B05
[4028] 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
[4028] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA
[4028] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates:
HS_SUBJ_NEW_SOFTWARE
[4028] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI
[4028] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A
[4028] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1
__MO_OL_CF0C0
[4028] dbg: rules: KAM_STOCKOTC merged duplicates: KAM_STOCKTIP15
KAM_STOCKTIP20 KAM_STOCKTIP21 KAM_STOCKTIP4 KAM_STOCKTIP6
[4028] 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
[4028] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240
__MO_OL_ADFF7
[4028] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6
[4028] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB
__MO_OL_7533E
[4028] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40
[4028] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI
[4028] dbg: rules: __XM_OL_C9068 merged duplicates: __XM_OL_EF20B
[4028] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E
[4028] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8
[4028] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01
[4028] dbg: conf: finish parsing
[4028] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x2ff1648)
implements 'finish_parsing_end', priority 0
[4028] dbg: replacetags: replacing tags
[4028] dbg: replacetags: done replacing tags
[4028] dbg: bayes: no dbs present, cannot tie DB R/O: C:\Documents and
Settings\Administrator/.spamassassin/bayes_toks
[4028] dbg: config: score set 0 chosen.
[4028] dbg: message: main message type: text/plain
[4028] dbg: message: ---- MIME PARSER START ----
[4028] dbg: message: parsing normal part
[4028] dbg: message: ---- MIME PARSER END ----
[4028] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x2f47a0c)
implements 'check_start', priority 0
[4028] dbg: bayes: no dbs present, cannot tie DB R/O: C:\Documents and
Settings\Administrator/.spamassassin/bayes_toks
[4028] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x2f42714)
implements 'check_main', priority 0
[4028] dbg: conf: trusted_networks are not configured; it is recommended
that you configure trusted_networks manually
[4028] dbg: metadata: X-Spam-Relays-Trusted: 
[4028] dbg: metadata: X-Spam-Relays-Untrusted: 
[4028] dbg: metadata: X-Spam-Relays-Internal: 
[4028] dbg: metadata: X-Spam-Relays-External: 
[4028] dbg: message: no encoding detected
[4028] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x2ed5ca8)
implements 'parsed_metadata', priority 0
[4028] dbg: dns: is_dns_available() last checked 1224425016.0 seconds ago;
re-checking
[4028] dbg: dns: is DNS available? 0
[4028] dbg: rules: local tests only, ignoring RBL eval
[4028] dbg: check: running tests for priority: -1000
[4028] dbg: rules: running head tests; score so far=0
[4028] dbg: rules: compiled head tests
[4028] dbg: eval: all '*From' addrs: ignore@compiling.spamassassin.taint.org
[4028] dbg: eval: all '*To' addrs: 
[4028] dbg: rules: running body tests; score so far=0
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: running uri tests; score so far=0
[4028] dbg: rules: compiled uri tests
[4028] dbg: rules: running rawbody tests; score so far=0
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=0
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=0
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: running tests for priority: -950
[4028] dbg: rules: running head tests; score so far=0
[4028] dbg: rules: compiled head tests
[4028] dbg: rules: running body tests; score so far=0
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: running uri tests; score so far=0
[4028] dbg: rules: compiled uri tests
[4028] dbg: rules: running rawbody tests; score so far=0
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=0
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=0
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: running tests for priority: -900
[4028] dbg: rules: running head tests; score so far=0
[4028] dbg: rules: compiled head tests
[4028] dbg: rules: running body tests; score so far=0
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: running uri tests; score so far=0
[4028] dbg: rules: compiled uri tests
[4028] dbg: rules: running rawbody tests; score so far=0
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=0
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=0
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: running tests for priority: -400
[4028] dbg: rules: running head tests; score so far=0
[4028] dbg: rules: compiled head tests
[4028] dbg: rules: running body tests; score so far=0
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: running uri tests; score so far=0
[4028] dbg: rules: compiled uri tests
[4028] dbg: rules: running rawbody tests; score so far=0
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=0
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=0
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: running tests for priority: 0
[4028] dbg: rules: running head tests; score so far=0
[4028] dbg: rules: compiled head tests
[4028] dbg: rules: ran header rule __MISSING_REF ======> got hit: "UNSET"
[4028] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@lint_rules>"
[4028] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
"1224425014"
[4028] dbg: rules: ran header rule __MSOE_MID_WRONG_CASE ======> got hit: "
[4028] dbg: rules: Message-Id: "
[4028] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[4028] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<12...@lint_rules>
[4028] dbg: rules: "
[4028] dbg: rules: ran header rule MISSING_DATE ======> got hit: "UNSET"
[4028] dbg: spf: checking to see if the message has a Received-SPF header
that we can use
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: rules: ran eval rule NO_RELAYS ======> got hit (1)
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: spf: cannot get Envelope-From, cannot use SPF
[4028] dbg: spf: def_spf_whitelist_from: could not find useable envelope
sender
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: spf: already checked for Received-SPF headers, proceeding with
DNS based checks
[4028] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit (1)
[4028] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit (1)
[4028] dbg: spf: spf_whitelist_from: could not find useable envelope sender
[4028] dbg: rules: running body tests; score so far=1.899
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[4028] dbg: rules: running uri tests; score so far=1.899
[4028] dbg: rules: compiled uri tests
[4028] dbg: eval: stock info total: 0
[4028] dbg: rules: running rawbody tests; score so far=1.899
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=1.899
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=1.899
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: running tests for priority: 500
[4028] dbg: dns: harvest_dnsbl_queries
[4028] dbg: rules: running head tests; score so far=1.899
[4028] dbg: rules: compiled head tests
[4028] dbg: rules: running body tests; score so far=1.899
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: running uri tests; score so far=1.899
[4028] dbg: rules: compiled uri tests
[4028] dbg: rules: running rawbody tests; score so far=1.899
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=1.899
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=1.899
[4028] dbg: rules: meta test DIGEST_MULTIPLE has undefined dependency
'DCC_CHECK'
[4028] dbg: rules: meta test FM_DDDD_TIMES_2 has undefined dependency
'FH_HOST_EQ_D_D_D_D'
[4028] dbg: rules: meta test FM_SEX_HOSTDDDD has undefined dependency
'FH_HOST_EQ_D_D_D_D'
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: running tests for priority: 1000
[4028] dbg: rules: running head tests; score so far=4.205
[4028] dbg: rules: compiled head tests
[4028] dbg: rules: running body tests; score so far=4.205
[4028] dbg: rules: compiled body tests
[4028] dbg: rules: running uri tests; score so far=4.205
[4028] dbg: rules: compiled uri tests
[4028] dbg: rules: running rawbody tests; score so far=4.205
[4028] dbg: rules: compiled rawbody tests
[4028] dbg: rules: running full tests; score so far=4.205
[4028] dbg: rules: compiled full tests
[4028] dbg: rules: running meta tests; score so far=4.205
[4028] dbg: rules: compiled meta tests
[4028] dbg: check: is spam? score=4.205 required=5
[4028] dbg: check:
tests=MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS
[4028] dbg: check:
subtests=__HAS_MSGID,__MISSING_REF,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__MSOE_MID_WRONG_CASE,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
[4028] warn: lint: 1 issues detected, please rerun with debug enabled for
more information



mouss-2 wrote:
> 
> Benny Pedersen a écrit :
>> On Sun, October 19, 2008 06:16, simonmason wrote:
>>> Thanks, I got the output.  Next question.  I tried redirecting the
>>> output
>>> to a file so I can look at it but neither > output.txt or >>
>>> output.txt work.
>> 
>>> = write to new file
>>>> = append to existing file
>> 
>> try this:
>> 
>> spamassassin 2>&1 -D --lint > debug.log
>> 
> 
> The other way:
> 
> spamassassin -D --lint > debug.log 2>&1
> 
> it works on windows (I tested with an invalid command. I don't have SA
> on windows).
> 
>> if it works then i use windows :)
> 
> will you?
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Question-about-which-configuration-files-my-installation-is-using%21-tp20047087p20056470.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: Question about which configuration files my installation is using!

Posted by mouss <mo...@netoyen.net>.
Benny Pedersen a écrit :
> On Sun, October 19, 2008 06:16, simonmason wrote:
>> Thanks, I got the output.  Next question.  I tried redirecting the output
>> to a file so I can look at it but neither > output.txt or >>
>> output.txt work.
> 
>> = write to new file
>>> = append to existing file
> 
> try this:
> 
> spamassassin 2>&1 -D --lint > debug.log
> 

The other way:

spamassassin -D --lint > debug.log 2>&1

it works on windows (I tested with an invalid command. I don't have SA
on windows).

> if it works then i use windows :)

will you?




Re: Question about which configuration files my installation is using!

Posted by Benny Pedersen <me...@junc.org>.
On Sun, October 19, 2008 06:16, simonmason wrote:
> Thanks, I got the output.  Next question.  I tried redirecting the output
> to a file so I can look at it but neither > output.txt or >>
> output.txt work.

> = write to new file
>> = append to existing file

try this:

spamassassin 2>&1 -D --lint > debug.log

if it works then i use windows :)

> The file ends up being zero byte and the output still goes to the screen.
> The problem with this is that it outputs more than the DOS windows buffer
> holds so I miss the beginning.  I tried increasing the buffer but this
> didn't seem to help.
>
> I do see some of the file and got the following warnings:
>
> [3788] warn: config: failed to parse line, skipping, in
> "C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1

perldoc Mail::SpamAssassin::Plugin::DCC
perldoc Mail::SpamAssassin::Conf

comment it out is the best

# use_dcc 1

> [3788] dbg: dns: is DNS available? 0
> [3788] dbg: rules: local tests only, ignoring RBL eval
>
> I also see references to not using razor2 and pyzor - I don't think I
> installed this - do I need to?  Thanks.

check *.pre files on what plugin is enabled, some only works on linux so
there is properly alot to disable there

-- 
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098


Re: Question about which configuration files my installation is using!

Posted by simonmason <si...@themasons.net>.
Thanks, I got the output.  Next question.  I tried redirecting the output to
a file so I can look at it but neither > output.txt or >> output.txt work. 
The file ends up being zero byte and the output still goes to the screen. 
The problem with this is that it outputs more than the DOS windows buffer
holds so I miss the beginning.  I tried increasing the buffer but this
didn't seem to help.

I do see some of the file and got the following warnings:

[3788] warn: config: failed to parse line, skipping, in
"C:\Perl\site/etc/mail/spamassassin/local.cf": use_dcc 1

[3788] dbg: dns: is DNS available? 0
[3788] dbg: rules: local tests only, ignoring RBL eval

I also see references to not using razor2 and pyzor - I don't think I
installed this - do I need to?  Thanks.


Benny Pedersen wrote:
> 
> 
> On Sat, October 18, 2008 21:22, simonmason wrote:
>> All I get when I run with -D is below.  Also, it doesn't actually return
>> to a prompt - it hangs there?
> 
> spammassassin -D --lint
> 
> 
> 
> -- 
> Benny Pedersen
> Need more webspace ? http://www.servage.net/?coupon=cust37098
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Question-about-which-configuration-files-my-installation-is-using%21-tp20047087p20053104.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.