Bug#672155: qmail: unowned files after purge

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#672155: qmail: unowned files after purge

Dmitry Bogatov-3

control: tags -1 patch

Hello. Here is patch to solve bug.

From 3a14e36f95ab1c5a6eb8bb0953cd13990d42b344 Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov <[hidden email]>
Date: Wed, 5 Jun 2019 10:37:58 +0000
Subject: [PATCH] Make package piupart-clean

Close: #672155
---
 debian/qmail.postrm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/qmail.postrm b/debian/qmail.postrm
index 255c4b2..6674240 100644
--- a/debian/qmail.postrm
+++ b/debian/qmail.postrm
@@ -8,5 +8,11 @@ test ! -d /var/lib/qmail || rmdir /var/lib/qmail || :
 
 test "$1" = 'purge' || exit 0
 rm -f /etc/qmail/users/*
+rm -f /etc/qmail/defaultdomain
+rm -f /etc/qmail/locals
+rm -f /etc/qmail/me
+rm -f /etc/qmail/plusdomain
+rm -f /etc/qmail/rcpthosts
+
 test ! -d /etc/qmail/users || rmdir /etc/qmail/users || :
 test ! -d /etc/qmail || rmdir /etc/qmail || :
--
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --

attachment0 (849 bytes) Download Attachment