You are not logged in.
Hey,
I want to use mutt for both a pop3 (gmail) and imap account (own domain). I tried account-hooks, but I can't figure out what I'm doing wrong and the Mutt wiki also doesn't help me.
Fetchmail + procmail is set up properly for the pop3 account.
Here is my ~/.mutt/muttrc:
set realname='Marco Louter'
set sendmail="/usr/bin/msmtp"
set use_from
set envelope_from
set edit_headers
set folder="~/.mail"
set spoolfile="~/.mail/gmail"
# domain
account-hook imap://mail.server.net/ 'unset folder spoolfile; set imap_user=mail@server.net imap_pass=password ssl_starttls=yes ssl_force_tls=yes mail_check=60 timeout=10 net_inc=5'
folder-hook imap://mail.server.net/ 'set folder=imap://mail.server.net/INBOX spoolfile=imap://mail.server.net/INBOX record=+Sent postponed=+Drafts from="Marco Louter <mail>"'
# gmail
account-hook gmail 'unset imap_user imap_pass'
folder-hook gmail 'set folder="~/.mail" spoolfile="~/.mail/gmail" mbox_type=Maildir record=+sent postponed=+drafts from="Marco Louter <marco>"; mailboxes "+gmail +inbox"'
set quit=ask-yes
unset beep
set mailcap_path="~/.mutt/mailcap"
set implicit_autoview
auto_view text/html application/x-pgp-message
set alias_file="~/.mutt/aliases"
set reverse_alias
set fast_reply
set thorough_search
set include
#mailboxes +inbox +linux-box +macr0 +gmail
my_hdr X-Operating-System: `uname -sr`
my_hdr X-JabberID: marc0@nedbsd.nl
# fetchmail bind
macro pager G "!fetchmailr"
macro browser G "!fetchmailr"
macro index G "!fetchmailr"
was known as 'Chestah'
Last.fm profile
Offline
Hi Marco,
for GMail I found this:
http://mogrify.homelinux.org/2006/01/03/using-mutt-with-gmail/
Offline
Thanks for your reply, after struggeling (and googling) for a long time. I've gotten it to work, but mutt didn't really fill my needs so I decided to switch to another emailprogram. ( :oops: )
was known as 'Chestah'
Last.fm profile
Offline
Hi Marco,
there is no problem
Offline