> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Mark Martinec
> Sent: Tuesday, June 12, 2007 6:42 PM
> To: amavis-user@lists.sourceforge.net
> Subject: Re: [AMaViS-user] amavisd sa error config: could not 
> find siterules directory
> 
> 
> MC,
> 
> > Default permissions were like this:
> 
> >   drwxr--r--  3 root  wheel  512 Jun 10 17:30 /usr/local/etc/mail
> >   drwx------  2 root  wheel  512 Jun 10 17:30 
> > /usr/local/etc/mail/spamassassin
> 
> > For sure amavisd-new ports install should be able to fix 
> permissions 
> > for amavisd user.
> 
> I think the SpamAssassin port would be better qualified to 
> get this right, setting go=rx on both directories (or at least go+x).
That would be me ;-)

Deinstall spamassassin, rm -rf /usr/local/etc/mail

Install spamassassin from ports:

ls -ltd /usr/local/etc/mail
drwxr-xr-x  3 root  wheel  512 Jun 12 23:03 /usr/local/etc/mail

ls -ltd /usr/local/etc/mail/spamassassin/
drwxr-xr-x  2 root  wheel  512 Jun 12 23:03
/usr/local/etc/mail/spamassassin/

Looks like user changed umask on purpose since default looks fine.

(remember that sesame street song 'one of these things is not like the
other'
Or rule #1: if you change something and it breaks, change it back ;-0)

Now, question is, should the spamassassin port override the custom umask
?
Changing the umask is a security decision, something the site maintainer
obviously did on purpose.



_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(tm). 
For Information please see http://www.spammertrap.com
_________________________________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to