Everything marked as Spam

2007-07-22 Thread carnold5
We moved servers and tried a different email system (but that is a whole
different story). This new server has SA 3.2.1 from source using spamd
w/no options passed. We are trying Bongo email system which, i believe
uses netmail. Problem is, SA is marking everything as spam. We use
sa-update and botnet and ixhash plugins, thats all. What do i do so SA
does not mark evrything as spam?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Uninstall SA

2007-07-21 Thread carnold5
We have moved from hula email system to zimbra. Zimbra has built-in SA.
We installed SA from source; how do we uninstall, completely, SA?
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



sa-learn --forget

2007-07-13 Thread carnold5
I got a message that has tagged as spam. Received a score of 5.2. This
mail is a ham mail for me/us. So i ran --forget and received this:
sa-learn --forget --mbox /var/opt/hula/netmail/users/forget
Forgot tokens from 0 message(s) (1 message(s) examined)
There was only 1 message/email in this folder. I expected to see Forgot
tokens from "1" message(s) (1 message(s) examined) but this was not the
case. What did i do wrong?
SA 3.2.1 with sles9 and spamd running without any options
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: bayes not able to be used

2007-07-10 Thread carnold5
>Run "sa-learn" as nobody!
>I.e.
>su - nobody
>sa-learn --dump magic
This produces:
[20090] dbg: replacetags: done replacing tags
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_toks
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_seen
[20090] dbg: bayes: found bayes db version 0
bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm line 196.
[20090] dbg: config: score set 1 chosen.
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_toks
[20090] dbg: bayes: tie-ing to DB file R/O
/var/lib/nobody/.spamassassin/bayes_seen
[20090] dbg: bayes: found bayes db version 0
bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm line 196.
ERROR: Bayes dump returned an error, please re-run with -D for more
information

>And you have to make sure that "nobody" has read/write access to the
>Bayes database/file(s) as well!
Checking this now, will report back

>Found a few other mails from you, are you running Bayes DB in MySQL?
>Then you should have this line in your local.cf as well
>bayes_sql_override_username nobody
I am trying to have bayes in mysql but have not done this until the db
version thing is corrected. I do have override_username nobody in the
local.cf
Just in case you did not see the other posting:
Here's
what we did:
upgraded to 3.2.1 from 3.1.1. We installed 3.1.1, long ago, from a rpm
created from the tarball. When we went to upgrade to 3.2.1, we created a
rpm from tarball; this created 2 rpm's 1 called perl-mail-spamassassin
and 1 called spamassassin. Perl-mail-spamassassin installed fine but
spamassassin rpm failed (see earlier thread for the specifics). So, we
installed from source. This is when we get the bayes db version 0.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Bayes with MySQL question

2007-07-09 Thread carnold5
I got SA 3.2.1 working with mysql or at least spamassassin --lint does
not report any errors. The only thing in the mysql DB is userpref. You
can use mysql and SA site-wide, right?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Bayes with MySQL question

2007-07-09 Thread carnold5
I got SA 3.2.1 working with mysql or at least spamassassin --lint does
not report any errors. The only thing in the mysql DB is userpref. You
can use mysql and SA site-wide, right?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: Bayes to use MySQL

2007-07-09 Thread carnold5
>Check out the "sql" directory in the tarball.
The readme says to install msql-mysql-module. When doing this from cpan
or downloading the tarball and running perl Makefile.PL:
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local] /usr/sbin
Cannot find one of include/mysql/mysql.h, include/mysql.h in /usr/sbin
at lib/DBD/mysql/Install.pm line 165,  line 3.
Searched for mysql.h and none was found. I have mysql 4.1 installed and
running and working.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: bayes not able to be used

2007-07-09 Thread carnold5
Theo Van Dinter wrote:
> On Mon, Jul 09, 2007 at 02:53:56PM -0400, [EMAIL PROTECTED] wrote:
>> I am still getting bayes version 0 aborting error. can someone help with
>> this?
> [...]
>> 0.000  0  3  0  non-token data: bayes db version
>> 0.000  0   2044  0  non-token data: nspam
> [...]
> 
> Are you sure that "sa-learn" and spamd are using the same DB?  Are
there any
> errors when spamd attempts to use the DB?
How would i know if "sa-learn" and spamd are using the same DB? Here's
what we did:
upgraded to 3.2.1 from 3.1.1. We installed 3.1.1, long ago, from a rpm
created from the tarball. When we went to upgrade to 3.2.1, we created a
rpm from tarball; this created 2 rpm's 1 called perl-mail-spamassassin
and 1 called spamassassin. Perl-mail-spamassassin installed fine but
spamassassin rpm failed (see earlier thread for the specifics). So, we
installed from source. This is when we get the bayes db version 0.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Bayes to use MySQL

2007-07-09 Thread carnold5
Ok, i am trying to setup SA 3.2.1 to have bayes use MySQL. when i look
at the config
# Bayes settings
bayes_store_module  Mail::SpamAssassin::BayesStore::SQL
indictaes there is a module that needs to be installed? I am trying to
install bayesstore::mysql using cpan but cpan does not understand
bayesstore::mysql. Can someone inform me what module needs to be
installed to use bayes on mysql? Nothing in the install doc about it.
Also, how do i see what modules are available in cpan?
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: bayes not able to be used

2007-07-09 Thread carnold5
I am still getting bayes version 0 aborting error. can someone help with
this?
>Hmm, what parameters are you passing to spamd? Are you passing a -u?
Not passing any thind to spamd. Spamd runs as "nobody"

>What's sa-learn --dump magic report?
0.000  0  3  0  non-token data: bayes db version
0.000  0   2044  0  non-token data: nspam
0.000  0   1888  0  non-token data: nham
0.000  0 168321  0  non-token data: ntokens
0.000  0 1161452996  0  non-token data: oldest atime
0.000  0 1183669409  0  non-token data: newest atime
0.000  0 1183682517  0  non-token data: last journal
sync atime
0.000  0 1183665883  0  non-token data: last expiry atime
0.000  0   22118400  0  non-token data: last expire
atime delta
0.000  0   4823  0  non-token data: last expire
reduction count

