Re: How to implement save_empty on maildir?

2009-06-21 Thread Michael Tatge
* On Mon, Jun 22, 2009 06:21AM +0800 Wu, Yue (vano...@gmail.com) muttered: > On Sun, Jun 21, 2009 at 11:11:46PM +0200, Rocco Rutte wrote: > > Removing empty mbox/mmdf files on the contrary is atomic and can be > > safely done by mutt. > > What about mbox? I have set up fetchmail and procmail fetc

Re: How to implement save_empty on maildir?

2009-06-21 Thread Wu, Yue
On Sun, Jun 21, 2009 at 08:20:19AM -0400, Paul Hoffman wrote: > On Sun, Jun 21, 2009 at 10:31:56AM +0100, Chris G wrote: > > It's one of my major gripes with maildir, there appears to be no way > > to safely (as in maildirsafely) remove a maildir folder. > > I would move (rename) the root of the m

Re: How to implement save_empty on maildir?

2009-06-21 Thread Wu, Yue
On Sun, Jun 21, 2009 at 11:11:46PM +0200, Rocco Rutte wrote: > Hi, > > * Wu, Yue wrote: > > > Why need I to be boring to do that if mutt can do it automatically? > > It cannot safely remove a maildir because it has no way to stop other > tools from delivering mail while mutt deletes it. The onl

Re: How to implement save_empty on maildir?

2009-06-21 Thread Rocco Rutte
Hi, * Wu, Yue wrote: > Why need I to be boring to do that if mutt can do it automatically? It cannot safely remove a maildir because it has no way to stop other tools from delivering mail while mutt deletes it. The only one who has the power to stop delivery and do safe removal is the user. Th

Re: How to implement save_empty on maildir?

2009-06-21 Thread Paul Hoffman
On Sun, Jun 21, 2009 at 10:31:56AM +0100, Chris G wrote: > It's one of my major gripes with maildir, there appears to be no way > to safely (as in maildirsafely) remove a maildir folder. I would move (rename) the root of the maildir; then you can delete cur, new, and tmp in any order you like. No

Re: How to implement save_empty on maildir?

2009-06-21 Thread Chris G
On Sat, Jun 20, 2009 at 06:43:52AM +0800, Wu, Yue wrote: > On Fri, Jun 19, 2009 at 02:33:20PM +0200, Rocco Rutte wrote: > > Hi, > > > > * Wu, Yue wrote: > > > I want to let mutt deletes empty maildirs automatically, but 'save_empty' > > > only > > > works for mbox, why? How to achieve it for mail