[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Ayuda] Cliente de correo



Alvaro Mera del Castillo dijo [Wed, Dec 24, 2003 at 03:49:10PM -0600]:
> On Tuesday 23 December 2003 21:11, Gunnar Wolf wrote:
> > Alvaro Mera del Castillo dijo [Tue, Dec 23, 2003 at 06:51:47PM -0600]:
> [...]
> > La configuración de Mutt es poderosa, pero tienes que hacerla tú
> > mismo. Si quieres, puedo enviarte copia de mi .mutt/* para que te des
> > una idea de cómo me gusta leer mi correo, aunque posiblemente tu
> [...]
> 
> Sip, me late la idea. reconozco que ha sido hueva mia el no buscar
> mas sobre mutt, lei buenas cosas sobre el y quiero usarlo y partir
> de tus preferencias me ayudaria mucho.
> 
> He usado un poco pine pero yo soy de los que si les importa si es
> libre o no ademas del nivel de personalizacion.

Acá va entonces mi .mutt/muttrc - Hay un par de cosas especificas a mi
configuración (por ejemplo, mi nombre como remitente o que solicito
usar mi llave 0x8BB527AF para firmar), pero nada que juzgue
impublicable. Lo mando a la lista, creo que puede ser interesante para
alguien más.

Saludos,

--
Gunnar Wolf - gwolf en gwolf cx - (+52-55)5630-9700 ext. 1366
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF
# Archivos a incluir

source ~/.mutt/aliases
source ~/.mutt/lists

# Reset all variables to system defaults
reset all
unhook *

# emacs-like bindings
bind editor    "\e<delete>"    kill-word
bind editor    "\e<backspace>" kill-word

# map delete-char to a sane value
bind editor     <delete>  delete-char

# some people actually like these settings
#set pager_stop
bind pager <up> previous-line
bind pager <down> next-line

# don't add the hostname to the From header
unset use_domain
# don't generate a From header
#unset use_from
set use_from
my_hdr From: "Gunnar Wolf" <gwolf en gwolf cx>

# Specifies how to sort messages in the index menu.
set sort=threads
set sort_aux=date

# Exim does not remove Bcc headers
unset write_bcc
# Postfix and qmail use Delivered-To for detecting loops
unset bounce_delivered

# weed out binary-only announcements to -devel-changes
#macro index \CW T!~s\(.*source.*\)\nWn^T~A\n "Weed out binary-only announcements"

# imitate the old search-body function
macro index \eb '/~b ' 'search in message bodies'

# simulate the old url menu
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
set pipe_decode

# Show documentation when pressing F1
macro generic <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager\n" "Show Mutt documentation"
macro index   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager\n" "Show Mutt documentation"
macro pager   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager\n" "Show Mutt documentation"

# Use folders which match on \\.gz$ or \\.bz2$ as [gb]zipped folders:
open-hook	\\.gz$ "gzip -cd %f > %t"
close-hook	\\.gz$ "gzip -c %t > %f"
append-hook	\\.gz$ "gzip -c %t >> %f"
open-hook	\\.bz2$ "bzip2 -cd %f > %t"
close-hook	\\.bz2$ "bzip2 -c %t > %f"
append-hook	\\.bz2$ "bzip2 -c %t >> %f"

# If Mutt is unable to determine your site's domain name correctly, you can
# set the default here.
#
# set hostname=cs.hmc.edu

# If your sendmail supports the -B8BITMIME flag, enable the following
#
# set use_8bitmime

# colors
color normal	white black
color attachment brightyellow black
color hdrdefault cyan black
color indicator black cyan
color markers	brightred black
color quoted	green black
color signature cyan black
color status	brightgreen blue
color tilde	blue black
color tree	brightred black
color header	brightcyan black ^From:
#color header	brightgreen black ^To:
color header	brightcyan black ^Reply-To:
#color header	brightcyan black ^Cc:
color header	brightgreen black ^Subject:
#color body	brightred black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
#color body	brightblue black (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
color bold	brightwhite black
color underline red black
color quoted	green black

# GnuPG configuration
set pgp_decode_command="/usr/bin/gpg  --no-auto-check-trustdb  --charset utf-8   --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet  --batch  --output - %f"
set pgp_verify_command="/usr/bin/gpg  --no-auto-check-trustdb   --status-fd=2 --no-verbose --quiet  --batch  --output - --verify %s %f"
set pgp_decrypt_command="/usr/bin/gpg  --no-auto-check-trustdb   --status-fd=2 --passphrase-fd 0 --no-verbose --quiet  --batch  --output - %f"
set pgp_sign_command="/usr/bin/gpg  --no-auto-check-trustdb    --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="/usr/bin/gpg  --no-auto-check-trustdb   --charset utf-8 --no-verbose --batch --quiet   --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg  --no-auto-check-trustdb  --charset utf-8    --batch  --quiet  --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg  --no-auto-check-trustdb  --charset utf-8 --passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="/usr/bin/gpg  --no-auto-check-trustdb  --no-verbose --import -v %f"
set pgp_export_command="/usr/bin/gpg  --no-auto-check-trustdb   --no-verbose --export --armor %r"
set pgp_verify_key_command="/usr/bin/gpg  --no-auto-check-trustdb   --verbose --batch  --fingerprint --check-sigs %r"
set pgp_list_pubring_command="/usr/bin/gpg  --no-auto-check-trustdb   --no-verbose --batch --quiet   --with-colons --list-keys %r" 
set pgp_list_secring_command="/usr/bin/gpg  --no-auto-check-trustdb   --no-verbose --batch --quiet   --with-colons --list-secret-keys %r" 
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
# S/MIME configuration
set smime_ca_location="~/.smime/ca-bundle.crt"
set smime_certificates="~/.smime/certificates"
set smime_keys="~/.smime/keys"
set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out"
set smime_get_cert_command="openssl pkcs7 -print_certs -in %f"
set smime_get_signer_cert_command="openssl smime -verify -in %f -noverify -signer %c -out /dev/null"
set smime_get_cert_email_command="openssl x509 -in %f -noout -email"
set smime_import_cert_command="/usr/lib/mutt/smime_keys add_cert %f"
set smime_encrypt_command="openssl smime -encrypt -%a -outform DER -in %f %c"
set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin -in %f -outform DER"
set smime_decrypt_command="openssl smime -decrypt -passin stdin -inform DER -in %f -inkey %k -recip %c"
set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content %f"
set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C"

# Ignora los encabezados que no nos interesan
ignore *
unignore from to subject date cc x-mailing-list reply-to
hdr_order From From: Reply-To: To: Cc: Date: Subject:

# Qué direcciones de correo considero mías
# (regex limitada a 114 caracteres)
set alternates="\^gwolf\@(gwolf\.(org|cx)|upn\.mx\|((campus\.)?iztacala|(ds5000|www)?\.seguridad)\.unam.mx)"

alternative_order text/plain text/html
auto_view text/html

macro index <F5> ":source ~/.mutt/muttrc\n" "Reload the muttrc"
macro pager <F5> ":source ~/.mutt/muttrc\n" "Reload the muttrc"

# Los mensajes que vienen firmados, los respondo firmados.
# Los que vienen cifrados, los respondo cifrados.

set charset="iso-8859-1"
set content_type="text/plain"
set pgp_replyencrypt      # Los mensajes cifrados los respondo cifrados.
set pgp_replysign         # Los mensajes firmados los respondo firmados. 
set pgp_replysignencrypted# Y si traen ambos, pongo ambos.
set pgp_timeout=1         # El timeout para la contraseña de PGP es un segundo
                          # (la pide cada vez)
set pgp_sign_as='0x8BB527AF' # La llave a usar al firmar
set record=+sent-mail     # Graba copia de los mensajes enviados en sent-mail
set pager_index_lines=8   # Mostrar un pedazo de index al leer los correos
set move=no               # No usar mbox para correo ya leído
set include=yes           # Siempre incluye copia del mensaje al responder
set attribution="%n dijo [%d]:" # Qué poner al citar a alguien
unset beep                # Quito el molesto beep...
set beep_new              # Excepto al recibir nuevos mensajes
set reply_to=ask-yes      # Pregunta si hacer caso del reply-to
set smart_wrap            # Word-wrap
set forw_format="[fwd] %s (from: %a)" # Título cuando reenviamos mensajes
set edit_headers          # Edita los encabezados en el editor de texto
set fast_reply            # Al responder, toma el subject del correo actual
set status_on_top         # Estado general en la parte superior
set abort_nosubject=ask-yes  # Pregunta si abortar al no haber subject
set abort_unmodified=ask-yes # Pregunta si abortar al no haber modificado
set mask="."              # Incluye archivos ocultos en el file browser
set alias_file=~/.mutt/aliases # Lista de contactos
set editor="emacs -nw"	  # Mi editor favorito

# En algunos folders prefiero usar como remitente una dirección diferente de 
# la default...
folder-hook IN.debian-private 'my_hdr From: Gunnar Wolf <gwolf en debian org>'
folder-hook IN.spi 'my_hdr From: Gunnar Wolf <gwolf en debian org>'
folder-hook IN.debian-devel 'my_hdr From: Gunnar Wolf <gwolf en debian org>'
folder-hook IN.debian-policy 'my_hdr From: Gunnar Wolf <gwolf en debian org>'

folder-hook IN.cofradia 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.comas 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.consol 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.consol-academ 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-boot 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-bsd 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-devel-spanish 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-edu 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-l10n-spanish 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debianmexico 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-news 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-perl 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-usability 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.debian-user-spanish 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.linux-ayuda 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.pcm 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.perl 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.perl-text-pdf-modules 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.pgsql-ayuda 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.securityfocus 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.seguridad-unam 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'
folder-hook IN.talleres 'my_hdr From: Gunnar Wolf <gwolf en gwolf cx>'


[Hilos de Discusión] [Fecha] [Tema] [Autor]