I'm no expert, but I'm pretty sure you need the following in your .muttrc file 
in order to access a gmail account via IMAP:

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"

set header_cache= /home/dale/.mutt/cache/headers
set message_cachedir= /home/dale/.mutt/cache/bodies
set certificate_file= /etc/pki/tls/certs/ca-bundle.crt

This is some of the other stuff in my .muttrc file that might be useful.  I 
have a tendency to be paranoid... something I've cultivated deliberately.

set move = no
set sort=threads
set signature=.signature

#paranoid delusional encryption stuff... also check on the use of Steghide

set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch 
--output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - 
%f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 
0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose 
--output - --encrypt --textmode --armor --always-trust --encrypt-to 0xC9C40C31 
-- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet 
--no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor 
--always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs 
%r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons 
--list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons 
--list-secret-keys %r" 
set pgp_autosign=yes
set pgp_sign_as=daler...@gmail.com
set pgp_replyencrypt=yes
set pgp_timeout=1800
set pgp_good_sign="^gpg: Good signature from"

#for html messages

auto_view text/html

#macros

macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'

#cosmetics

#---- Mutt Colors for Black Background -------
#color   hdrdefault   blue              black
#color   quoted       blue              black
#color   signature    blue              black
#color   attachment   red               black
#color   message      brightred         black
#color   error        brightred         black
#color   indicator    black             red
#color   status       brightgreen       blue
#color   tree         white             black
#color   normal       white             black
#color   markers      red               black
#color   search       white             black
#color   tilde        brightmagenta     black
#color   index        blue              black ~F
#color   index        red               black "~N|~O"

#addressbook

#subscriptions

subscribe mutt-users
subscribe newtontalk
subscribe newnug
-- 
"Nothing is ever so bad that it couldn't be worse, and if it could be worse 
than it is, then maybe its not so bad!"

Attachment: pgpb3mifpBn5X.pgp
Description: PGP signature

Reply via email to