Help with Amavisd-new

Derrick Edwards derrick at uniquestrength.net
Tue May 9 23:14:21 UTC 2006


Are you sure?
>
> I don't remember the error message (and the above doesn't look like you
> should do the following, but not AFAIR I searched for the problem for a
> while), but maybe the following helps.
>
> chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav;
I took your advice and double checked the permissons with your recommended 
commands and now it is working. I will edit the pkgtools.conf file also. 
Thanks to all for the assistance
v/r
Derrick
>
> If you use portupgrade I suggest to make sure
> your /usr/local/etc/pkgtools.conf contains something similar to this:
> ---snip---
>   BEFOREDEINSTALL = {
>         'security/clamav' => '/usr/local/etc/rc.d/clamav-freshclam.sh stop;
> /usr/local/etc/rc.d/clamav-clamd.sh stop', }
>
>
>   AFTERINSTALL = {
>     'security/clamav' => 'chown -R clamav:vscan /var/run/clamav; chmod -R
> g+w /var/run/clamav; /usr/local/etc/rc.d/clamav-freshclam.sh start;
> /usr/local/etc/rc.d/clamav-clamd.sh start', }
> ---snip---
>
> Bye,
> Alexander.


More information about the freebsd-ports mailing list