Thanks for the help.

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: Spamd logging to syslog

2007-07-09 Thread carnold5
>It does so by default, to the mail facility.
I should have asked this differently...I need it to log to a different
facility (local4 facility and a file named spamd.log)

>Just to verify, you have the Sys::Syslog module installed?  (I believe it's
>standard with perl, and spamd would likely crash w/ an error if it wasn't,
>but...)
Yes, it is installed. Another question:
I also would like to know how to start/stop spamd using /usr/bin/spamd?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Spamd logging to syslog

2007-07-09 Thread carnold5
After upgrading to 3.2.1 from 3.1.1 and not installing with an rpm, i am
unable to get any shell script to work for spamd. Our old spamd script
was logging to a syslog server. So, using the /usr/bin/spamd binary, is
it possible to log to a syslog server? If so, how would i do this?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Spamd suse script

2007-07-06 Thread carnold5
Does anyone have a spamd script for suse/SLES9 that they would be
willing to share? I have tried the scripts in the spamd folder and cn
not get these to work. I just need a basic script (like the one with
3.1). You could email it to me or upload to my site. Thanks

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: Bayes not able to be used

2007-07-05 Thread carnold5
>Hmm, what parameters are you passing to spamd? Are you passing a -u?
Not passing any thind to spamd. Spamd runs as "nobody"

>What's sa-learn --dump magic report?
0.000  0  3  0  non-token data: bayes db version
0.000  0   2044  0  non-token data: nspam
0.000  0   1888  0  non-token data: nham
0.000  0 168321  0  non-token data: ntokens
0.000  0 1161452996  0  non-token data: oldest atime
0.000  0 1183669409  0  non-token data: newest atime
0.000  0 1183682517  0  non-token data: last journal
sync atime
0.000  0 1183665883  0  non-token data: last expiry atime
0.000  0   22118400  0  non-token data: last expire
atime delta
0.000  0   4823  0  non-token data: last expire
reduction count

Thanks for the help.

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Bayes not able to be used

2007-07-05 Thread carnold5
Upon starting spamd on SA 3.2.1, we see this,
[18662] warn: bayes: bayes db version 0 is not able to be used, aborting! at
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore/DBM.pm
line196,  line 3.
The local.cf has use_bayes   1
I also ran sa-learn --sync -D. This says it found bayes DB version 3 but
i only keep seeing the above error. A ls -l
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm
shows:
-r--r--r--  1 root root 22758 Jun  8 08:55
/usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm
Shouldn't one of those "r's" be "rw"?

Can someone help get this working?
 
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re:sa-update

2007-07-05 Thread carnold5
On Thu, Jul 05, 2007 at 05:01:47PM -0400, 
>Install the required modules.  They're listed in the INSTALL doc.
Thanks Theo!
I installed all but IO::Zlib via cpan and on IO::Zlib, it gives this error:
t/tied..ok
t/uncomp1...FAILED test 5
Failed 1/10 tests, 90.00% okay
t/uncomp2...FAILED test 5
Failed 1/10 tests, 90.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
t/uncomp1.t   101  10.00%  5
t/uncomp2.t   101  10.00%  5
1 subtest skipped.
Failed 2/10 test scripts, 80.00% okay. 2/123 subtests failed, 98.37% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



sa-update

2007-07-05 Thread carnold5
We want to be able to use sa-update. This is a "vanilla" install of SA
3.2.1 using spamd with hula server. when i run sa-update from the CLI, i
get this:
Can't locate LWP/UserAgent.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl) at
/usr/bin/sa-update line 79.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 79.

How do i fix this so we can use sa-update?
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



A few 3.2.1 questions

2007-07-05 Thread carnold5
OK, i am not sure who has been following the "upgrade to 3.2" thread but
i think i have it installed and working? At least spamassassin --lint
and a spamassassin -D < gtube.txt identifies the GTUBE as spam. But a
few things that i don't understand: 1)there is no "spamd" anymore? I do
not have a spamd in my "services". Also a /etc/init.d/spamd stop/start
produces a "command not found". 2)The ok_locales is not in the local.cf,
Can i put ok_locales in the local.cf file and it work? and 3) We had
3.1.0 installed and working before this craziness of upgrading. With
3.1.0 on SLES9, if i remember right, we had to install
perl-mail-spamassassin. This time, to get 3.2.1 installed, i installed
from source and did not install any perl-mail-spamassassin. Is this correct?
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re:Upgrade to 3.2

2007-07-04 Thread carnold5
>Make sure that the directories
>listed in your error logs are owned by the hula user.  Some early versions
>of HULA had problems with SA integration what version of HULA are you
>using?
Using hula r1201. I use to have SA 3.1.0 installed and working with hula
r1201. Then i tried to upgrade to SA 3.2. Best i can recall, i installed
from rpm, the SA 2.64 from the install discs, then upgraded to 3.1.0
from source. But this has been so long ago that i have forgotten how we
did this. Hula's log file does not work in this version, so i don't have
logs of any hula info.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE:Upgrade to 3.2

2007-07-04 Thread carnold5
> Could you please let me know how you call spamd, I am taking it that you
> do this via postfix master.cf and are not running amavis.  What user does
> spamd run as?
Err, not exactly sure how to answer this. I just install SA, configure
the local.cf and start spamd. We use hula which is a netmail product.
Don't believe that we use postfix. I think spamd runs as "nobody" (how
would i know for sure?).

> Sorry for my late repsonses; its a holiday here in the US and I am not at
> my office computer.
Yes, i am loctated on the east coast. Happy 4th!

> Also another user posited that the rpm builds of SA from tarballs will not
> work with SLES.  They actually will, but you have to "trick" Yast to use
> them directly.
I would love to know how to "trick" yast.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE:Upgrade to 3.2

2007-07-04 Thread carnold5
>If you build the tarball you will have a spamassassin rpm and a
perl-Mail-spamassassin rpm.
This is correct; i have a perl-mail-spamassassin rpm

