Commit ccff4daa authored by Markus Wanner's avatar Markus Wanner

Cleanup statoverrides.

parent dddd4726
......@@ -2,6 +2,10 @@ courier (1.0.5-2) UNRELEASED; urgency=medium
* Add an apache_unlink step to the postrm of sqwebmail.
Closes: #919840.
* Move the statoverrides for /etc/courier/imapaccess from
courier-base to courier-imap.
* Remove the statoverrides for /var/lib/courier/{tmp,msgq,msgs}
from courier-base, courier-mta properly covers these.
-- Markus Wanner <markus@bluegap.ch> Fri, 25 Jan 2019 20:12:59 +0100
......
......@@ -42,11 +42,7 @@ if [ "$1" = "configure" ]; then
add_override root courier 0750 /etc/courier/shared
add_override root courier 0750 /etc/courier/hosteddomains
add_override root courier 0750 /etc/courier/esmtpacceptmailfor.dir
add_override root courier 0750 /etc/courier/imapaccess
add_override courier courier 0750 /var/lib/courier
add_override courier courier 0770 /var/lib/courier/tmp
add_override courier courier 0750 /var/lib/courier/msgs
add_override courier courier 0750 /var/lib/courier/msgq
chown root:courier /etc/courier
chown root:courier /etc/courier/shared
......
......@@ -18,7 +18,6 @@ if [ "$1" = "purge" ]; then
del_override root courier 0750 /etc/courier/shared
del_override root courier 0750 /etc/courier/hosteddomains
del_override root courier 0750 /etc/courier/esmtpacceptmailfor.dir
del_override root courier 0750 /etc/courier/imapaccess
del_override courier courier 0750 /var/lib/courier
fi
......
......@@ -46,6 +46,7 @@ EOF
makeimapaccess
add_override root root 0600 /etc/courier/imapd.cnf
add_override root courier 0750 /etc/courier/imapaccess
fi
#DEBHELPER#
......
......@@ -12,6 +12,7 @@ if [ "$1" = "purge" ]; then
rm -f /etc/courier/imapd.pem
rm -f /etc/courier/imapaccess.dat
del_override root courier 0640 /etc/courier/imapd.cnf
del_override root courier 0750 /etc/courier/imapaccess
fi
#DEBHELPER#
......
......@@ -57,7 +57,6 @@ if [ "$1" = "purge" ]; then
del_override root courier 0640 /etc/courier/esmtpauthclient
del_override root courier 0750 /etc/courier/filters
del_override root courier 0750 /etc/courier/filters/active
fi
#DEBHELPER#
......
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