Subject: Re: qmail package -- review & suggestions welcome
To: Simon Burge <simonb@wasabisystems.com>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: tech-pkg
Date: 08/13/2001 13:11:31
On Mon, Aug 13, 2001 at 09:05:04PM +1000, Simon Burge wrote:
> Tomasz Luchowski wrote:
> 
> > [qmail package]
> >
> > I am not sure how to work-around it without leaving PLIST empty and doing
> > rm -rf on /var/qmail
> > in post-deinstall target.
> 
> This could blow away undelivered mail.  If a new version of qmail
> came out that was spool-file compatibile with the old one you'd want
> to leave that part of /var/qmail alone between deinstalling the old
> version of the package and installing the new version.  I'd opt for
> DEINSTALL script that said something like "manually delete any files
> in /var/qmail, after making sure they weren't undelivered mail" or
> something similar.
That's how it's implemented in the package I've imported today.
Please look at unexec's in PLIST.

-- 
/* Tomasz Luchowski <zuntum@netbsd.org> */