PREIN
/bin/sh
/usr/sbin/fedora-groupadd 5 -r clamilt &>/dev/null || :
/usr/sbin/fedora-useradd 5 -r -s /sbin/nologin -d /var/run/clamav-milter -M \
-c 'Clamav Milter User' -g clamilt clamilt &>/dev/null || :
POSTIN
/bin/sh
test -e /var/log/clamav-milter.log || {
touch /var/log/clamav-milter.log
chmod 0620 /var/log/clamav-milter.log
chown root:clamilt /var/log/clamav-milter.log
}
POSTUN
/bin/sh
: clamilt &>/dev/null || :
: clamilt &>/dev/null || :
Triggers
clamav-scanner
/bin/sh
# Add the milteruser to the scanuser group; this is required when
# milter and clamd communicate through local sockets
/usr/sbin/groupmems -g clamscan -a clamilt &>/dev/null || :