You are not logged in.

#1 2006-09-03 13:33:58

Marco`
Member
From: Schoorl, The Netherlands
Registered: 2005-11-27
Posts: 47
Website

Configuring mutt for a pop3 and a IMAP account

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

#2 2006-09-04 06:04:30

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Configuring mutt for a pop3 and a IMAP account

Hi Marco,
for GMail I found this:

http://mogrify.homelinux.org/2006/01/03/using-mutt-with-gmail/

Offline

#3 2006-09-04 09:02:16

Marco`
Member
From: Schoorl, The Netherlands
Registered: 2005-11-27
Posts: 47
Website

Re: Configuring mutt for a pop3 and a IMAP account

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

#4 2006-09-04 09:08:00

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Configuring mutt for a pop3 and a IMAP account

Hi Marco,
there is no problem  wink

Offline

Board footer

Powered by FluxBB