Hello Jean, thank you for your kind answer.
I source the email account by macro index,pager <f7> '<sync-mailbox><enter-command>source ~/.config/mutt/conf/imap1<enter><change-folder>!<enter>' and I'm in my imap account. If press key "s" here followed by "?" I have only the choice to save in the for the external imap folders and can't switch to the local maildir. I guess, I have to add something in the imap1 file? Kind regards Piet Am Sat, Feb 19, 2022 at 09:16:04AM +0300 schrieb Jean Louis: > * Piet <pl...@posteo.eu> [2022-02-19 00:17]: > > Dear List, > > > > I use Mutt with two external imap accounts. > > At the moment the only thing I miss by using Mutt is to filter and move > > emails to local folders. > > To be honest, I red a lot of howtos but do not understand, how to > > deal with folders. > > That is exactly what I do all the time, I read IMAP and save to > Maildir. > > I think these are main settings on my side to save it as Maildir: > > set folder=/home/data1/protected/Maildir > set mbox_type=Maildir > > # Save by email address > set save_name=yes > set save_address=yes > > The above makes sure that I save emails by the correspondent's email > addres, if correspondent is per...@example.com then it gets saved in > ~/Maildir/per...@example.com > > and then all conversations sent to per...@example.com and received > from per...@example.com may be easily found in > ~/Maildir/per...@example.com > > I have set one key to open all previous conversations related to the > per...@example.com easily > > > First of all I like to save emails from external imap accounts to a > > local maildir folder. But I do not want to use additional software > > like mbsync or offlineimap. > > One by one or tagged emails, all that can be saved as explained above. > > > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > In support of Richard M. Stallman > https://stallmansupport.org/