>I might be behind where you are in the process, but first try this

>1) Stop postifx, amavis, and spamassassin
>) Using Yast unistall all the spamassassin and perl-*-spamassassin rpms
>from the database.
>3) Using Yast re-install only SLES9 SA rpms.  Do not remove your pre files
>SA 2.6 will only use what it needs.
>4) See if you can start or call SA with this install first.
>5) Post back any problems you have.
Doing this gives this error when starting spamd from the CLI:
shell-init: could not get current directory: getcwd: cannot access
parent directories: No such file or directory
Starting spamd   done
There is no reference of spamd in yast>runlevel editor.
Also, spamassassin --lint produces:
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm line 163.
Use of uninitialized value in numeric gt (>) at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm line 282.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm line 172.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Bayes.pm line 1000.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Bayes.pm line 1001.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm line 163.
Use of uninitialized value in numeric gt (>) at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm line 282.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/BayesStore.pm line 172.
Use of uninitialized value in numeric lt (<) at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Bayes.pm line 1000.
Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Bayes.pm line 1001.

>I run SLES 10 so I do not have rpms for 9.  Check out Ander's site at
>Norrbring consulting I believe he supports SLES9 still.
I went to that site but i can not read that language. Do you have a
direct link? Thanks for all your help!
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE:Upgrade to 3.2

2007-07-04 Thread carnold5
John D. Hardin wrote:
> On Tue, 3 Jul 2007 [EMAIL PROTECTED] wrote:
> 
>> I downloaded the traball and made a rpm; which created
>> perl-spamassassin.rpm and mail-spamassassin.rpm. I installed
>> perl-spamassassin first using yast and then spamassassin using
>> yast. The spamassassin rpm failed to installed but when i do a rpm
>> -qa spamassassin it shows both 3.1 and 3.2 installed.
> 
> I assume you provided the "upgrade" option on the command line? You 
> can install multiple versions of the same package if you're not 
> careful.
> 
> This should do it:
> 
>   rpm -Uvh *spamassassin*3.2*.rpm
> 
>> I look in /etc/mail/spamassassin and all the 3.1 files are still
>> there along with 3.2pre file.
> 
> What does "spamassassin --debug --lint" say about the version? 
> 
>> Should i uninstall and then reinstall and if i do this, what will
>> happen to all the existing rules and what-not?
> 
> You should know what custom rules you've installed. They should be 
> copied somewhere safe and/or checked into revision control (learn 
> RCS. live RCS.) and should be easy to reinstall if needed.
> 
> It won't hurt to uninstall all of the SA RPMs and reinstall just the 
> latest one.
> 
> The rites of initiation continue... :)
> 
> --
>  John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
>  [EMAIL PROTECTED]FALaholic #11174 pgpk -a [EMAIL PROTECTED]
>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> ---
>   It there a Special Olympics for terrorists going on in the UK this
>   week? -- Bruce Schneier, 07/02/2007
> ---
>  Tomorrow: The 231st anniversary of the Declaration of Independence
>
Wow! I have installed from source, i have installed from rpm and i have
found out that installing from cpan does not work with suse/SLES9. I
have re-downloaded the tarball and the zip file. I have rebuilt the rpm
using rpmbuild -tb  and nothing is working. I have installed
from the install discs which installs Sa 2.64 and used the "upgrade"
option, when installing from rpm, i always get this:
ERROR(InstTarget:E_RpmDB_subprocess_failed)
> ---
> error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127
> 
> 2007-07-03 21:41:52 perl-Mail-SpamAssassin.rpm installed ok
> 2007-07-03 21:43:16 spamassassin.rpm install failed
> rpm output:
> spamassassin  0:off  1:off  2:off  3:on   4:off  5:on   
> 6:off/var/tmp/rpm-tmp.97155: line 13: /sbin/service: No such file 
> or directory
> warning: waiting to reestablish exclusive database lock
> error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re:Upgrade to 3.2

2007-07-03 Thread carnold5
> Well, i may have really messed up now. I uninstalled all spamassassin
> 3.1 using red carpet and the installed perl-spamassassin from rpm 
> usingyast (this was fine). Then i tried to install spamassassin 3.2 
> from rpm
> using yast, this gives this error:
> ERROR(InstTarget:E_RpmDB_subprocess_failed)
> ---
> error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127
> 
> 2007-07-03 21:41:52 perl-Mail-SpamAssassin.rpm installed ok
> 2007-07-03 21:43:16 spamassassin.rpm install failed
> rpm output:
> spamassassin  0:off  1:off  2:off  3:on   4:off  5:on   
> 6:off/var/tmp/rpm-tmp.97155: line 13: /sbin/service: No such file 
> or directory
> warning: waiting to reestablish exclusive database lock
> error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127
> 
> Now we don't have any spam guard. Ooopppsss
> 
> Chris
> 

Sorry to keep sending email but i also get this on a restart of
spamassassin from the runlevel editor:
/etc/init.d/spamassassin: line 12: /etc/rc.d/init.d/functions: No such
file or directory
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE:Upgrade to 3.2

2007-07-03 Thread carnold5
Well, i may have really messed up now. I uninstalled all spamassassin
3.1 using red carpet and the installed perl-spamassassin from rpm using
yast (this was fine). Then i tried to install spamassassin 3.2 from rpm
using yast, this gives this error:
ERROR(InstTarget:E_RpmDB_subprocess_failed)
---
error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127

2007-07-03 21:41:52 perl-Mail-SpamAssassin.rpm installed ok
2007-07-03 21:43:16 spamassassin.rpm install failed
rpm output:
spamassassin  0:off  1:off  2:off  3:on   4:off  5:on   6:off
/var/tmp/rpm-tmp.97155: line 13: /sbin/service: No such file or directory
warning: waiting to reestablish exclusive database lock
error: %post(spamassassin-3.2.1-1) scriptlet failed, exit status 127

Now we don't have any spam guard. Ooopppsss

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE:Upgrade to 3.2

