Hi Gary V,
My bayes files are under "/var/amavis/.spamassassin" (sorry for the
typo)
$daemon_user = 'clamav'
$daemon_group = 'clamav'
clamav:x:1005:103::/var/amavis:/bin/sh
Thanks for clarifying, everything should be OK then. Then you should
create a cron job to run sa-learn --sync --for
Hi Gary V,
Sorry for the delayed reply.
>A clue was given to you in a previous post:
http://marc.theaimsgroup.com/?l=spamassassin-users&m=114269315700923&w=2
>But I am not getting the full picture. You said earlier that the bayes
files
>were in /var/amavis/.spamassassin yet you say you changed
Hi,
Many thanks Theo Van Dinter, Gary V and others who helped. As suggested
by Theo Van Dinter, I change the home directory of clamav user as
/var/amavisd and then executed "/usr/local/bin/sa-learn -D --sync" it
took around 6 hours but now "bayes_journal" has been reduced from 3.5 GB
42 KB. How I
Hi,
Many thanks Theo Van Dinter, Gary V and others who helped. As suggested
by Theo Van Dinter, I change the home directory of clamav user as
/var/amavisd and then executed "/usr/local/bin/sa-learn -D --sync" it
took around 6 hours but now "bayes_journal" has been reduced from 3.5 GB
42 KB. How I c
From: "MJ" <[EMAIL PROTECTED]>
>You can and probably should remove the journal file. These are
unlearned tokens, so they aren't affecting the classification of mail.
The journal is >so huge that it might take days to learn, and it also
indicates that you are accumulating new material fairly qui
MJ a écrit :
> Hi Gary,
>
>
>>The user 'clamav' should have a home dir of /var/amavis otherwise I
>
> wouldn't
>
>>think the spamassasin files would end up in /var/amavis/.spamassassin.
>
>
>>what does this say?
>>cat /etc/passwd | grep clamav
>
>
> clamav:x:1005:103::/home/clamav:/bin/fal
Hi Gary,
>The user 'clamav' should have a home dir of /var/amavis otherwise I
wouldn't
>think the spamassasin files would end up in /var/amavis/.spamassassin.
>what does this say?
>cat /etc/passwd | grep clamav
clamav:x:1005:103::/home/clamav:/bin/false
>To run sa-learn as this user (who does
Hi Gary,
>The user 'clamav' should have a home dir of /var/amavis otherwise I
wouldn't
>think the spamassasin files would end up in /var/amavis/.spamassassin.
>what does this say?
>cat /etc/passwd | grep clamav
clamav:x:1005:103::/home/clamav:/bin/false
>To run sa-learn as this user (who does
On Samstag, 18. März 2006 11:51 MJ wrote:
> No, there is another user for daemon with a false shell, can't be use
> to login as a normal user.
The user 'clamav' should have a home dir of /var/amavis otherwise I wouldn't
think the spamassasin files would end up in /var/amavis/.spamassassin.
wh
>You can and probably should remove the journal file. These are
unlearned tokens, so they aren't affecting the classification of mail.
The journal is >so huge that it might take days to learn, and it also
indicates that you are accumulating new material fairly quickly. So
losing the current journ
Title: RE: Huge size of bayes_journal
You can and probably should remove the journal file. These are
unlearned tokens, so they aren't affecting the classification of mail. The
journal is so huge that it might take days to learn, and it also indicates that
you are accumulating new mat
Title: RE: Huge size of bayes_journal
Hi Theo,
I manage to switch to that user and executed the sa-learn command but since it has it' own home directory it created new .spamassassin directory under it's home directory. Actually "/var/amavisd/.spamassassin" which has
On Samstag, 18. März 2006 11:51 MJ wrote:
> No, there is another user for daemon with a false shell, can't be use
> to login as a normal user.
su -l $USER_AMAVIS_RUNS_AS -s /bin/bash
That way you can run as the user with bash.
mfg zmi
--
// Michael Monnerie, Ing.BSc --- it-management Michae
On Sat, Mar 18, 2006 at 01:51:45PM +0300, MJ wrote:
> Thanks for you quick response.
:)
> >The "#" implies you're running as root. Is that the same user as
> amavis runs as?
>
> No, there is another user for daemon with a false shell, can't be use to
> login as a normal user.
You need to someh
Hi Theo van Dinter,
Thanks for you quick response.
>The "#" implies you're running as root. Is that the same user as
amavis runs as?
No, there is another user for daemon with a false shell, can't be use to
login as a normal user.
>This isn't the same path as you posted before, so I'm not surpr
On Sat, Mar 18, 2006 at 01:07:30PM +0300, MJ wrote:
> I did but still the same size, following is the output.
> bash-2.03# /usr/local/bin/sa-learn -D --sync
The "#" implies you're running as root. Is that the same user as amavis
runs as?
[...]
> [17329] dbg: bayes: tie-ing to DB file R/O //.spam
Hi Theo Van Dinter
>I don't know if amavisd does something special wrt bayes,
Do you need me to send amavisd.conf? usually they (mailing list of
amavisd-new) suggest to post SA related issues to this list and not on
Amavisd-new list.
>As the appropriate user, run "sa-learn -D --sync" and see wh
On Sat, Mar 18, 2006 at 12:07:35PM +0300, MJ wrote:
> I am running postfix 2.2.4 on Solaris 8 with amavisd-new.2.3.2,
I don't know if amavisd does something special wrt bayes,
> reaching to 3.4 GB. I have read that this file should not be more than
> few KB, Can anyone help what could be the reas
18 matches
Mail list logo