Re: Alternative Identities
- To: mutt-users@xxxxxxxx
- Subject: Re: Alternative Identities
- From: mimosinnet@xxxxxxxxx
- Date: Wed, 30 Jul 2008 20:55:20 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:subject :message-id:reply-to:mail-followup-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:from; bh=68UkUF+QNwrA/ibS0B2N3sYl2lyURs6MnKHGopn6jk8=; b=bLci+avPuyk/w2DKNpfH+ZQzvc0cdkqM3pmsR88bImT6uVcRC8DHy4pBE35uqccabR VzJGYiFecV9BUfDgF30OHCj8AumnomHiGIoZHQWEd8NohZUVk71wddQslw58eVFuhi51 m6isFyXeXVx3PA4r5GrETBLcJvwoQBrEav6oc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:from; b=V6/jFc8RnjOIu/cVRkbBafku8fEi8/HJUqhl0q2jlZ64FYzIfYa3HikP+mkHns/F+a u2og+Z4JxW+uTYVmweNQGK3xkhxX5lTJH1US4JN8bMXMznol1kDhRSklwB44K6nXGGH5 SklpN8ippcuwG9IkxMKqbwpFCgKAulC4BITAg=
- In-reply-to: <20080718003808.GA29826@xxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20080717162746.GA71903@xxxxxxxx> <20080717203246.GA12227@deepthought> <20080718003808.GA29826@xxxxxxxx>
- Reply-to: "mutt-users@xxxxxxxx"@localhost
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
El dijous, 17 de juliol del 2008 a les 20:38, Jorge Luis va escriure:
> On Thu, Jul 17, 2008 at 09:32:46PM +0100, Ken Moffat wrote:
> > # macros to invoke a profile
> > macro index <F10> ":source ~/.mutt/profile.default\n" # "Load
> > default profile"
> > macro pager <F10> ":source ~/.mutt/profile.default\n" # "Load
> > default profile"
> > macro index <F11> ":source ~/.mutt/profile.lfs\n" # "Load profile:
> > LFS"
> > macro pager <F11> ":source ~/.mutt/profile.lfs\n" # "Load profile:
> > LFS"
> >
>
> I'm using this system now to good effect. There's one minor improvement
> I'd like to make, but I'm not sure how to do it. Is there some way to
> cause these macros to load the respective mboxes upon execution? As
> they stand, I have to call up the mbox listing manually after sourcing
> the macros.
I am using the same approach and I have been playing with multiple imap
accounts to understand how it behavews. I cannot fully understand how mutt
changes imap folders (Mutt 1.5.16):
I have some files with my account definition, with the following information:
$ cat ~/.mutt/Comptes/joanet
set folder=imap://localhost
set imap_user=username
set imap_pass=password
set imap_authenticators=login
$ cat ~/.mutt/Comptes/uab
set folder=imap://imap.uab.es:143
set imap_user=username
set imap_pass=password
set imap_authenticators=login
This code in muttrc successfully loads the imap account definition (I have
tryed with both accounts):
# Default mailbox
source ~/.mutt/Comptes/joanet
If I issue the command c (change-folder) ?, I get the desired list of the imap
folders of the defined account.
I was expecting I could source the other imap account definition, and mutt
would be in the other account. If I enter mutt with one account and I source
the other account:
:source ~/.mutt/Comptes/uab
when issuing command c (change-folder) ?, mutt is waiting to get the list of
folders or shows the folders of the account it was first sourced. It seems that
sourcing the other account does not change the default imap folder.
I have tried different options (like unsettinng imap_user imap_pass and tunnel
before account definition) with similar results.
Is there another option I should set to be able to change imap accounts when
inside mutt?
Thanks for the attention!
--
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211