Thanks
Chris
There is a guide that might be useful:
Using Mutt with Gmail
http://www.andrews-corner.org/mutt.html
It does not deal with IMAP though....
Andrew
--
Do you think that's air you're breathing?
> It does not deal with IMAP though....
# Base hook to reset account variables to known state before
activating new ones
account-hook . 'unset preconnect imap_user imap_pass
imap_authenticators; set ssl_starttls=ask-yes'
#GOOGLE
account-hook imaps://imap.gmail.com:993 \
'set \
imap_user="J...@gmail.com" imap_pass="XXX" \
folder="imaps://imap.gmail.com:993" \
record="imaps://imap.gmail.com:993/[Google Mail]/Sent Mail" \
from="J...@gmail.com" hostname="gmail.com" \
'
set spoolfile="imaps://imap.gmail.com:993/INBOX"
mailboxes +INBOX +'[Google Mail]/All Mail' +'[Google Mail]/Sent Mail'
+'[Google Mail]/Spam' +'[Google Mail]/YYY'
Works for me. Of course you need to change XXX to your password, JA to
your username and you can add as many YYY as you need.
Cheers,
Wawrzek
Here's one that does deal with IMAP.
--
HTH,
indi
Okay, morning indeed.
Apologies, I guess there's not much on imap there
but this may help you from my own muttrc. I use this in FreeBSD
and in OS X, it assumes the sidebar patch, IMAP enabled and esmtp.
I don't use the MacPorts version of mutt though, last I tried that
it wasn't built to enable IMAP (which seems a waste -- mutt has
terrific IMAP support).
set from=us...@gmail.com
set realname="Me"
set reverse_name=yes
set reverse_realname=no
set imap_user = 'us...@gmail.com'
set imap_pass='password'
set sendmail='/usr/local/bin/esmtp -v -X /tmp/esmtp.lo'
set use_envelope_from=yes
set spoolfile = 'imaps://imap.gmail.com:993'
set folder = 'imaps://imap.gmail.com:993/'
set postponed='=[Gmail]/Drafts'
set move=no
set delete=yes
set edit_hdrs
set include
set reply_to
set sort=threads
set abort_nosubject=no
set imap_check_subscribed
set imap_list_subscribed
alternates '(username|altusername)([-+].*)?@.*'
set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the
index
hdr_order From: Date: User-Agent: X-Mailer To: Cc: Reply-To: Subject:
ignore *
unignore From: Date: User-Agent: X-Mailer To: Cc: Reply-To: Subject:
my_hdr Reply-To:
auto_view text/html application/x-pgp-message
set mailcap_path='~/.mailcap'
set mailcap_sanitize=yes
set editor='emacs %s'
set header_cache='~/.mutt/cache/headers'
set message_cachedir='~/.mutt/cache/bodies'
set certificate_file=~/.mutt/certificates
set mail_check=120
set edit_hdrs
set include
set reply_to
alternates '(username|altusername)([-+].*)?@.*'
set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the
index
hdr_order From: Date: User-Agent: X-Mailer To: Cc: Reply-To: Subject:
ignore *
unignore From: Date: User-Agent: X-Mailer To: Cc: Reply-To: Subject:
my_hdr Reply-To:
set editor='emacs %s'
set alias_file=~/.mutt/mail_aliases
source ~/.mutt/mail_aliases
color hdrdefault brightblue default
color quoted green default
color signature red default
color status brightcyan default
color indicator brightyellow default
color normal brightmagenta default
# set up the sidebar, default visible
set sidebar_width=16
set sidebar_visible=yes
set sidebar_delim=':'
# color of folders with new mail
color sidebar_new brightgreen default
# ctrl-n, ctrl-p to select next, prev folder
# ctrl-o to open selected folder
bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open
# b toggles sidebar visibility
macro index b '<enter-command>toggle sidebar_visible<enter>'
macro pager b '<enter-command>toggle sidebar_visible<enter>'
# Remap bounce-message function to "B"
bind index B bounce-message
Same thing you do for any other IMAP server.
What are you having problems with?
> Does anyone have a working .muttrc I can copy off?
set folder=imaps://imap.gmail.com:993/
set imap_keepalive=30
--
Grant Edwards grante Yow! I had pancake makeup
at for brunch!
visi.com