2007-07-03 Thread carnold5
John D. Hardin wrote:
> On Tue, 3 Jul 2007 [EMAIL PROTECTED] wrote:
> 
>> Theo Van Dinter wrote:
>>> "perl-spamassassin" sounds like a package.  Don't mix using CPAN and
using
>>> packages.  If you're using a package, upgrade SA through a package. 
>>> If you want to use CPAN, get rid of the packages first.
>> I did install from rpm. So, if i understand you right, i need to
>> uninstall the rpm's and then use CPAN to install?
> 
> Do one or the other. If you like RPMs, then download the SA tarball
> from the website and rpmbuild it to get an RPM. That's what I do. But
> don't install or try to upgrade SA from CPAN if you've installed it
> from an RPM.
> 
> At this point, if you've partly installed SA from CPAN, you will
> probably want to uninstall the older SA RPM and then reinstall SA from
> CPAN to make sure everything's there.
> 
> Note: even if you install SA from an RPM, you will still need to
> install or upgrade some of the *supporting* modules (like Net::DNS)  
> from CPAN.
> 
> --
>  John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
>  [EMAIL PROTECTED]FALaholic #11174 pgpk -a [EMAIL PROTECTED]
>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> ---
>   It there a Special Olympics for terrorists going on in the UK this
>   week? -- Bruce Schneier, 07/02/2007
> ---
>  Tomorrow: The 231st anniversary of the Declaration of Independence
>
I downloaded the traball and made a rpm; which created
perl-spamassassin.rpm and mail-spamassassin.rpm. I installed
perl-spamassassin first using yast and then spamassassin using yast. The
spamassassin rpm failed to installed but when i do a rpm -qa
spamassassin it shows both 3.1 and 3.2 installed. I look in yast and it
shows 3.2 only. I look in /etc/mail/spamassassin and all the 3.1 files
are still there along with 3.2pre file. Should i uninstall and then
reinstall and if i do this, what will happen to all the existing rules
and what-not?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE:Upgrade to 3.2

2007-07-03 Thread carnold5
Theo Van Dinter wrote:
> "perl-spamassassin" sounds like a package.  Don't mix using CPAN and using
> packages.  If you're using a package, upgrade SA through a package. 
If you
> want to use CPAN, get rid of the packages first.
>
I did install from rpm. So, if i understand you right, i need to
uninstall the rpm's and then use CPAN to install?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE: Upgrade to 3.2

2007-07-03 Thread carnold5
OK, so i installed HTML::Parser and now tried installing SA 3.2 with
cpan. This is what i get with cpan install:
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Mail::SpamAssassin is up to date.

cpan> quit
Caught SIGINT
Lockfile removed.

Do you need to also update perl-spamassassin too? Because when i look to
see what version of SA is installed, my system still shows 3.1.

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Upgrading to 3.2

2007-07-03 Thread carnold5
We are trying to upgrade from 3.1.0 on SLES9 using spamd. I have viewed
the install notes and downloaded the zip. Extracted and CD'd to that new
SA dir. Followed these install instructions:
[unzip/untar the archive]
cd Mail-SpamAssassin-*
perl Makefile.PL
[option: add -DSPAMC_SSL to $CFLAGS to build an SSL-enabled spamc]
make
make install[as root]
On the first step, i get these required errors:
***
ERROR: the required HTML::Parser (version 3.43) module is installed,
but is not an up-to-date version. at
lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 293,  line 1.


  HTML is used for an ever-increasing amount of email so this dependency
  is unavoidable.  Run "perldoc -q html" for additional information.

Followed by a host of other "warnings":
***
NOTE: the optional Mail::SPF module is not installed.

  Used to check DNS Sender Policy Framework (SPF) records to fight email
  address forgery and make it easier to identify spams.  (This is preferred
  over Mail::SPF::Query.)


***
NOTE: the optional Mail::SPF::Query module is not installed.

  Used to check DNS Sender Policy Framework (SPF) records to fight email
  address forgery and make it easier to identify spams.  (Mail::SPF is
  preferred instead of this module.)


***
NOTE: the optional IP::Country module is not installed.

  Used by the RelayCountry plugin (not enabled by default) to determine
  the domain country codes of each relay in the path of an email.


***
NOTE: the optional Net::Ident module is not installed.

  If you plan to use the --auth-ident option to spamd, you will need
  to install this module.


***
NOTE: the optional IO::Socket::INET6 module is not installed.

  This is required if the first nameserver listed in your IP
  configuration or /etc/resolv.conf file is available only via
  an IPv6 address.


***
NOTE: the optional IO::Socket::SSL module is not installed.

  If you wish to use SSL encryption to communicate between spamc and
  spamd (the --ssl option to spamd), you need to install this
  module. (You will need the OpenSSL libraries and use the
  ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
  compatibile spamc.)


***
NOTE: the optional Mail::DomainKeys module is not installed.

  If this module is installed, and you enable the DomainKeys plugin,
  SpamAssassin will perform Domain Key lookups when Domain Key
  information is present in the message headers.  (Note that new versions
  of Mail::DKIM render this module superfluous.)


***
NOTE: the optional Mail::DKIM module is not installed.

  If this module is installed, and you enable the DKIM plugin,
  SpamAssassin will perform DKIM lookups when a DKIM-Signature
  header is present in the message headers.  (New versions of this module
  support both Domain Keys and DKIM, rendering Mail::DomainKeys obsolete.)


***
NOTE: the optional LWP::UserAgent module is not installed.

  The "sa-update" script requires this module to make HTTP requests.


***
NOTE: the optional HTTP::Date module is not installed.

  The "sa-update" script requires this module to make HTTP
  If-Modified-Since GET requests.


***
NOTE: the optional Archive::Tar (version 1.23) module is not installed.

  The "sa-update" script requires this module to access tar update
  archive files.


***
NOTE: the optional IO::Zlib (version 1.04) module is not installed.

  The "sa-update" script requires this module to access compressed
  update archive files.


***
NOTE: the optional Encode::Detect module is not installed.

  If you plan to use the normalize_charset config setting to detect
  charsets and convert them into Unicode, you will need to install
  this module.

