You are not logged in.
Hi, I've set up mutt mostly according to the wiki article. I can't seem to be able to access sent messages. The sent messages appear as a single file in the Mutt folders listing... I have a file called "sent" in my ~ which is a plain text file that contains all my sent messages. I can read it by catting it or by opening it in vim, but I'd like to be able to read it straight from within Mutt.
When I try to open it in Mutt, it just tells me to not delete the file, and that's all.
Any ideas?
Last edited by foxbunny (2008-05-08 22:55:20)
Offline
I suggest you try to copy your sent messages in mutt into another folder, and then rename that new folder to "sent". Maybe there went something wrong, after sending the first mail and saving it to sent... I assume, you use mbox_type=Maildir as written in wiki, is it right? Don't forget to back up
Last edited by drag0nl0rd (2008-05-08 18:51:16)
Offline
I suggest you try to copy your sent messages in mutt into another folder, and then rename that new folder to "sent". Maybe there went something wrong, after sending the first mail and saving it to sent... I assume, you use mbox_type=Maildir as written in wiki, is it right? Don't forget to back up
Sorry I seem to have failed to elaborate. The sent mail seems (I'm not sure, I'm new to this) to be saved as mbox file rather than maildir... All sent mail is just saved as a continuous stream in a single _file_.
EDIT: Oh, sorry, I missed the part where you say mbox_type. Ok, I'll try to convert the sent mail to Maildir format.
Last edited by foxbunny (2008-05-08 20:59:20)
Offline
Ok, solved it. Thanks, drag0nl0rd.
The things I had to do were to:
1. get mb2md script from AUR
2. convert ~/sent (file) to ~/mail/sent/ (dir)
3. add this to .muttrc:
set record="~/mail/sent"
The 'record' option overrides the slightly dumb default of "~/sent" for sent items.
Offline
Nice, I'm glad it work's for you
Another small tip: if your .muttrc contains
set folder=~/mail
then it's posible to use the shortcut "+" in the config file for this folder. So in your case
set record=+sent
You may want to rename the name of this thread to "[solved] ...."
Offline