On Tuesday, 23 November 1999 at 17:22, Tommi Komulainen wrote:
> On Tue, Nov 23, 1999 at 02:22:36PM +0000, Chris Green wrote:
>
> > > You can specify a username in the folder path, eg. {username@host}Mail/box,
> > > and mutt will know how to handle it. You can also use $imap_user to change
> > > the username, if one isn't given in the folder path, before you open that
> > > folder.
> > >
> > My username is [EMAIL PROTECTED] (yes, it really is!), would
> > mutt cope with {[EMAIL PROTECTED]@mailandnews.co.uk}inbox ?
>
> Uh, no, you can't have '@' in the user/hostname.. I though '@' could be
> considered as a 'forbidden' character in usernames. Weird system they are
> having at mailandnews if you ask me.
>
> I think I'll take another look at the parser...
strrchr should do you. hostnames definitely can't contain @s.