Sophie

Sophie

distrib > Fedora > 14 > i386 > media > updates > by-pkgid > f6fd74c2a3cbd3b92d77d65c2b854a47 > scriptlet

clamav-milter-0.97.3-1400.fc14.i686.rpm

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 || :