You are not logged in.

#1 2008-11-25 14:23:39

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

[SOLVED] Setting up Mutt with IMAP gmail.com and archlinux.us accounts

'lo everybody,

I'm trying to convince Mutt to access all my mail addresses over IMAP:
runiq01(at)googlemail(dot)com
runiq02(at)archlinux(dot)us and
runiq03(at)web(dot)de.

googlemail(dot)com and web(dot)de work fine so far, the only one that still has issues is my archlinux(dot)us mail address. Whenever I start Mutt, it says "Login failed" (in German, actually, so I don't know how well-translated this is) for the archlinux(dot)us mailbox, and keeps trying to login over and over.

Relevant parts of .muttrc:

############
# Accounts #
############

account-hook . \ 
'unset imap_user \
imap_pass \
from \
folder \
spoolfile \
record \
postponed'

# runiq01(at)googlemail(dot)com #
#################################

account-hook imaps://runiq01@imap.gmail.com \
'set imap_user = "runiq01(at)googlemail(dot)com" \
imap_pass = "xxxxxxxxx" \
from = "runiq01(at)googlemail(dot)com" \
spoolfile = "+INBOX" \
record = "+[Gmail]/Gesendet" \
postponed = "+[Gmail]/Entwürfe"'

# runiq02(at)archlinux(dot)us #
###############################

account-hook imaps://runiq02@imap.gmail.com \
'set imap_user = "runiq02(at)archlinux(dot)us" \
imap_pass = "yyyyyyyy" \
from = "runiq02(at)archlinux(dot)us" \
spoolfile = "+INBOX" \
record = "+[Gmail]/Gesendet" \
postponed = "+[Gmail]/Entwürfe"'

# runiq03(at)web(dot)de #
#########################

account-hook imaps://runiq03@imap.web.de \
'set imap_user = "runiq03(at)web(dot)de" \
imap_pass = "zzzzzzzz" \
from = "runiq03(at)web(dot)de" \
spoolfile = "+INBOX" \
record = "+Gesendet" \
postponed = "+Entwurf"' 

folder-hook 'imaps://runiq01@imap.gmail.com' 
'set folder=imaps://runiq01@imap.gmail.com/'
folder-hook 'imaps://runiq02@imap.gmail.com' 
'set folder=imaps://runiq02@imap.gmail.com/'
folder-hook 'imaps://runiq03@imap.web.de' 
'set folder=imaps://runiq03@imap.web.de/'

set folder="imaps://runiq01@imap.gmail.com"
mailboxes "=INBOX"
set folder="imaps://runiq02@imap.gmail.com"
mailboxes "=INBOX"
set folder="imaps://runiq03@imap.web.de"
mailboxes "=INBOX"

unset folder 
unset imap_passive

Seems like the problem is rather simple as I don't know what to use as archlinux.us host name. So far I tried runiq02@imap.gmail.com, runiq02@archlinux.us@imap.gmail.com, runiq02@imap.archlinux.us. None worked. Any pointers as to what the correct hostname or configuration is would be welcome.

Runiq smile

Last edited by Runiq (2009-01-08 20:29:26)

Offline

#2 2008-11-25 14:29:22

flowheat
Member
From: Pittsburgh, PA
Registered: 2008-09-23
Posts: 94

Re: [SOLVED] Setting up Mutt with IMAP gmail.com and archlinux.us accounts

I'm not really sure how to fix your problem, but I would recommend removing your e-mail addresses from your post otherwise you'll be getting a ton of spam very shortly.  If you really feel they're necessary to the post you can just replace the @ symbol with 'at' and the . with 'dot' that usually stops crawlers.

Offline

#3 2008-11-25 14:39:21

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: [SOLVED] Setting up Mutt with IMAP gmail.com and archlinux.us accounts

These aren't my real mail addresses, I changed them... which means there might be other people getting spam now.

hmm

You're right. Fixed. smile

EDIT: I got it, eventually. The "runiq02@archlinux.us@imap.gmail.com" approach works now for some odd reason... *scratches head* So it should look like this:

############
# Accounts #
############

[...]

# runiq01(at)googlemail(dot)com #
#################################

account-hook imaps://runiq01(at)googlemail(dot)com@imap.gmail.com \
[...]

# runiq02(at)archlinux(dot)us #
###############################

account-hook imaps://runiq02(at)archlinux(dot)us@imap.gmail.com \
[...]

# runiq03(at)web(dot)de #
#########################

[...]

folder-hook 'imaps://runiq01(at)googlemail(dot)com@imap.gmail.com' 
'set folder=imaps://runiq01(at)googlemail(dot)com@imap.gmail.com/'
folder-hook 'imaps://runiq02(at)archlinux(dot)us@imap.gmail.com' 
'set folder=imaps://runiq02(at)archlinux(dot)us@imap.gmail.com/'
folder-hook 'imaps://runiq03@imap.web.de' 
'set folder=imaps://runiq03@imap.web.de/'

set folder="imaps://runiq01(at)googlemail(dot)com@imap.gmail.com"
mailboxes "=INBOX"
set folder="imaps://runiq02(at)archlinux(dot)us@imap.gmail.com"
mailboxes "=INBOX"
set folder="imaps://runiq03@imap.web.de"
mailboxes "=INBOX"

[...]

Last edited by Runiq (2009-01-08 20:25:04)

Offline

Board footer

Powered by FluxBB