mutt+Gmail (.muttrc)

Aki esetleg kipróbálná, remek kis console mailer. Engedélyezni kell az IMAP-et, nálam Google 2-Step Verification is van. Ami még kell hozzá, címszavakban:
- mutt, abook.
- Google: less secure apps.
- Google: app password.

.muttrc (értelemszerűen módosítandó)

# $HOME/.muttrc config file.

# Account data.
set from='fname.lname@gmail.com'
set realname='Fname Lname'
set imap_user='fname.lname@gmail.com'
set imap_pass='new-google-app-password-here'
set smtp_url='smtp://fname.lname@smtp.gmail.com:587/'
set smtp_pass='new-google-app-password-here'
set ssl_starttls=yes
set ssl_force_tls=yes
set timeout=60
set mail_check=60
set imap_keepalive=60
set move=no
unset imap_passive

# Default folders.
set folder='imaps://imap.gmail.com:993'
set spoolfile='+INBOX'
set postponed='+[Google Mail]/Drafts'

# GMail style.
my_hdr Bcc: fname.lname@gmail.com

# Signature.
set signature="$HOME/.mutt_signature"

# Headers, certificates, cache.
set header_cache=$HOME/.mutt/cache/headers
set message_cachedir=$HOME/.mutt/cache/bodies
set certificate_file=$HOME/.mutt/certificates

# Sort by date, then by threads.
set sort_aux=last-date-received
set sort=threads

# Displaying html e-mails in plain text.
auto_view text/html
alternative_order text/plain text/enriched text text/html

# Abook.
set query_command= "abook --datafile $HOME/Dropbox/business/abook/addressbook --mutt-query '%s'"
bind editor complete-query

# Fast reply: same subject, original e-mail.
set fast_reply=yes
set include=yes

A 'my_hdr Bcc' sort az auto formázás elrontja, de értelemszerűen javítható.

Hozzászólások