Re: How to get single list of mailboxes from two IMAP servers?
- To: mutt-users@xxxxxxxx
- Subject: Re: How to get single list of mailboxes from two IMAP servers?
- From: mimosinnet@xxxxxxxxx
- Date: Mon, 4 Aug 2008 02:19:56 +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=eF9P9pZ3a0G4v99LxBwBw2nO80laWb6H3QFzvcTPQhw=; b=HKHfinG3GTctrOz7zdC7ysZVyn+jUNn83vV8S+BlhChN5PQ3Auz9vZ79YbCBnjVkTe HbDchEl5qrAdtYPKDuUNjNRZZ1e/xy1VHw/OBwpr/QvjE5gZ+U6IfPf1x6p3VQTlsyC6 jquGt5kywPyuLdwxm+5djWDBbjazzHbNbLvvQ=
- 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=HsZ5SuHKnDa4PsbQLkzMLT2GNUiyx1/SPJdw6FjD00hvds4I/8C0ql/LO8zd1mbACc iw53Bwzyo/pT/+WOVcrpwgFE1kj9nLOz/ZEjZeAqkY1HX6Nia/2cgaritlYj0MNZ8DrF Z7BMiHBgQC7HWRQGOwpAK7Z3afyWW2VRV8q8g=
- In-reply-to: <20080803092142.GA2970@xxxxxxxxxxx>
- 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: <20080802213614.GB4344@xxxxxxxxxxx> <20080803004035.GA4346@joanet> <20080803092142.GA2970@xxxxxxxxxxx>
- Reply-to: "mutt-users@xxxxxxxx"@localhost
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
El diumenge, 03 de agost del 2008 a les 11:21, Marco Fioretti va escriure:
> but I don't want to "change imap account". I want to have **more** than
> one "open", whatever that means, at the **same** time. In Kmail, for
> example, I have the folders in both the accounts displayed
> simultaneously in the folder tree all the time, and I can move back
> and forth from any folder on remote_server to any folder on
> local_server without any problem. I only have, of course, to enter the
> password for each account the first time I access its server. This is
> the functionality I want to replicate in mutt and from reading this:
>
> > http://marc.info/?l=mutt-users&m=121744583503848&w=2
I am quite new to mutt, so I am just learning. I initially started
trying to mimic other mail clients (like kmail) and spent some time trying to
find a way to read different imap accounts from within mutt.
After playing for a while, I feel that mutt has its own logic. It is
much easier to start each imap account in a different console (as it has been
suggested in
the thread) than trying to have all the imap accounts to be read inside a
single mutt. As I also have
started playing with scripts, I have written a
small script to start each different account:
I have this file: /usr/local/bin/correu
#!/bin/bash
echo "Accounts: joanet, uab, fic, master"
if [ $1 = "joanet" ] || [ $1 = "uab" ] || [ $1 = "fic" ] || [ $1 = "master" ]
then
mutt -F ~/.mutt/Comptes/$1
else
echo "This account does not exists:" $1
fi
I write 'correu <name_of_my_account>' and I can access different and even the
same account
from different consoles.
Each account definition is stored in ~/.mutt/Comptes/, and each account
sources the general muttrc configuration file.
Cheers!
--
Location: 41:24:51N (41.41417) 2:11:25E (2.1903)
Linux User: #463211