Hello!

Since a few days I'm trying to set up mutt. Using one account I get mutt to 
work (with the help of msmtp) perfectly fine. But since it's common to have 
more than just one mail account I wanted to integrate the others into my mutt 
setup. With folder hooks / account hooks mutt loads and displays the INBOX 
mails of each account without a problem.

One problem still remains though: I cannot send any mails out. The command line 
freezes, when displaying "Authentification (LOGIN)". Nothing happens from that 
moment on and I just abort the whole process. Since I cannot find any other 
solution via the internet, that uses two accounts with the same imap-server, I 
thought, I could ask some experienced users.

I hope you're able to detect, what is wrong with my setup. I keep my two test 
accounts in seperate account.files and hook them in my .muttrc as listed below.

####################################################
# muttrc file 

folder-hook 'gmx.de' 'source ~/.mutt/account.pwhllnd'
folder-hook 'gmx.de' 'source ~/.mutt/account.drsp'

source ~/.mutt/account.pwhllnd

macro index <f2> '<sync-mailbox><enter-command>source 
~/.mutt/account.pwhllnd<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><enter-command>source 
~/.mutt/account.drsp<enter><change-folder>!<enter>'

account-hook gmx.de 'set imap_user = "pwhl...@gmx.de" imap_pass = xxxxxx'
account-hook gmx.de 'set imap_user = "d...@gmx.de" imap_pass = xxxxxxx'

set timeout = 30
set editor = "vim"
set check_new = yes
set charset = "utf-8"
set locale = `echo "${LC_ALL: -${LC_TIME: -${LANG}}}"`
set send_charset = "us-ascii: iso-8859-15: utf-8"
set file_charset = "us-ascii: iso-8859-15: utf-8"


####################################################
# account.pwhllnd
set from = "pwhl...@gmx.de"
set hostname = "gmx.de"
set folder = "imaps://imap.gmx.com/"
set postponed = "=Entw?rfe"
set spoolfile = "imaps://imap.gmx.com:993/INBOX"
set record = "=Gesendet"


####################################################
# account.drsp
set from = "d...@gmx.de"
set hostname = "gmx.de"
set folder = "imaps://imap.gmx.com/"
set postponed = "=Entw?rfe"
set spoolfile = "imaps://imap.gmx.com:993/INBOX"
set record = "=Gesendet"


Thanks for any suggestions and greetings, malte

Reply via email to