On Thu, Jul 05, 2007 at 12:29:57AM +0200, Nicolas François wrote: > On Tue, Jul 03, 2007 at 07:39:36PM -0700, Vagrant Cascadian wrote: > > perhaps querying the location that mutt uses for postponed messages > > would be better than hard-coding it: > > > > $ mutt -Q postponed > > postponed="/home/vagrant/Mail/Drafts" > > > > in my case, the postponed folder is Maildir format, and > > podebconf-report-po used mbox format ~/postponed ... not sure if that > > adds extra complications. > > Thanks a lot for the feedback. > > I will change ~/postponed to $(mutt -Q postponed).
well, something more like $(mutt -Q postponed | sed -e 's,^postponed=,,g' -e 's,",,g' ) although i supsect it could be handled natively in perl. > I've never used Maildir. Is /home/vagrant/Mail/Drafts a directory or a > file in your case? Maildir format is directory based, with a few sub-directories in each mail folder, and each mail stored as a file. though i'm mostly just familiar as a user of maildir; i use it with offlineimap and mutt. here's at least one reference: http://www.qmail.org/man/man5/maildir.html the wikipedia article also goes into some detail, with leads on more references: http://en.wikipedia.org/wiki/Maildir there must be perl libraries available to support Maildir format, i'm sure. i should have mentioned the maildir stuff in a separate bug report, perhaps. :) live well, vagrant