Discussion:
Trash Folder Creation
Hokan
2017-12-05 20:06:55 UTC
Permalink
Hello Mutt Users,

My .muttrc file contains this line:

set trash="+deleted-mutt/`date +%Y/%Y-%m`-deleted-mail"

When I mark a message for deleting it is moved to an IMAP folder called
(for example) deleted-mutt/2017-12-deleted-mail .

Formerly, when I deleted the first email for a month, I was asked if I
wanted the folder created, but for the last few releases deleted emails
simply disappear if the trash folder does not already exist.

Is this new behaviour a bug? If not, how can I automate creation of the
monthly trash folder?
--
Hokan
Bicyclist
Sysadmin
Kevin J. McCarthy
2017-12-05 20:37:13 UTC
Permalink
Post by Hokan
Is this new behaviour a bug? If not, how can I automate creation of the
monthly trash folder?
It sounds like a bug. The trash folder has gone through a few changes
after being integrated into mutt. It is still supposed to prompt for
creation if the mailbox doesn't exist, and does so in my testing, but
sounds like something is not working for you.

If possible, please capture a debug log at level 3, and open a ticket.
I'll try to take a closer look.

Thank you!
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
Hokan
2017-12-05 20:58:18 UTC
Permalink
Post by Kevin J. McCarthy
Post by Hokan
Is this new behaviour a bug? If not, how can I automate creation of the
monthly trash folder?
It sounds like a bug. The trash folder has gone through a few changes
after being integrated into mutt. It is still supposed to prompt for
creation if the mailbox doesn't exist, and does so in my testing, but
sounds like something is not working for you.
If possible, please capture a debug log at level 3, and open a ticket.
I'll try to take a closer look.
Whoops -- I should have checked that I was running the latest before
complaining.

I switched from 1.9.0 to 1.9.1 and it's working now.

Thank you!
--
Hokan
Bicyclist
Sysadmin
Loading...