On Wednesday, 10 June 2009 at 13:32, Christoph Ludwig wrote: > Hi, > > On Tue, Jun 09, 2009 at 05:47:09PM -0400, Paul Hoffman wrote: > > On Tue, Jun 09, 2009 at 06:51:15PM +0200, Christoph Ludwig wrote: > > > On Tue, Jun 09, 2009 at 10:15:04AM -0500, Kyle Wheeler wrote: > > > > On Tuesday, June 9 at 02:28 PM, quoth Chris: > > > > > I'm using mutt v1.5.19 to check mails in MS Exchange IMAP folders. Is > > > > > there any way I could get mutt to notify me of new mails on arrival > > > > > on various IMAP folders? > > > > > > > > Read the manual, look for the command "mailboxes". > > > > > > I am in a similar situation as Chris: I need to monitor several IMAP > > > mailboxes, some of them on Exchange server. I'd therefore need to > > > provide a list of imaps-URLs to the mailboxes command. So far the manual > > > is > > > clear. > > > > > > However, I have somewhat "strange" usernames. For instance, on one server > > > in > > > the Windows domain "COMPANY" I have an account "christoph" that's > > > associated > > > with the mailbox "christoph.ludwig". Exchange expects me therefore to log > > > on > > > with the IMAP username "COMPANY/christoph/christoph.ludwig". > > > > > > Due to the '/', I cannot put the username into the imaps-URL. That's no > > > problem as long as I want to check only one IMAP server with such a > > > username > > > as I then simply set imap_user accordingly and state the "simple" > > > usernames > > > explicitly as part of the imaps-URL on the remaining accounts. It is not > > > obvious (to me), though, how to deal with several IMAP accounts that have > > > such > > > usernames. > > > > What happens if you URL-encode the user name? > > > > imaps://company%2fchristoph%2fchristoph.lud...@example.com > > mutt still complains that it cannot find host "COMPANY".
My vague recollection is that windows usernames are separated by backslashes. How about imaps://company\\christoph\\christoph.lud...@example.com/ (you may need to adjust the quoting a bit)