MC,

> If anybody will face same issue this is how I fixed it.
> You have to change default permissions and inherit them to
> subdirectories for /usr/local/etc/mail directory like this:
> drwxr-xr-x   3 root  wheel     512 Jun  8 13:21 mail
> You can check by suid to amavisd user (vscan for me) and try to list
> /usr/local/etc/mail/spamassassin directory.

So what were premissions on /usr/local/etc/mail and
/usr/local/etc/mail/spamassassin directories after
a fresh install of mail/p5-Mail-SpamAssassin from ports?
And what is your 'umask' setting?

Mine are:

drwxr-xr-x 30 root  wheel 2048 Jun 10 17:30 /usr/local/etc
drwxr-xr-x  3 root  wheel  512 Jun 10 17:30 /usr/local/etc/mail
drwxr-xr-x  2 root  wheel  512 Jun 10 17:30 /usr/local/etc/mail/spamassassin

# umask
0022


It is interesting, if /usr/local/etc/mail/spamassassin is
inaccessible SA reports:

  config: cannot opendir /usr/local/etc/mail/spamassassin: Permission denied

but if /usr/local/etc/mail is inaccessible, one gets what you
reported, i.e.

  config: could not find site rules directory


> I'm thinking posting to FreeBSD mailing list to fix directory
> permission on Amavisd-new installation.

I'm sure Michael Scheidell will be glad to fix it,
if it turns there is something a ports install could do about it.

  Mark

-------------------------------------------------------------------------
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
[email protected]
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