Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
  1. #1
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305

    Mutt: Only one of the two 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.
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  2. #2
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    385
    I tried to do this myself not too long ago. I've spoken to the people in mutt and apparently it's not possible to connect to two accounts from the same server. It's possible to have 2 accounts, just as long as they're on different servers.

  3. #3
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    Oh... is it? May be. I too tried my luck in mutt irc and read some docs. Most talk about just this account-hook function.

    Anyway, good to know I am not alone..

    Then I'll use mutt for one account which is basically the geek account with subscription to lot of mailing lists...and the other regular account on thunderbird.

    Thanks Krendo.
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...