On Tue, Nov 23, 1999 at 01:07:48AM +0200, Tommi Komulainen wrote:
> On Wed, Nov 17, 1999 at 10:02:22AM +0000, Chris Green wrote:
>
> > I have two IMAP accounts on the same IMAP4 server, how can I tell
> > mutt to change from one to the other? If I just source a file which
> > does a 'set imap_user=<new user name>' mutt doesn't seem to know
> > anything has changed. The IMAP server is the same so the $folder and
> > $spoolfile names are unchanged (so is the password for that matter!).
>
> I think that currently the only way to use different username on the same
> server would be to run another instance of mutt.
>
> Just out of curiosity, why are you using two mail accounts? Wouldn't it
> be easier to have the other account forward all the mail to the other, and
> have it drop mails in different folders with procmail?
>
That would be very difficult as the IMAP server is just that, an IMAP
server and nothing else (at least from my point of view). So I can't
do any processing with things like procmail or manage files by logging
on to the server, there is no such facility. The reason I have two
accounts is that I get two allocations of 10Mb that way, as long as
each account is used reasonably frequently they will both stay open.
If it's of any interest to anyone else the IMAP server is at
mailandnews.co.uk (or mailandnews.com). They offer free IMAP accounts
with 10Mb of free space and a WebMail package running on the server to
provide one way of accessing them. They do actually provide a filter
facility so, within one account, one can sort mail into IMAP folders.
The IMAP server knows about hierarchical folders but the WebMail
facility doesn't.
> Anyway, I just posted a patch to add this feature to mutt-dev. It should
> be in the CVS shortly.
>
This patch would thus log out and log back in if the imap_user is
changed?
--
Chris Green ([EMAIL PROTECTED])
Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED]
WWW: http://www.isbd.co.uk/