Why does the spamd have to access a dir on /root? Wouldn't it make more 
sense (and be more secure) to have it access (for example) 
/usr/share/spamassassin/default_prefs or something?

Ed Kasky wrote:

> Is the path navigable by the group "mail".  ie: both /root and 
> /root/.spamassassin/ as well as the file?
>
> Mine looks like this:
> $ ls -al /root
> drwxrwxrw-  27 root     root         2048 Mar 17 22:27 .
> drwxrwxr-x  20 root     wheel        1024 Mar 10 18:20 ..
> drwxrwx---   3 root     wheel         1024 Mar 10 19:34 .spamassassin
>
> And now that I look at it I hope it's not too open....
>
> Ed
> At 12:10 PM Tuesday, 3/19/2002, you wrote -=>
>
>> ok, I tried setting /root/.spamassassin/* including subdirs as rw by 
>> ALL and setting thier group membership to 'mail' (same as my mail 
>> user who spamd is running as) still get:
>>
>> Mar 19 11:56:08 bacon spamd[22447]: connection from localhost [ 
>> 127.0.0.1 ] at port 45093
>> Mar 19 11:56:08 bacon spamd[23808]: Creating default_prefs 
>> [/root/.spamassassin/user_prefs]
>> Mar 19 11:56:08 bacon spamd[23808]: Couldn't create readable 
>> default_prefs for [/root/.spamassassin/user_prefs]
>> Mar 19 11:56:08 bacon spamd[23808]: clean message (0/5) for root:8 in
>> 0 seconds.
>
>
> Ed Kasky
> Los Angeles, CA
> . . . . . . . .
> If love isn't taught in the home
> it's difficult to learn anywhere else....




_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to