LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mutt: Only one of the two IMAP accounts opening. (http://www.linuxquestions.org/questions/linux-newbie-8/mutt-only-one-of-the-two-imap-accounts-opening-727824/)

saivin 05-22-2009 12:50 PM

Mutt: Only one of the two IMAP accounts opening.
 
Hi all,
I'm having problem accessing two imap accounts. I tried to get help from #mutt channel. But it seems its a low traffic channel. No replies...

I have two mail accounts on the same domain. I want access them with IMAP. Most of the links I tried talk about using account-hook. The following are my account-hook lines:
Code:

account-hook . 'unset imap_user; unset imap_pass'

account-hook imap://mail.domain.com/ 'set imap_user="me1"'
folder-hook imap://mail.domain.com/ 'set folder="imap://mail.domain.com/Inbox"'

account-hook imap://mail.domain.com/ 'set imap_user="me2"'
folder-hook imap://mail.domain.com/ 'set folder="imap://mail.domain.com/Inbox"'

Now, the problem is only the second imap account opens! I mean with the above setting only account 'me2' opens. If I make first account-hook line 'me2' and second set as 'me1', account 'me1' opens!

So, its not that IMAP is not working for me. Its that the first account mentioned is not opening. What could be wrong. Kindly guide me.


All times are GMT -5. The time now is 08:24 AM.