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

Kaushal Shriyan wrote:
...snip...

>     i was wrong with my installation, we have in local.cf
>     <http://local.cf/>:
>     auto_whitelist_path        /var/milter/.spamassassin/auto-whitelist
>     auto_whitelist_file_mode   0600
> 
>     and the result is:
>     -rw-------   1 milter   unixag   672022528 Jul  5 16:11
>     /var/milter/.spamassassin/auto-whitelist
> 
>     are you using a dedicated user to run spamassassin? our is called
>     "milter", so milter must be able to read/write the awl file.
>     look at the permissions of the directories, so your dedicated user can
>     access the file.
> 
>     regards,
>     Matthias
> 
>  
>  
> Hi Mathias
>  
> I have the below permissions and i also tested it running as normal
> user, I get
>  
> [28976] error: auto-whitelist: cannot open auto_whitelist_path
> /var/lib/spamass/auto-whitelist: Inappropriate ioctl for device
> [28976] warn: auto-whitelist: open of auto-whitelist file failed:
> auto-whitelist: cannot open auto_whitelist_path
> /var/lib/spamass/auto-whitelist: Inappropriate ioctl for device
>  
>  
> [EMAIL PROTECTED] spamass]# ll
> total 8
> -rw-------  1 root root 12288 Jul  5 18:58 auto-whitelist
> [EMAIL PROTECTED] spamass]#
>  
> 

your auto-whitelist file is owned by root with no read permissions for
any other user.  spamd will not run as root. if it's invoked as root
it'll setuid to 'nobody' ... so you don't have permission to do anything
with this file.

fix the file ownership and you should be able to resolve your problem.

Alan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErHsvE2gsBSKjZHQRAirHAKDEuSyZtVSFk89QIT3yLROCtELEcgCeMAUX
FKnCJ7gjjCtRvPn4bW9Vgqk=
=ZAM5
-----END PGP SIGNATURE-----

Reply via email to