Page 1 of 1

qmail-scanner and dcc via rpm --- TIP

Posted: Mon Aug 03, 2009 6:41 am
by faris
Just a quick tip for folks...

If you have installed the ART qmail-scanner and then install DCC via rpm from a non-ART source, check your mail logs to make sure you don't get a "permission denied" on DCC's map file when a message comes in and gets scanned.

If you do then just chown /var/dcc/map (at least this is the location on RH-type distros) to the same user and group that /var/log/clamav/clamd.log file has allocated to it.

This is probably going to be qscand:qscand but may alternatively be clamav:clamav depending on your configuration.

Quite often the default owner and group of the map file will either be root:root or popuser:popuser and that's not going to work.

Faris.