Hello. I have two mailboxes and I switch between them using
macro index <F4> '<sync-mailbox><enter-command>source 
~/.mutt/username1<enter><change-folder>!<enter>' macro index <F5> 
'<sync-mailbox><enter-command>source 
~/.mutt/username2<enter><change-folder>!<enter>'
In my second mailbox there are several messages which have flag "F" (what is 
it, btw?). In the main message list they have one field, which says: "To Debian 
Bugtracker". When I switch to first account, contents in this field changes to 
second account real name just before I get to another mailbox. Exactly it 
happens when "source .mutt/username1" is executed, here is my .mutt/username1:
set my_user=userna...@gmail.com 
set my_pass=PASSWORD1
 set realname="NAME LASTNAME" 
set imap_user=$my_user
 set imap_pass=$my_pass 
set folder=imaps://imap.gmail.com/ 
set spoolfile=+INBOX 
set postponed=+[Gmail]/Drafts
 set from=$my_user 
set use_from=yes
 set smtp_url=smtps://$my_user:$my_p...@smtp.gmail.com 
set record=+Sent
 account-hook $folder "set imap_user=$my_user imap_pass=$my_pass"

This looks a bit annoying. Could you please help me to resolve this problem?

Exactly: when I source config of another account, one of the fields of e-mails 
with F flags changes from "To Recepient" to "Account which I am in now realname"

Reply via email to