On 18.09.15 16:56, Ian Zimmerman wrote: > Is it possible (and safe) to set the record variable, or the Fcc header, > to the folder from where I send the mail?
The manual supports the practice: >>> For example, to store a copy of outgoing messages in the folder they were composed in, a folder-hook can be used to set $record: folder-hook . 'set record=^' <<< The merit of that syntax is that it continues to work as expected if one's practice changes from "living in the inbox" to some level of organisation, even if only to separate family/work/list traffic. > For example, what can be said > about this .muttrc setting: > > set record="~/Mail/inbox" There will never be any doubt about where to look for a post - just a wait for the linear search, or an intermediate step of applying a display filter. > I don't want to handle archiving my own messages with a Bcc, because > they typically don't have the earmark by which I grab incoming mail and > shove it into the folder where it belongs. There are other earmarks available, and Fcc. The following has not evolved further here, because it works well enough for my needs to get the job done: set record="~/mail/sent" # For when I forget Fcc. That could equally be ! or ^, and is only a backup, because list posts appear in-thread in the relevant list inbox, anyway. When sending to family, mutt saves in the "family" inbox: # Fcc & save any To or From group: fcc-save-hook '%L fam_grp' family relying on: alias -group fam_grp david david.goli...@giants.org There is also sidestepping the $record setting of "sent" for a non-list case: folder-hook newspapers_age_weekly_times 'my_hdr Fcc: newspapers_age_weekly_times' It is fetchmail which distributes list mail to separate inboxes, so all that mutt needs for prioritised presentation of them is: mailboxes +/family_u /var/spool/mail/erik +/avr_gcc_u +/avr_chat_u mailboxes +/cnc_linux_u +/luv-main +/binutils_u +/vim_u +/mutt_u mailboxes +/procmail_u +/todo mailboxes ~/postponed # So it's accessible in the 'y' list. Dealing only with mails on a single topic at any time, and having the topics presented in priority order, borders on a mental health issue, I think. Attempting to deal with a chaotic flood in a single inbox, switching from topic to topic at random, could quickly become overwhelming? Erik