Mutt + gnupg (muttrc)

Mutt [ imap + smtp + cyrus sasl ] com GNUPG

Categoria: Miscelânea

Software: Mutt + gnupg

[ Hits: 4.769 ]

Por: Perfil removido


Configuração esqueleto do arquivo de configuração do mutt pra uso com Gmail.

Deve ser posto em:

~/.mutt/muttrc
~/.muttrc

Deve ter um arquivo ~/.mutt/passwords.gpg assegurado com sua chave particular, dentro deve ter as variaveis

set imap_pass = 'suasenha'
set smtp_pass = 'suasenha'


# character set on messages that we send
set send_charset="utf-8"
# if there is no character set given on incoming messages, it is probably windows
set assumed_charset="iso-8859-1"

# make sure Vim knows mutt is a mail client and that we compose an UTF-8 encoded message
set editor="vim -c 'set syntax=mail ft=mail enc=utf-8'"

# just scroll one line instead of full page
set menu_scroll=yes

# we want to see some MIME types inline, see below this code listing for explanation
auto_view application/msword
auto_view application/pdf

# make default search pattern to search in To, Cc and Subject
set simple_search="~f %s | ~C %s | ~s %s"

# threading preferences, sort by threads
set sort=threads
set strict_threads=yes

# show spam score (from SpamAssassin only) when reading a message
spam "X-Spam-Score: ([0-9\\.]+).*" "SA: %1"
set pager_format = " %C - %[%H:%M] %.20v, %s%* %?H? [%H] ?"

source ~/.mutt/vombatidae.mutt

# Keybind to fetch email
bind index G imap-fetch-mail

# IMAP name settings
set from = "yourusername@gmail.com"
set realname = 'yourrealname'

# Loading imap and smtp passwords from gpg file
source "gpg -d ~/.mutt/passwords.gpg |"

# Imap Login Settings
set imap_user = 'yourusername@gmail.com'

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

# Page for certificates
set certificate_file=~/.mutt/certificates

# IMAP connection settings
set mail_check=10
set imap_keepalive=900
set move = no #Stop asking to "move read messages to mbox"!

# SMTP SETTINGS
set smtp_url = 'smtp://yourusername@smtp.gmail.com:587/'

# Allow Mutt to open new imap connection automatically.
unset imap_passive

# SSL hardening
set ssl_force_tls=yes
set ssl_starttls=yes
set ssl_use_sslv3=no
set ssl_use_tlsv1=no
set ssl_verify_dates=yes
set ssl_verify_host=yes

# I know what I'm doing
set abort_nosubject=no
set abort_unmodified=no
  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts