List Info

Thread: Re: problems with spamassassin, can't create user_prefs file




Re: problems with spamassassin, can't create user_prefs file
country flaguser name
Canada
2007-02-20 02:05:18
You were right David.
It was home path for the user running spamassassin.
Instead of /var/amavisd it was /var/amavis.

Thanks.


-----Original Message-----
From: David Morton [mailto:mortondadgrmm.net] 
Sent: Monday, February 19, 2007 9:13 AM
To: eugenepw3media.net
Cc: maia-usersrenaissoft.com
Subject: Re: [Maia-users] problems with spamassassin, can't
create
user_prefs file

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Feb 19, 2007, at 4:01 AM, Eugene Pefti wrote:

> My apologies for so many posts, really stupid I am.
>
> Can anybody tell me why it is happening?
>
> When I run this script
> /var/amavisd/maia/scripts/process-quarantine.pl --learn
I end up  
> with an
> error:
>
> config: cannot write to
/var/amavis/.spamassassin/user_prefs: No  
> such file
> or directory config: failed to create default user
preference file
> /var/amavis/.spamassassin/user_prefs
> bayes: expire_old_tokens: locker: safe_lock: cannot
create tmp  
> lockfile
>
/var/amavisd/.spamassassin/bayes/.lock.spamfilter2.w3media.n
et. 
> 76663 for
> /var/amavisd/.spamassassin/bayes/.lock: No such file or
directory
>
>
> I don't understand why it tries to write it to amavis
directory. I  
> don't
> have amavis, I have amavisd. And looked through all
possible  
> configuration
> files, namely local.cf (in spamassassin folder),
amavisd.conf and  
> maia.conf.

Spamassassin tries to write some preferences to the home
directory of  
the user running it...  check your etc/password file.

Probably, that user does not have write access to the
/var/amavis  
directory.  Probably should own it, actually.




David Morton
Maia Mailguard http://www.maiamailguard
.com
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF2dqOUy30ODPkzl0RAqknAJ9V4r+NYW39F7XljfZusflEQNv8gACg
l32P
3ORrCFsAJDs/QBqYW2gCX34=
=sCxo
-----END PGP SIGNATURE-----

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )