Re: Placing Sent Emails in Folders

2021-02-05 Thread Michael Klemm
On Fri, Feb 05, 2021 at 10:11:45AM -0800, Kevin J. McCarthy wrote: > On Thu, Feb 04, 2021 at 01:48:09PM +0100, Michael Klemm wrote: > > .muttrc: > > folder-hook 'server1 'source ~/.muttrc.server1' > > folder-hook 'server2' 'source ~/.muttrc.server2' > > > > macro index 'imaps://server1' > >

Re: Placing Sent Emails in Folders

2021-02-05 Thread Kevin J. McCarthy
On Fri, Feb 05, 2021 at 10:25:50AM -0800, Kevin J. McCarthy wrote: Also, make sure to put the above command in single quotes, to ensure '^' is expanded when the hook fires: folder-hook !INBOX 'set record=^' Err... nevermind, that's not right. 8-) It's still a good habit to put the command

Re: Placing Sent Emails in Folders

2021-02-05 Thread Kevin J. McCarthy
On Fri, Feb 05, 2021 at 10:11:45AM -0800, Kevin J. McCarthy wrote: On Thu, Feb 04, 2021 at 01:48:09PM +0100, Michael Klemm wrote: .muttrc: folder-hook !INBOX set record=^ Also, make sure to put the above command in single quotes, to ensure '^' is expanded when the hook fires:

Re: Placing Sent Emails in Folders

2021-02-05 Thread Kevin J. McCarthy
On Thu, Feb 04, 2021 at 01:48:09PM +0100, Michael Klemm wrote: .muttrc: folder-hook 'server1 'source ~/.muttrc.server1' folder-hook 'server2' 'source ~/.muttrc.server2' macro index 'imaps://server1' macro index 'imaps://server2' It looks like the above two macros don't include the string

Placing Sent Emails in Folders

2021-02-04 Thread Michael Klemm
Hi mutt experts, I'm fighting an problem with folder-hooks that I did not find a good answer for. I basically have two IMAP accounts in mutt, personal and work. What I would like to do is that if a new mail or reply is written in a in folder (except INBOX), the new mail or the reply should be