REQUIRED module out of date: HTML::Parser
optional module missing: Mail::SPF
optional module missing: Mail::SPF::Query
optional module missing: IP::Country
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: IO::Socket:

Undelivered/Returned email

2007-06-27 Thread carnold5
This morning, i see where i got hit with 20-30 undelivered or returned
emails. All these emails had different from's ([EMAIL PROTECTED])
and all were addressed to me but had fake real names. Clearly these are
spam emails as the bodies had something like the following:
Dobrogo vremeni sytok dami i gospoda!

Predlagaem vashemy vnimaniy servis po4tovix rassilok.
Priemlemye ceny, horoshee kachestvo, vysokaja skorost'.

Rassylki po stranam: Rossii, Ukraini, USA,
Germanii,Francii,Italii,Avstralii,JAponii i dr. 

Rossija: 
- 1 000 000 adresov (Moskva i Oblast') 100$ 
- 3 000 000 adresov (Moskva i Oblast') 200$ 
- 5 000 000 adresov (Central'nyj region) 300$ 
- 8 000 000 adresov (Vsja Rossija) 500$
USA: 
- 1 000 000 adresov 100$ 
- 3 000 000 adresov 200$ 
- 5 000 000 adresov 300$ 
- 8 000 000 adresov 500$ 
- 16 000 000 adresov 900$ 
- 32 000 000 adresov 1 500$ 
Avstralija: 
- 1 000 000 adresov 100$ 
- 3 000 000 adresov 200$ 
Germanija: 
- 1 000 000 adresov 100$ 
- 3 000 000 adresov 200$ 
- 5 000 000 adresov 300$ 
- 8 000 000 adresov 500$

Kontakt: [EMAIL PROTECTED]

How do i stop this from happening?

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE: Setup SA to use mysql DB

2007-06-22 Thread carnold5
Jonn R Taylor wrote:
> What version of SA? When you built SA from a tarball you did "rpmbuild
> -tb Mail-SpamAssassin-3.2.1.tar.gz". You may want to rebuild SA from
> source and then do a rpm -Uvh to install.
> 
> Jonn
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 22, 2007 9:25 AM
> To: users@spamassassin.apache.org
> Subject: RE: Setup SA to use mysql DB
> 
> Jonn R Taylor wrote:
>> Verify that you do not have 2 versions of perl installed and that part
>> of your SA install did not go in the wrong version. What OS and how
> did
>> you build SA?
>>
>> Jonn
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Friday, June 22, 2007 8:22 AM
>> To: users@spamassassin.apache.org
>> Subject: RE: Setup SA to use mysql DB
>>
>> Jonn R Taylor wrote:
>>> This is what I use and it has been working for the last 3 years.
>>>
>>> # MySQL Setup
>>> use_razor2 1
>>> use_bayes_rules 1
>>> allow_user_rules 1
>>> use_auto_whitelist   1
>>>
>>> user_scores_dsn DBI:mysql:spamassassin:127.0.0.1
>>> user_scores_sql_usernamex
>>> user_scores_sql_passwordx
>>>
>>> bayes_store_module  Mail::SpamAssassin::BayesStore::MySQL
>>> bayes_sql_dsn DBI:mysql:spamassassin:127.0.0.1
>>> bayes_sql_username  x
>>> bayes_sql_password  x
>>> bayes_sql_override_username @GLOBAL
>>>
>>> auto_whitelist_factory  Mail::SpamAssassin::SQLBasedAddrList
>>> user_awl_dsnDBI:mysql:spamassassin:127.0.0.1
>>> user_awl_sql_username   x
>>> user_awl_sql_password   x
>>>
>>>
>>> Jonn
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, June 21, 2007 2:23 PM
>>> To: users@spamassassin.apache.org
>>> Subject: Setup SA to use mysql DB
>>>
>>> OK, i have gotten a little further after searching some other email.
>>> This is what i get when i run spamassassin --lint
>>> [3069] warn: config: failed to parse line, skipping: bayes_store_dsn
>>> DBI:mysql:sadb:Spamassassin
>>> Can't locate Mail/Spamassassin/BayesStore/MySQL.pm in @INC (@INC
>>> contains: lib
> /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
>>> /usr/lib/perl5/vendor_perl/5.8.3
>>> /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
>>> /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
>>> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
>>> /usr/lib/perl5/vendor_perl) at (eval 2266) line 2.
>>> This is what my local.cf looks like:
>>> bayes_store_dsnDBI:mysql:sadb:Spamassassin*what does this
>>> signify? Can someone break this line down?
>>> bayes_sql_username is this the user of the mysql DB?
>>> bayes_sql_password >password>is this the password for the
> user
>>> of the mysql DB?
>>> bayes_sql_override_username  vscan*is this suppose to be here?
>>> bayes_store_module Mail::Spamassassin::BayesStore::MySQL
>>>
>>>
>>>
>> OK, it seems i have the MySQL.pm missing. But when i search for that
> pm
>> on the spamassassin apache site, no go. I do see the DBI pm and have
>> installed that thinking it may have "taken the place of" mysql.pm but
> i
>> still get the same error when running spamassassin --lint. You do need
>> the mysql.pm, right? The doco seems a little sparse when it comes to
>> getting this to work.
>>
>> Chris
>>
>>
>>
>>
>>
>>
>>
>>
>>
> 
> We use perl 5.8.3 and SLES9. As far as i can remember, SA was installed
> with an rpm that was built from tarball?
> 
My first post states we use SA 3.1.0.

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Re: Setup SA to use mysql DB

2007-06-22 Thread carnold5
Nigel Frankcom wrote:
> S'cuse the top post but
> 
> If you're going to the trouble of tarball --> RPM, why not just do yum
> install spamassassin?
> 
> KR
> 
> Nigel
> 
> On Fri, 22 Jun 2007 10:11:14 -0500, "Jonn R Taylor"
> <[EMAIL PROTECTED]> wrote:
> 
>> What version of SA? When you built SA from a tarball you did "rpmbuild
>> -tb Mail-SpamAssassin-3.2.1.tar.gz". You may want to rebuild SA from
>> source and then do a rpm -Uvh to install.
>>
>> Jonn
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, June 22, 2007 9:25 AM
>> To: users@spamassassin.apache.org
>> Subject: RE: Setup SA to use mysql DB
>>
>> Jonn R Taylor wrote:
>>> Verify that you do not have 2 versions of perl installed and that part
>>> of your SA install did not go in the wrong version. What OS and how
>> did
>>> you build SA?
>>>
>>> Jonn
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, June 22, 2007 8:22 AM
>>> To: users@spamassassin.apache.org
>>> Subject: RE: Setup SA to use mysql DB
>>>
>>> Jonn R Taylor wrote:
 This is what I use and it has been working for the last 3 years.

 # MySQL Setup
 use_razor2 1
 use_bayes_rules1
 allow_user_rules 1
 use_auto_whitelist   1

 user_scores_dsnDBI:mysql:spamassassin:127.0.0.1
 user_scores_sql_usernamex
 user_scores_sql_passwordx

 bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
 bayes_sql_dsnDBI:mysql:spamassassin:127.0.0.1
 bayes_sql_username  x
 bayes_sql_password x
 bayes_sql_override_username @GLOBAL

 auto_whitelist_factory  Mail::SpamAssassin::SQLBasedAddrList
 user_awl_dsnDBI:mysql:spamassassin:127.0.0.1
 user_awl_sql_username   x
 user_awl_sql_password   x


 Jonn

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 21, 2007 2:23 PM
 To: users@spamassassin.apache.org
 Subject: Setup SA to use mysql DB

 OK, i have gotten a little further after searching some other email.
 This is what i get when i run spamassassin --lint
 [3069] warn: config: failed to parse line, skipping: bayes_store_dsn
 DBI:mysql:sadb:Spamassassin
 Can't locate Mail/Spamassassin/BayesStore/MySQL.pm in @INC (@INC
 contains: lib
>> /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.3
 /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
 /usr/lib/perl5/vendor_perl) at (eval 2266) line 2.
 This is what my local.cf looks like:
 bayes_store_dsnDBI:mysql:sadb:Spamassassin*what does this
 signify? Can someone break this line down?
 bayes_sql_username is this the user of the mysql DB?
 bayes_sql_password >password>is this the password for the
>> user
 of the mysql DB?
 bayes_sql_override_username  vscan*is this suppose to be here?
 bayes_store_module Mail::Spamassassin::BayesStore::MySQL



>>> OK, it seems i have the MySQL.pm missing. But when i search for that
>> pm
>>> on the spamassassin apache site, no go. I do see the DBI pm and have
>>> installed that thinking it may have "taken the place of" mysql.pm but
>> i
>>> still get the same error when running spamassassin --lint. You do need
>>> the mysql.pm, right? The doco seems a little sparse when it comes to
>>> getting this to work.
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> We use perl 5.8.3 and SLES9. As far as i can remember, SA was installed
>> with an rpm that was built from tarball?
>>
>>
Why don't i use yum install spamassassin, that would be because SLES9
does not have/use yum. It uses Red Carpet and yum is not available on
the install disks. Beside, i am not trying to install SA.

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE: Setup SA to use mysql DB

2007-06-22 Thread carnold5
Jonn R Taylor wrote:
> Verify that you do not have 2 versions of perl installed and that part
> of your SA install did not go in the wrong version. What OS and how did
> you build SA?
> 
> Jonn
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 22, 2007 8:22 AM
> To: users@spamassassin.apache.org
> Subject: RE: Setup SA to use mysql DB
> 
> Jonn R Taylor wrote:
>> This is what I use and it has been working for the last 3 years.
>>
>> # MySQL Setup
>> use_razor2 1
>> use_bayes_rules  1
>> allow_user_rules 1
>> use_auto_whitelist   1
>>
>> user_scores_dsn  DBI:mysql:spamassassin:127.0.0.1
>> user_scores_sql_usernamex
>> user_scores_sql_passwordx
>>
>> bayes_store_module   Mail::SpamAssassin::BayesStore::MySQL
>> bayes_sql_dsn  DBI:mysql:spamassassin:127.0.0.1
>> bayes_sql_username  x
>> bayes_sql_password   x
>> bayes_sql_override_username @GLOBAL
>>
>> auto_whitelist_factory  Mail::SpamAssassin::SQLBasedAddrList
>> user_awl_dsnDBI:mysql:spamassassin:127.0.0.1
>> user_awl_sql_username   x
>> user_awl_sql_password   x
>>
>>
>> Jonn
>>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, June 21, 2007 2:23 PM
>> To: users@spamassassin.apache.org
>> Subject: Setup SA to use mysql DB
>>
>> OK, i have gotten a little further after searching some other email.
>> This is what i get when i run spamassassin --lint
>> [3069] warn: config: failed to parse line, skipping: bayes_store_dsn
>> DBI:mysql:sadb:Spamassassin
>> Can't locate Mail/Spamassassin/BayesStore/MySQL.pm in @INC (@INC
>> contains: lib /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.3
>> /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
>> /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl) at (eval 2266) line 2.
>> This is what my local.cf looks like:
>> bayes_store_dsnDBI:mysql:sadb:Spamassassin*what does this
>> signify? Can someone break this line down?
>> bayes_sql_username is this the user of the mysql DB?
>> bayes_sql_password >password>is this the password for the user
>> of the mysql DB?
>> bayes_sql_override_username  vscan*is this suppose to be here?
>> bayes_store_module Mail::Spamassassin::BayesStore::MySQL
>>
>>
>>
> 
> OK, it seems i have the MySQL.pm missing. But when i search for that pm
> on the spamassassin apache site, no go. I do see the DBI pm and have
> installed that thinking it may have "taken the place of" mysql.pm but i
> still get the same error when running spamassassin --lint. You do need
> the mysql.pm, right? The doco seems a little sparse when it comes to
> getting this to work.
> 
> Chris
> 
> 
> 
> 
> 
> 
> 
> 
> 

