[CentOS] Question about /etc/clamd.d/amavisd.conf

Robert Moskowitz rgm at htt-consult.com
Wed Jan 30 13:46:26 UTC 2013


I don't know if this file comes from clam or amavis-new, but....

It contains the comment and command:

# Run as a selected user (clamd must be started by root)
User amavis

Is this conf file for clam or amavis?


As in /etc/clamd.conf we have:

# Run as another user (clamd must be started by root for this option to 
work)
# Default: don't drop privileges
User clam

# Initialize supplementary group access (clamd must be started by root).
# Default: no
AllowSupplementaryGroups yes

Then in /etc/amavisd.conf (the real? conf file for amavis-new) in the 
Clamav section are comments:

# # Note: run clamd under the same user as amavisd, or run it under its own
# #   uid such as clamav, add user clamav to the amavis group, and then add
# #   AllowSupplementaryGroups to clamd.conf;

So is clam running under its user or amavis?  Why is this last comment 
pointing to the 'old' clamav userid?





More information about the CentOS mailing list