Re: Errors running SpamAssassin

2022-02-08 Thread Bernard

I'd run "sh -x /etc/cron.daily/spamassassin"
to see what command in that file failed. I assume it is the sa-compile 
command.


I got some more results.
Here are the steps I made:
1. Remove everything from /var/lib/spamassassin
2. Reinstall spamassassin package
3. Recreate /var/lib/spamassassin/compiled directory with 
debian-spamd:debian-spamd ownership

4. Run sudo sh -x /etc/cron.daily/spamassassin

Here is the output I collected:
+ CRON=0
+ test -f /etc/default/spamassassin
+ . /etc/default/spamassassin
+ SPAMD_HOME=/run/spamd/
+ OPTIONS=--create-prefs --max-children 5 --helper-home-dir /run/spamd/ 
--listen /run/spamd/spamd.sock --username debian-spamd -s spamd 
--allow-tell --timeout-child=30

+ PIDFILE=/run/spamd/spamd.pid
+ NICE=--nicelevel 15
+ CRON=1
+ test -x /usr/bin/sa-update
+ test -x /etc/init.d/spamassassin
+ command -v gpg
+ [ 1 = 0 ]
+ [ ! -t 0 ]
+ umask 022
+ env -i LANG=en_GB.UTF-8 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
http_proxy= start-stop-daemon --chuid debian-spamd:debian-spamd --start 
--exec /usr/bin/sa-update -- --gpghomedir 
/var/lib/spamassassin/sa-update-keys
+ env -i LANG=en_GB.UTF-8 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
start-stop-daemon --chuid debian-spamd:debian-spamd --start --exec 
/usr/bin/spamassassin -- --lint

+ do_compile
+ [ -x /usr/bin/re2c -a -x /usr/bin/sa-compile ]
+ env -i LANG=en_GB.UTF-8 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
start-stop-daemon --chuid debian-spamd:debian-spamd --start --exec 
/usr/bin/sa-compile -- --quiet

chmod: cannot access 'body_0.bs': No such file or directory
make: *** [Makefile:465: body_0.bs] Error 1
command 'make PREFIX=/tmp/.spamassassin11033rJy6vLtmp/ignored 
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.032/3.004006 
>>/tmp/.spamassassin11033rJy6vLtmp/log' failed: exit 2
+ runuser -u debian-spamd -- chmod -R go-w,go+rX 
/var/lib/spamassassin/compiled

+ reload
+ which invoke-rc.d
+ invoke-rc.d --quiet spamassassin status
+ invoke-rc.d spamassassin reload
+ [ -d /etc/spamassassin/sa-update-hooks.d ]
+ run-parts --lsbsysinit /etc/spamassassin/sa-update-hooks.d

The error in the middle is the one reported daily through the run of the 
cron job.
Might there be something wrong with my environment? Else, what could be 
wrong/needs checking?


Bernard


Re: Errors running SpamAssassin

2022-02-07 Thread Bernard

Thanks for your help Ian,


I'd run "sh -x /etc/cron.daily/spamassassin"
to see what command in that file failed. I assume it is the sa-compile command.


Running /etc/cron.daily/spamassassin manually, either with "-x" provided 
to the shell or simply by running it, letting the shebang do the job, 
doesn't yield any error.
It seems the environment might not exactly be the same when running 
through the cron job, but I can't put my finger on it.


Bernard


Re: Errors running SpamAssassin

2022-02-05 Thread Bernard




What version are you running, what os version, etc.


Debian (Bullseye) 11 like platform:

SpamAssassin version 3.4.6
  running on Perl version 5.32.1

Package: spamassassin
Version: 3.4.6-1
[...]
Maintainer: Noah Meyerhans 
[...]
Homepage: https://spamassassin.apache.org/

Bernard


Errors running SpamAssassin

2022-02-04 Thread Bernard
I got SpamAssassin on my server for a long time, and from time to time 
it was reporting errors now and then from the daily scheduled task.


However, for the past week, the error is now constant.

I get the following error by email:
/etc/cron.daily/spamassassin:
chmod: cannot access 'body_0.bs': No such file or directory
make: *** [Makefile:465: body_0.bs] Error 1
command 'make PREFIX=/tmp/.spamassassin22314pi2fCtmp/ignored 
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.032/3.004006 
>>/tmp/.spamassassin22314pi2fCtmp/log' failed: exit 2


Looking at the contents of /tmp/.spamassassin22314pi2fCtmp/log:
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for body_0 ()
chmod 644 "body_0.bs"

/var/lib/spamassassin seems to contain a lot of outdated stuff:
drwxr-xr-x 3 debian-spamd debian-spamd 4096 Jun 18  2017 3.004000
drwxr-xr-x 3 debian-spamd debian-spamd 4096 Nov 10  2018 3.004001
drwxr-xr-x 3 debian-spamd debian-spamd 4096 Oct 16 04:47 3.004002
drwxr-xr-x 3 debian-spamd debian-spamd 4096 Feb  4 07:08 3.004006
drwxr-xr-x 3 debian-spamd debian-spamd 4096 Oct 16 17:32 compiled
drwx-- 3 debian-spamd debian-spamd 4096 Feb  2 14:26 sa-update-keys

I never really understood what I was doing with SpamAssassin...

Bernard


Re: SpamAssassin score

2017-03-20 Thread Bernard
Thanks Reindl, David, Martin & Joe for replying!

Reindl:

> 100 each at minimum - you only trained 23 spam samples but 1729 ham
> which is a bad balance and you would not want bayes kick in with such
> a bad database - how do you imagine a statistic analyse based on 23
> samples with a magnitude more non-spam-tokens?

It seems to actually require even more.

David:

> If you don't see any BAYES_* rule hits make sure the plugin is enabled:
>
> v320.pre:loadplugin Mail::SpamAssassin::Plugin::Bayes
>
> Run a debug lint and check for bayes output:
>
> spamassassin -D --lint 2>&1 | grep -i bayes
>
> You should see a BAYES_ in the test= line near the end.

Got it:
dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC

> Another common problem is the Bayes training is done as one user
> while spamassassin is being called by a different user.  This depends on
> how/what is launching SA -- amavis-new, spamd, MailScanner, etc.

That is normally taken care of properly.
My setup is :

  * postfix -> spamd (through spamc) -> dovecot on reception
  * dovecot's antispam plugin -> spamd (through spamc) on mail directory
change
  * sa-learn for training

All components ar invoked with the same debian-spamd user (which own
/var/lib/spamassassin -sub-directory and files).

Martin & Joe:

> There is also a strong a clue that this is designed behavior when you
> consider that Bayes has no effect on spam scoring until its has learnt
> 200 ham AND spam messages.
>
> You need to train more than 23 messages as ham first. Read the
> documentation in the SA manpages and on the wiki to make sure you meet
> every criteria for running bayes.
>
Bingo!
The spamassassin -D invocation as filtered before also popped up
something related:
dbg: bayes: not available for scanning, only 23 spam(s) in bayes DB < 200

I got no-one to blacklist, I was merely testing a custom-made 'Spam
test' message which seems to be useless (and maybe harmful in the end?).
I'll wait to be an advanced user w/ SA before attempting to
black/whitelist senders or write rules, unless events push me into doing
it ofc.


So far, all received messages have SpamAssassin headers, meaning the
delivery works and a small debug session on the antispam plugin seems to
show it reacts properly and sends commands to spamc correctly (hoping
the SA client + daemon handle/receive everything correctly).

All in all, I require more spam to trigger the bayesian filter. Only
then I will be able to assert it being running properly or not it seems.
At least it is loaded.
I thought the database (updated daily if it works) would provide it with
a kickstarted. I was probably mixing-up separate components.

Thus I sit hanging tight, hoping for the best... Thanks for your help.
---
Bernard


Re: SpamAssassin score

2017-03-20 Thread Bernard
Thanks for that information.

After ~1750 messages having been digested, still no improvement:
0.000  0  3  0  non-token data: bayes db version
0.000  0 23  0  non-token data: nspam
0.000  0   1729  0  non-token data: nham
0.000  0 123471  0  non-token data: ntokens
0.000  0 1358530476  0  non-token data: oldest atime
0.000  0 1489938564  0  non-token data: newest atime
0.000  0  0  0  non-token data: last journal
sync atime
0.000  0  0  0  non-token data: last expiry atime
0.000  0  0  0  non-token data: last expire
atime delta
0.000  0  0  0  non-token data: last expire
reduction count

Have you got an idea of the required order of magnitude of the input
volume for the bayesian filter to kick in?
---
Bernard

On 20/03/2017 11:15, Reindl Harald wrote:
>
>
> Am 20.03.2017 um 11:12 schrieb Bernard:
>>  1. How come the same message being classified either as spam/ham
>> returns the same score? I would expect a message learnt as 'spam' to
>> get a score at least equal to the spam score threshold
>>  2. Even though the message was correctly learnt as spam before and
>> after the test, receiving this email message is still not tagged as
>> spam:
>>
>> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ***
>> X-Spam-Level: **
>> X-Spam-Status: No, score=2.1 required=5.0
>> tests=MISSING_HEADERS,SPF_FAIL,
>> SPF_HELO_FAIL autolearn=no autolearn_force=no version=3.4.0
>>
>> Am I missing something?
>
> yes, tarin your bayers properly with enough spam *and* ham samples and
> train the bayes wihich is really in use - do you see any BAYES_ tag
> above? no! so bayes was not used at all


SpamAssassin score

2017-03-20 Thread Bernard
Hello,

Using SpamAssassin, I am trying to make it learn 'bad' messages.

Experimenting with the learning process, I do not seem to be able to
reach a successful outcome:
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock
--learntype=spam < spamassassin/junktestmail
Message was already un/learned
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock -c <
spamassassin/junktestmail &&hideme
3.7/5.0
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock
--learntype=ham < spamassassin/junktestmail
Message successfully un/learned
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock
--learntype=ham < spamassassin/junktestmail
Message was already un/learned
$ hideprev
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock -c <
spamassassin/junktestmail &&hideme
3.7/5.0
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock
--learntype=spam < spamassassin/junktestmail
Message successfully un/learned
$ spamc --username=debian-spamd --socket=/run/spamd/spamd.sock
--learntype=spam < spamassassin/junktestmail
Message was already un/learned

 1. How come the same message being classified either as spam/ham
returns the same score? I would expect a message learnt as 'spam' to
get a score at least equal to the spam score threshold
 2. Even though the message was correctly learnt as spam before and
after the test, receiving this email message is still not tagged as
spam:

X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ***
X-Spam-Level: **
X-Spam-Status: No, score=2.1 required=5.0 tests=MISSING_HEADERS,SPF_FAIL,
SPF_HELO_FAIL autolearn=no autolearn_force=no version=3.4.0

Am I missing something?
---
Bernard


Re: sa-update doesn't work anymore after upgrade to spamassassin-3.3.2-4.el4.rfx

2012-03-18 Thread Bernard Lheureux

On 03/18/2012 04:24 PM, Bernard Lheureux wrote:
I found why, that was related to my firewall, now everything is OK...
I simply had to disable the outgoing rules for DNS-OUT, because OUT is 
allowed from all, and now all is OK

Thanks a lot to all of you !


On 03/18/2012 03:40 PM, Kevin A. McGrail wrote:


Which ports should I open to ensure it works not only port 53 udp 
and tcp ?


I'm assuming dig -t txt 2.3.3.updates.spamassassin.org @ns.erols.com  
doesn't work for you either.


http://systembash.com/content/dns-server-firewall-open-ports/

Has a good list of ports but it's basically 53 tcp/udp and every 
single upper port because of the back channel.  If your firewall 
automatically recognizes and opens back channels, you might be ok.
My FW is a Watchguard Firebox III/700 and ALL is open for OUTGOING, 
then I don't think this could be caused by this...

But I cannot find why this answers always:
[root@myserver ~]# dig -t txt 2.3.3.updates.spamassassin.org

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> -t txt 
2.3.3.updates.spamassassin.org

;; global options:  printcmd
;; connection timed out; no servers could be reached

I use my own Bind9 DNS server which is running OK for a long time ago...
And the 2 forwarders on this server are the 2 DNSes of my ISP what 
could be wrong ?

Do you know if I could try to use public DNS as forwarders ?
If yes, which ones ?


--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/<<<<<<  *>>>>>>  http://www.portalinux.org/




--
  M$-Internet Exploder est le cancer de l'Internet, voyez pourquoi ici:
  http://www.aful.org/ressources/documentations/msie-problemes-securite

--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/<<<<<<  *>>>>>>  http://www.portalinux.org/




Re: sa-update doesn't work anymore after upgrade to spamassassin-3.3.2-4.el4.rfx

2012-03-18 Thread Bernard Lheureux

On 03/18/2012 03:40 PM, Kevin A. McGrail wrote:


Which ports should I open to ensure it works not only port 53 udp and 
tcp ?


I'm assuming dig -t txt 2.3.3.updates.spamassassin.org @ns.erols.com  
doesn't work for you either.


http://systembash.com/content/dns-server-firewall-open-ports/

Has a good list of ports but it's basically 53 tcp/udp and every 
single upper port because of the back channel.  If your firewall 
automatically recognizes and opens back channels, you might be ok.
My FW is a Watchguard Firebox III/700 and ALL is open for OUTGOING, then 
I don't think this could be caused by this...

But I cannot find why this answers always:
[root@myserver ~]# dig -t txt 2.3.3.updates.spamassassin.org

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> -t txt 
2.3.3.updates.spamassassin.org

;; global options:  printcmd
;; connection timed out; no servers could be reached

I use my own Bind9 DNS server which is running OK for a long time ago...
And the 2 forwarders on this server are the 2 DNSes of my ISP what could 
be wrong ?

Do you know if I could try to use public DNS as forwarders ?
If yes, which ones ?


--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/<<<<<<  *>>>>>>  http://www.portalinux.org/




Re: sa-update doesn't work anymore after upgrade to spamassassin-3.3.2-4.el4.rfx

2012-03-18 Thread Bernard Lheureux

  
  
On 03/18/2012 02:59 PM, Kevin A. McGrail wrote:
Could this be related to a firewall rule that should be blocking it
?
Which ports should I open to ensure it works not only port 53 udp
and tcp ?


  
   

   
  
  I get ; <<>> DiG 9.2.4 <<>> -t txt
  2.3.3.updates.spamassassin.org 
  ;; global options:  printcmd 
  ;; connection timed out; no servers could be reached 
  
  But the DNS resolution works correctly, what does that mean ?
  

It means DNS is not working correctly for you. 

Here's an old ISP in my areas's DNS server.  What do you get? 

dig -t txt 2.3.3.updates.spamassassin.org @ns.erols.com 

;; QUESTION SECTION: 
;2.3.3.updates.spamassassin.org.    IN  TXT 

;; ANSWER SECTION: 
2.3.3.updates.spamassassin.org. 3600 IN TXT "1293136" 

;; AUTHORITY SECTION: 
spamassassin.org.   86400   IN  NS 
ns.hyperreal.org. 
spamassassin.org.   86400   IN  NS 
c.auth-ns.sonic.net. 
spamassassin.org.   86400   IN  NS 
a.auth-ns.sonic.net. 
spamassassin.org.   86400   IN  NS 
b.auth-ns.sonic.net. 

;; ADDITIONAL SECTION: 
a.auth-ns.sonic.net.    49101   IN  A   209.204.159.20 
a.auth-ns.sonic.net.    49101   IN      2001:5a8:0:3::1

b.auth-ns.sonic.net.    49101   IN  A   184.173.92.18 
b.auth-ns.sonic.net.    49101   IN     
2607:f0d0:1102:f::2 
c.auth-ns.sonic.net.    49101   IN  A   69.9.186.104 
c.auth-ns.sonic.net.    49101   IN      2001:48c8:1:1::2


;; Query time: 22 msec 
;; SERVER: 207.172.3.8#53(207.172.3.8) 
;; WHEN: Sun Mar 18 09:45:41 2012 
;; MSG SIZE  rcvd: 292 
  



-- 
  M$-Internet Exploder est le cancer de l'Internet, voyez pourquoi ici:
  http://www.aful.org/ressources/documentations/msie-problemes-securite

--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/ <<<<<< * >>>>>> http://www.portalinux.org/


  



Re: sa-update doesn't work anymore after upgrade to spamassassin-3.3.2-4.el4.rfx

