qmail-scanner and dcc via rpm --- TIP

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

qmail-scanner and dcc via rpm --- TIP

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
Post Reply