Files @ 92011aae7258
Branch filter:

Location: majic-ansible-roles/roles/mail_server/files/clamav-milter.conf

branko
MAR-128: Upgraded tests for php_website role:

- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Updated hostname to include Debian version.
# General daemon configuration.
User clamav
ReadTimeout 120
Foreground false
PidFile /var/run/clamav/clamav-milter.pid
ClamdSocket unix:/var/run/clamav/clamd.ctl
TemporaryDirectory /tmp
SupportMultipleRecipients false

# Socket configuration.
MilterSocket /var/spool/postfix/var/run/clamav/clamav-milter.ctl
FixStaleSocket true
MilterSocketGroup postfix
MilterSocketMode 660

# Actions.
OnClean Accept
OnInfected Reject
OnFail Defer
AddHeader Replace
RejectMsg Your message has been rejected due to a possible virus (%v). Please contact the postmaster if you believe this is incorrect.

# Logging configuration.
LogSyslog false
LogFacility LOG_LOCAL6
LogVerbose false
LogInfected Full
LogClean Off
LogRotate true
MaxFileSize 25M
LogFile /var/log/clamav/clamav-milter.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0M