2012-03-18 Thread Bernard Lheureux

On 03/18/2012 02:33 PM, Kevin A. McGrail wrote:

On 3/18/2012 9:30 AM, Bernard Lheureux wrote:
On a CentOS 4.9-x86 box I user for years, sa-update doesnt want to 
work anymore since I've upgraded from 3.1.3 this seems to be related 
to a DNS problem, but I can't find what I need to adapt to fix it, 
could you help me ?


Definitely sounds like DNS.

If you type dig -t txt 2.3.3.updates.spamassassin.org, what do you get?

Regards,
KAM


I get ; <<>> DiG 9.2.4 <<>> -t txt 2.3.3.updates.spamassassin.org
;; global options:  printcmd
;; connection timed out; no servers could be reached

But the DNS resolution works correctly, what does that mean ?


--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/<<<<<<  *>>>>>>  http://www.portalinux.org/




sa-update doesn't work anymore after upgrade to spamassassin-3.3.2-4.el4.rfx

2012-03-18 Thread Bernard Lheureux
On a CentOS 4.9-x86 box I user for years, sa-update doesnt want to work 
anymore since I've upgraded from 3.1.3 this seems to be related to a DNS 
problem, but I can't find what I need to adapt to fix it, could you help 
me ?

All that I get in DBG mode is:
Mar 18 14:27:47.241 [15822] dbg: channel: attempting channel 
updates.spamassassin.org
Mar 18 14:27:47.243 [15822] dbg: channel: update directory 
/var/lib/spamassassin/3.003002/updates_spamassassin_org
Mar 18 14:27:47.244 [15822] dbg: channel: channel cf file 
/var/lib/spamassassin/3.003002/updates_spamassassin_org.cf
Mar 18 14:27:47.245 [15822] dbg: channel: channel pre file 
/var/lib/spamassassin/3.003002/updates_spamassassin_org.pre

Mar 18 14:27:47.246 [15822] dbg: channel: metadata version = 1162027
Mar 18 14:28:17.257 [15822] dbg: dns: query failed: 
2.3.3.updates.spamassassin.org => SERVFAIL


As long as I can see DNS is working correctly and I've also tried to use 
Google DNSes without success...

What could I do to fix this asap ?
Thanks for your help...


--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/<<<<<<  *>>>>>>  http://www.portalinux.org/




Re: SARE and RulesDuJour still relevant

2011-01-14 Thread Bernard Lheureux

On 01/14/2011 01:28 PM, James Lay wrote:

Hey All!

Been a while since I did a full blown install of SpamAssassin, and as
I'm looking at my old setup, I see a fair amount of changes.  I have
the SARE rules as well as RulesDuJour running, but noticed that on a
fresh install of SA, after doing an sa-update, there are very few
rules files (the bulk of which are in
/var/lib/spamassassin/3.003001/).  Have rules been optimized or
something?  Should I copy over all the SARE rules and setup
RulesDuJour to update, or leave as is?  Thanks for the input.

James
As far as I know "SpamAssassin Rules Emporium" alias SARE is depreciated 
and no longer maintained...


  M$-Internet Exploder est le cancer de l'Internet, voyez pourquoi ici:
  http://www.aful.org/ressources/documentations/msie-problemes-securite

--
(°-   Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
//\   http://www.bbsoft4.org/Mailinglists.htm ** MailTo:r...@bbsoft4.org
v_/_  http://www.bbsoft4.org/<<<<<<  *>>>>>>  http://www.portalinux.org/



Spam assaassin config

2009-01-10 Thread bernard rule

Hi I am a relative newbie at this and you have helped me before

i have just installed the latest spamassassin on a VPS server on following how 
to guides etc, all seems to be working, 
my question is now that spamasaassin is installed and i have sent the test line 
via email and it has marked it as spam ok.
My question is do I need to do any more configurations/run any updates 
perodically or do any more to enhance the spam filtering
Basically what do I do next

Thanks Bernard


_
Free Windows Live software. Chat, search, share pics and more
http://get.live.com/

Re: updates

2008-11-25 Thread bernard rule
what do i need to do to change to a the new version? please let me know the
commands
will it change any configurations  etc?

  * Bernard Rule
* Technical Consultant

* 3-Sixty NZ Limited*
 Information Technology Specialists*
Project Management Software and IT Support
*  www.teamworksPM.co.nz <http://www.teamworkspm.co.nz/>
www.3-sixty.co.nz

 Mobile +64 (0)292 360 361
Office  +64 (0)9 473 9744
 Email  [EMAIL PROTECTED] <[EMAIL PROTECTED]>

 --

CAUTION - This message may contain privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that any use,
dissemination, distribution or reproduction of this message is prohibited.
If you have received this message in error please notify 3 Sixty NZ
immediately. Any views expressed in this message are those of the individual
sender and may not necessarily reflect the views of 3 Sixty NZ Limited.

  Please consider the environment before printing this e-mail notice.

SaaS Project Management

Resource Planning

Collaboration

Timesheets

Issue and Risks

Hosted or Install onsite

 www.teamworkspm.co.nz



Iplanware's *Official Gold Partner*

Asia Pacific Region



On Mon, Nov 24, 2008 at 9:28 PM, Matus UHLAR - fantomas
<[EMAIL PROTECTED]>wrote:

> On 23.11.08 15:46, bernier wrote:
> > i have a debian server with spammassassin 3.03. i guess this has
> never
> > been updated
>
> upgrade the server, 3.0.3 was default afaik in sarge, which is obsolete and
> unsupported. Is not possible, there was newer version in volatile and even
> newer in volatile-sloppy, seems it's still there.
>
> > do i just use the cmd
> >
> > sa-update && service spamassassin restart
>
> sa-update is supported since SA 3.1. I don't have "service" on my debian
> system and use "/etc/init.d/spamassassin reload" instead.
>
> > how often should i update after it is updated?
>
> whenever an update comes out. Some people try it daily.
>
> > can it be scheduled to be automatic?
>
> yes.
>
> > will i loose any configuration on the system?
>
> no.
>
> > are the updates primarly for improving what and how SA detects spam?
>
> yes.
>
> --
> Matus UHLAR - fantomas, [EMAIL PROTECTED] ; 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.
> "The box said 'Requires Windows 95 or better', so I bought a Macintosh".
>


Re: spamc and extra rules

2008-11-23 Thread bernard rule
hi i am not sure if there was a response

i am not very technical so please help

i have a debian server with spammassassin 3.03. i guess this has never
been updated

do i just use the cmd

sa-update && service spamassassin restart

what do i need to do?

how often should i update after it is updated?

can it be scheduled to be automatic?

will i loose and configuration on the system?

there are local email accounts which are popped by a windows server

are the updates primarily for improving what and how SA detects spam?

  * Bernard Rule
* Technical Consultant

* 3-Sixty NZ Limited*
 Information Technology Specialists*
Project Management Software and IT Support
*  www.teamworksPM.co.nz <http://www.teamworkspm.co.nz/>
www.3-sixty.co.nz

 Mobile +64 (0)292 360 361
Office  +64 (0)9 473 9744
 Email  [EMAIL PROTECTED] <[EMAIL PROTECTED]>

 --

CAUTION - This message may contain privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that any use,
dissemination, distribution or reproduction of this message is prohibited.
If you have received this message in error please notify 3 Sixty NZ
immediately. Any views expressed in this message are those of the individual
sender and may not necessarily reflect the views of 3 Sixty NZ Limited.

  Please consider the environment before printing this e-mail notice.

SaaS Project Management

Resource Planning

Collaboration

Timesheets

Issue and Risks

Hosted or Install onsite

 www.teamworkspm.co.nz



Iplanware's *Official Gold Partner*

Asia Pacific Region



On Mon, Nov 24, 2008 at 10:23 AM, Geoff Soper
<[EMAIL PROTECTED]>wrote:

> I call spamc from various .procmail files (relating to different users) as
> below:
>
> | spamc
>
> I want to add some extra rules for one of these users. From the spamc docs
> I thought I'd have to replace this with :
>
> | spamc -F /path/to/file
>
> but this didn't seem to have any effect.
>
> Is this the right way of bringing in extra rules? I want these rules to be
> in addition to the ones in /etc/mail/spamassassin/local.cf and not instead
> of.
>
> Thanks,
> Geoff
>