We use perl 5.8.3 and SLES9. As far as i can remember, SA was installed
with an rpm that was built from tarball?
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



RE: Setup SA to use mysql DB

2007-06-22 Thread carnold5
Jonn R Taylor wrote:
> This is what I use and it has been working for the last 3 years.
> 
> # MySQL Setup
> use_razor2 1
> use_bayes_rules   1
> allow_user_rules 1
> use_auto_whitelist   1
> 
> user_scores_dsn   DBI:mysql:spamassassin:127.0.0.1
> user_scores_sql_usernamex
> user_scores_sql_passwordx
> 
> bayes_store_moduleMail::SpamAssassin::BayesStore::MySQL
> bayes_sql_dsn   DBI:mysql:spamassassin:127.0.0.1
> bayes_sql_username  x
> bayes_sql_passwordx
> bayes_sql_override_username @GLOBAL
> 
> auto_whitelist_factory  Mail::SpamAssassin::SQLBasedAddrList
> user_awl_dsnDBI:mysql:spamassassin:127.0.0.1
> user_awl_sql_username   x
> user_awl_sql_password   x
> 
> 
> Jonn
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 21, 2007 2:23 PM
> To: users@spamassassin.apache.org
> Subject: Setup SA to use mysql DB
> 
> OK, i have gotten a little further after searching some other email.
> This is what i get when i run spamassassin --lint
> [3069] warn: config: failed to parse line, skipping: bayes_store_dsn
> DBI:mysql:sadb:Spamassassin
> Can't locate Mail/Spamassassin/BayesStore/MySQL.pm in @INC (@INC
> contains: lib /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3
> /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl) at (eval 2266) line 2.
> This is what my local.cf looks like:
> bayes_store_dsnDBI:mysql:sadb:Spamassassin*what does this
> signify? Can someone break this line down?
> bayes_sql_username is this the user of the mysql DB?
> bayes_sql_password >password>is this the password for the user
> of the mysql DB?
> bayes_sql_override_username  vscan*is this suppose to be here?
> bayes_store_module Mail::Spamassassin::BayesStore::MySQL
> 
> 
> 

OK, it seems i have the MySQL.pm missing. But when i search for that pm
on the spamassassin apache site, no go. I do see the DBI pm and have
installed that thinking it may have "taken the place of" mysql.pm but i
still get the same error when running spamassassin --lint. You do need
the mysql.pm, right? The doco seems a little sparse when it comes to
getting this to work.

Chris






begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Setup SA to use mysql DB

2007-06-21 Thread carnold5
OK, i have gotten a little further after searching some other email.
This is what i get when i run spamassassin --lint
[3069] warn: config: failed to parse line, skipping: bayes_store_dsn   
DBI:mysql:sadb:Spamassassin
Can't locate Mail/Spamassassin/BayesStore/MySQL.pm in @INC (@INC
contains: lib /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl) at (eval 2266) line 2.
This is what my local.cf looks like:
bayes_store_dsnDBI:mysql:sadb:Spamassassin*what does this
signify? Can someone break this line down?
bayes_sql_username is this the user of the mysql DB?
bayes_sql_password >password>is this the password for the user
of the mysql DB?
bayes_sql_override_username  vscan*is this suppose to be here?
bayes_store_module Mail::Spamassassin::BayesStore::MySQL
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Setup SA to use MySQL DB

2007-06-21 Thread carnold5
We have a small office (under 10 people) and use SA 3.1.0. We only use
SA with spamd (no options). Just SA and hula (i think it is a netmail
product) mail server running on SLES9.
I have been tasked with making SA use our MySQL DB. Now, we have been
using SA in a site-wide config for sometime now. I am following
http://wiki.apache.org/spamassassin/UsingSQL
When i get to Testing your Setup section, this follows:
make sure spamd is running with the -q flag and that your SQL
preferences are correct in your local.cf. I think i can handle running
spamd with the -q option (stop spamd and then start it with -q). If i
have a script starting spamd, what do i modify in that script to always
start spamd with -q? Attached is the spamd script. Another question is
what are the SQL config for the SQL preferences in your local.cf? I
don't see that.


Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Questionable email

2007-01-28 Thread carnold5
Hello all! This is not spamassassin related (altho i do use it on my
mail server). I just got this email and i am wondering if this is just a
case of someone using my email address or did someone send this email
via my mail server?
Here is the email
Your message to: [EMAIL PROTECTED]
was blocked by our Spam Firewall. The email you sent with the following
subject has NOT BEEN DELIVERED:

Subject: New Life Products Supersite Launch!Live life to the fullest




Reporting-MTA: dns; antispam21.skyonline.net
Received-From-MTA: smtp; antispam21.skyonline.net ([127.0.0.1])
Arrival-Date: Sun, 28 Jan 2007 17:29:42 -0300 (ART)

Final-Recipient: rfc822; [EMAIL PROTECTED]
Action: failed
Status: 5.7.1
Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, UBE,
id=19715-01-599
Last-Attempt-Date: Sun, 28 Jan 2007 17:29:44 -0300 (ART)



Received: from anga.pair.com (anga.pair.com [209.68.1.103])
by antispam21.skyonline.net (Spam Firewall) with SMTP id D1A8F4FA24C
for <[EMAIL PROTECTED]>; Sun, 28 Jan 2007 17:29:22 -0300 (ART)
Received: (qmail 20952 invoked by uid 3139); 28 Jan 2007 20:29:12 -
Delivered-To: lappas1-lappas:[EMAIL PROTECTED]
Received: (qmail 20949 invoked from network); 28 Jan 2007 20:29:11 -
Received: from localhost.pair.com (HELO anga.pair.com) (127.0.0.1)
  by localhost.pair.com with SMTP; 28 Jan 2007 20:29:11 -
Received: from c-69-140-15-122.hsd1.md.comcast.net
(c-69-140-15-122.hsd1.md.comcast.net [69.140.15.122])
by anga.pair.com (Postfix) with ESMTP id 9DD28A322A
for <[EMAIL PROTECTED]>; Sun, 28 Jan 2007 15:29:11 -0500 (EST)
Received: from [189.137.78.19] (HELO YBAQK)
by 69.140.15.122 (CommuniGate Pro SMTP 5.0.11)
with SMTP id 39599391 for [EMAIL PROTECTED]; Sun, 28 Jan 2007
15:28:45 -0500
Message-ID: <[EMAIL PROTECTED]>
From: "carnold" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: New Life Products Supersite Launch!Live life to the fullest
Date: Sun, 28 Jan 2007 15:28:45 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_NextPart_000_020D_01C742F0.FFCE6890"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962

begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Rewrite subject with score

2006-12-02 Thread carnold5
I have seen this in the past but now can not find those email on how to
do this. What i want to do is rewrite the subject line so when it is
thought to be spam, it will appear like this:
[SPAM]
=the score of the email thought to be spam.
Can some please let me know how to do this.

Chris
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Thunderbird Coach

2006-09-09 Thread carnold5
Nevermind..I am an 1d10t.
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Thunderbird Coach

2006-09-09 Thread carnold5
I got Spamassassin Coach for Thunderbird install on my linux box. The
problem is now that the "learn as spam" button is dulled out. clicking
on any message does not "light" the button up. what am i doing wrong?
Using SLED linux and t-bird 1.5.0.5. Thanks for any help
begin:vcard
n:Arnold;Chris
fn:Arnold, Chris
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



ImageInfo path

2006-08-07 Thread carnold5
Hello all. Mostly a lurker here. I am trying to install the imageinfo
plugin. So, i followed the instructions, place *.pm file in "Plugins"
dir and *.cf file in "Spamassassin" dir. Do a spamassassin --lint and get 
[6870] warn: plugin: failed to parse plugin (from @INC): Can't locate
Mail/SpamA  ssassin/Plugin/ImageInfo.pm in @INC (@INC
contains: /usr/lib/perl5/vendor_perl/5 
.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/5.8  .3/i586-linux-thread-multi
/usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i 
586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl /  usr/lib/perl5/vendor_perl) at
(eval 58) line 1.
[6870] warn: plugin: failed to create instance of plugin
Mail::SpamAssassin::Plu  gin::ImageInfo: Can't locate object
method "new" via package "Mail::SpamAssassin 
::Plugin::ImageInfo" at (eval 59) line 1.

I am sure it has to do with the dir structure. We use oes-linux and the
dir structure on it is /etc/mail/spamassassin. So i am asking in what
file do i change the path from /mail/spamassassin to
/etc/mail/spamassassin. I have searched through the 2 files (*.pm and
*.cf and can not find it_). Thanks for any help
begin:vcard
n:Arnold;Chris
fn:Chris, Arnold
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Bayes corrupt?

2006-07-15 Thread carnold5
Hello all! I am mostly a lurker here on this list. I have been using
spamassassin for about 2 months now. I use it in a site-wide config on
an OES-Linux server (based on SLES9). I use hula as my email server with
spamd. I noticed that my emails are not marked with any "spam" headings,
so i looked in the log file and see where the spam are getting
auto-learned as ham. So, i turned off "auto-learn" and ran sa-learn
--spam /path to spam. 1 message was learned as spam when i have over 200
spam in the spam folder. So, i am thinking the bayes database is
corrupt? Is it ok to --clear the database and start over again without
auto-learn on? Thanks

Chris
begin:vcard
n:Arnold;Chris
fn:Chris, Arnold
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Noob config question

2006-06-24 Thread carnold5
Hello all! I am using SA-3.1.0 for OES-Linux (novell distro based on
SLES9); mail server using Hula (Netmail) also a novell product. Clients
are thunderbird.
I guess my first problem is, i don't seem to have SA configured right,
let me explain. I goto my yahoo account and send an email to me (which
is on the SA mail server). So far so good :)
When i view this email i sent to myself, i do not see any X-whatever
entries in this mail. Nothing that references SA in anyway. I am using
the default SA config with only a few rules from rulesemporium. Obivious
spam is getting marked SPAM*** and moved to the spam folder. So
something does appear to work related to SA. You can see, i am a bit
confused why nothing is getting marked in relation to SA from the email
i sent myself? Here is the header from that email:
Received: from web36204.mail.mud.yahoo.com not authenticated
[209.191.68.230]by mydomain.com with NetMail SMTP Agent $Revision:
1.7 $;  Sat, 24 Jun 2006 09:19:37 -0400
Received: (qmail 3072 invoked by uid 60001); 24 Jun 2006 13:32:56 -
Message-ID: <[EMAIL PROTECTED]>
Received: from [my.ip.here.] by web36204.mail.mud.yahoo.com via HTTP;
Sat, 24 Jun 2006 06:32:56 PDT
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

This is a basic/small setup with 5 users using the global SA config. Any
insight is helpful. Thanks

Chris
begin:vcard
n:Arnold;Chris
fn:Chris, Arnold
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Local.cf makeup

2006-04-19 Thread carnold5
Using spamassassin 2.63 on Novell OES SP1. 
Also, i have the local.cf file in etc/mail/spamassassin. If i want to
use any of the "tests" (like dnsbl), do i copy the
/usr/share/spamassassin/20_dnsbl_tests.cf file contents into the
local.cf file? Thanks in advance

Chris
begin:vcard
n:Arnold;Chris
fn:Chris, Arnold
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard



Upgrade info

2006-04-19 Thread carnold5
Hello all! I am new to spamassassin and in need of upgrade how-to. I am
using Novell's OES SP1 with hula mailserver r1211 and spamassassin 2.63.
I downloaded mail-spamassassin-3.1.1.tar.gz and built an rpm using
rpmbuild -tb Mail-Spamassassin-3.1.1.tar.gz. This process completed but
i do not see the rpm. A more direct question, how do i upgrade to 3.1.1?
Thanks for any help.

Chris
begin:vcard
n:Arnold;Chris
fn:Chris, Arnold
url:http://www.mytimewithgod.net
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard