Comment 3 for bug 151850

Revision history for this message
Matt LaPlante (cybrmatt) wrote :

Yes, well my rationale was that if an example is going to be included that one can uncomment and use, it should probably work. :)

I can solve the problem fairly simply... I leave the path as suggested, but add an actual socket file name to it:
SOCKET=local:/var/spool/postfix/clamav/clamav.ctl

I then manually create the clamav directory (as root). My current working system has the clamav dir, plus the socket, owned by clamav and in the postfix group, mode 775. This should be fairly trivial to do with the new init script since it already has a variable specifying postfix.