PREUN
/bin/sh
/usr/share/rpm-helper/del-service courier-imap $1 courier-imap
POSTIN
/bin/sh
/usr/share/courier/sysconftool `cat /usr/share/courier/configlist` >/dev/null
/usr/share/rpm-helper/add-service courier-imap $1 courier-imap
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/imapd.pid root root 0600
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/imapd.pid.lock root root 0600
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/imapd-ssl.pid root root 0600
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/imapd-ssl.pid.lock root root 0600
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/authdaemon.courier-imap/lock root root 0600
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/authdaemon.courier-imap/pid root root 0644
/usr/share/rpm-helper/create-file courier-imap $1 /var/run/authdaemon.courier-imap/socket root root 0777
Triggers
courier-imap
/bin/sh
test ! -f /usr/share/courier/configlist || /usr/share/courier/sysconftool-rpmupgrade `cat /usr/share/courier/configlist` >/dev/null