Re: Lint errors -need help

2005-05-18 Thread jimsheffer
Thanks to everyone who helped!
I've got everything working and have successfully added a few extra rules.
Lint returns no errors! (I had to some fixing on the bayes db's but they are
now being read correctly!

Jim Sheffer,

OmniPilot Softwarehttp://www.omnipilot.com
Systems Administrator [EMAIL PROTECTED]


On 5/17/05 11:38 AM, jimsheffer [EMAIL PROTECTED] wrote:

 Hi everyone.
 
 I've just set up a new mail server running the latest version of
 spamassassin.
 
 I'm getting ready to add some extra rules, and RDJ.
 I ran lint -D on the basic config file I have for sa to see what I get
 before adding a bunch of rule files, and got the following errors: (I
 believe these are 2 of the 3- the other was razor I think- snipped out all
 the other stuff for briefness, but have it all if needed :)
 
 Can someone help me out to decifer what they meanand what I need to do
 before proceeding with other rules?
 
 Thanks!
 
 config: SpamAssassin failed to parse line, skipping: rewrite_subject 0
 config: SpamAssassin failed to parse line, skipping: always_add_headers 1
 config: SpamAssassin failed to parse line, skipping: auto_learn
 1
 debug: using /Users/admin/.spamassassin for user state dir
 debug: bayes: no dbs present, cannot tie DB R/O:
 /Users/admin/.spamassassin/bayes_toks
 debug: Score set 1 chosen.
 
 
 debug: bayes: no dbs present, cannot tie DB R/O:
 /Users/admin/.spamassassin/bayes_toks
 
 
 lint: 3 issues detected.  please rerun with debug enabled for more
 information.
 
 Jim Sheffer,
 
 OmniPilot Softwarehttp://www.omnipilot.com
 Systems Administrator [EMAIL PROTECTED]
 
 
 




Feeding bayes

2005-05-18 Thread jimsheffer
Ok-

I've got bayes db's all working, lint runs with no errors.

Now I need to feed the beast spam/ham messages!

2 questions:
I've set up 2 email accounts- ham and spam.
I've connected to these accounts via imap, and took several hundred of each
and dragged them into these folders.  Will this work (the accounts I dragged
them from are NOT imap accounts.  What I want to be able to do is allow
users to connect to these two accounts via imap and report spam that gets
through by dragging it into these accounts.  We do not use imap, just pop
(but these two will be set up on users systems via imap)

If this is correct, I'm a happy camper!

Next, I tried the following, but it didn't like it.  Heres what I did, and
the response I received:

Root# sa-learn --spam -C /etc/mail/spamassassin --showdots --dir
/var/CommuniGate/Accounts/spam.macnt/INBOX.mbox

Use of uninitialized value in quotemeta at
///Library/Perl/5.8.1/Mail/SpamAssassin.pm line 928.
.
Learned from 1 message(s) (1 message(s) examined).

Any idea what I need to do? (there are over 200 emails in each account, but
it lookes like it read only 1)

Thanks again for every one's help!

Jim Sheffer,

OmniPilot Softwarehttp://www.omnipilot.com
Systems Administrator [EMAIL PROTECTED]








Lint errors -need help

2005-05-17 Thread jimsheffer
Hi everyone.

I've just set up a new mail server running the latest version of
spamassassin.

I'm getting ready to add some extra rules, and RDJ.
I ran lint -D on the basic config file I have for sa to see what I get
before adding a bunch of rule files, and got the following errors: (I
believe these are 2 of the 3- the other was razor I think- snipped out all
the other stuff for briefness, but have it all if needed :)

Can someone help me out to decifer what they meanand what I need to do
before proceeding with other rules?

Thanks!

config: SpamAssassin failed to parse line, skipping: rewrite_subject 0
config: SpamAssassin failed to parse line, skipping: always_add_headers 1
config: SpamAssassin failed to parse line, skipping: auto_learn
1
debug: using /Users/admin/.spamassassin for user state dir
debug: bayes: no dbs present, cannot tie DB R/O:
/Users/admin/.spamassassin/bayes_toks
debug: Score set 1 chosen.


debug: bayes: no dbs present, cannot tie DB R/O:
/Users/admin/.spamassassin/bayes_toks


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

Jim Sheffer,

OmniPilot Softwarehttp://www.omnipilot.com
Systems Administrator [EMAIL PROTECTED]





Local.cf does this look right?

2005-03-11 Thread jimsheffer
Hi everyone-

I've been using SpamAssassin on another mail server for about a year.
I've installed the new SpamAssassin version on naother mail server, and will
be testing this weekend.

I've got what I believe is a correct local.cf file set up, but want to make
sure with all the new syntax and everything.

Does anything here stand out as wrong?

Thanks for any help!

add_header spam Flag _YESNOCAPS_
add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_
autolearn=_AUTOLEARN_ version=_VERSION_
add_header all Level _STARS(*)_
add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on
_HOSTNAME_
ok_language en
ok_locales all
trusted_networks xxx.xxx.xxx.xxx
use_razor2 1
razor_timeout 10
rbl_timeout 15
dns_available test: domain1.tld domain2.tld domain3.tld
use_bayes 1
use_bayes_rules 1
auto_whitelist_factor 0.5
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam 0.1
bayes_auto_learn_threshold_spam 12
bayes_min_ham_num 200
bayes_min_spam_num 200
bayes_learn_during_report 1
bayes_expiry_max_db_size 15
bayes_auto_expire 1
report_safe 0

Jim Sheffer,

OmniPilot Softwarehttp://www.omnipilot.com
Systems Administrator [EMAIL PROTECTED]