Commit f7fc3b52 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Allow clamav user to read MIMEdefang files

parent 9ad17163
......@@ -29,6 +29,7 @@ all: mimedefang-service mimedefang-multiplexor-service
install -v -Dm755 mimedefang-wrapper /usr/libexec
install -v -Dm644 mimedefang-filter /etc/mail
install -v -Dm644 mimedefang.conf /etc/default/mimedefang
usermod -aG defang clamav
@echo "$$MIMEDEFANG_SERVICE" > /lib/systemd/system/mimedefang.service
@echo "$$MIMEDEFANG_MULTIPLEXOR_SERVICE" > /lib/systemd/system/mimedefang-multiplexor.service
systemctl enable mimedefang.service
......
......@@ -152,7 +152,7 @@ MX_USER=defang
# Set to yes if you want the milter and multiplexor sockets
# to be group-writable. This also makes files created by mimedefang
# group-readable.
MD_ALLOW_GROUP_ACCESS=no
MD_ALLOW_GROUP_ACCESS=yes
# Set to yes if you want the multiplexor to log events to syslog
MX_LOG=yes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment