> If I want to run clamd and clamdscan in conjunction with trashscan via a > .procmailrc file in each user's home directory, should clamd be run as > root? When I run it as user clamav, viruses do not seem to be picked up, > but when I run it as root, they get blocked. Just trying to setup the best > method using trashscan, while balancing security of the files on the > server. Thanks.
Following up on this, I assume running clamd as a non-privileged user means that it will not have permission to process email via trashscan / clamdscan and a .procmailrc entry on a per user basis? The reason I want to run clamdscan is to save the overhead of reading in the virus db each time it runs. Are there any security issues with clamd as root besides being able to scan any file on the server? Maybe having clamd operate similar to spamd for spamassassin could be a good thing for a future version. spamd runs as root, bet setuid's to the user running spamc. This could be applied to clamd, where it setuid's to the user running clamdscan, which would add a layer of security to the daemon, while allowing it the freedom required to run via a user's .procmailrc file. If anyone has any suggestions or comments on getting this to work, please let me know. Thanks. Rob ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users