On 26/02/14 02:21, Eduardo Alvarez wrote:
On Fri, Feb 21, 2014 at 07:51:27PM +0800, Esther Carillo wrote:
Hello mutt.user,

You have probably heard this question so many times you're bored of it,
tonight my Google Fu is letting me down.

See http://paste.debian.net/82890/ for my muttrc and two files I use to
store the IMAP/SMTP details for each of the two yahoo accounts.

The problem is I can't swap between accounts using 'c', I believe this is
because both accounts are using the same IMAP URL so mutt is unable to
distinguish between the two!?

All the tutorials and documentation I see only conveniently use two
different domains, @personal.com and @work.com.

So I'm new to Linux and Mutt and am getting nowhere with this hope someone
can help.

Hello,

If your hypothesis is correct and you can't switch because both accounts share
the same server name, you could try to explictly logout when you press 'c'. to
do this, you could do:

bind pager c <noop> #unbinds the normal operation of the key 'c'
macro pager c "<imap-logout-all><change-folder>" "your choice of help comment".

I'm not too well versed on binding and macros, so if the rest of the list
catches an error, I'm sure I'll get corrected.

Regards,


Hi Eduardo,

Thanks for the tip, it just doesn't _feel_ like the correct way to achieve what I'm looking for.

I was hoping I'd missed something in the manuals that someone could point me to. I'm going to reread them and see what I find. Also I have just learnt about "getmail" and "offlineimap" maybe I need to use these to get the result I want.

I will for sure try this method and report back.

Thanks,
Esther.

Reply via email to