Mon choix s'est tourné vers mutt (étant fan de screen/vim/irssi ça semblait sympa). Au début avec un seul compte no problema ça rox ... après j'ai voulu configurer la 15aine d'adresses email que j'ai et là ... c'est le drame
Dans l'ordre j'ai commencé par ce tuto: http://wiki.archlinux.org/index.php/Mutt puis j'ai configurer le multicomptes avec : http://wiki.mutt.org/?UserStory/MultiAccounts, puis msmtp en multicomptes avec http://mychael.gotdns.com/blog/2007/04/ ... archlinux/
Bref en gros ça ressemble à ça:
~/.offlineimaprc
Code : Tout sélectionner
[general]
accounts = fortier.arnaud.lalala@gmail.com, warnaud.nospam@gmail.com
maxsyncaccounts = 2
ui = Curses.Blinkenlights
# Gives you a nice blinky output on the console so you know what's happening.
# ui = Noninteractive.Quiet # If uncommented, this would show nothing at all. Great for cronjobs or background-processes
[Account fortier.arnaud.lalala@gmail.com]
localrepository = local-fortier.arnaud.lalala@gmail.com
# Profile-Name for the local Mails for a given Account
remoterepository = fortier.arnaud.lalala@gmail.com
# Profile-Name for the remote Mails for a given Account
autorefresh = 5
# fetches your mails every 5 Minutes
[Repository local-fortier.arnaud.lalala@gmail.com]
type = Maildir
# Way of storing Mails locally. Only Maildir is currently supported
localfolders = ~/Mails/fortier.arnaud.lalala@gmail.com
# Place where the synced Mails should be
[Repository fortier.arnaud.lalala@gmail.com]
type = IMAP
# Type of remote Mailbox. Only IMAP is supported right now.
remotehost = imap.gmail.com
# Where to connect
ssl = yes
# Whether to use SSL or not
remoteport = 993
# Would specify a port if uncommented. That way, it just tries to use a default-port
remoteuser = fortier.arnaud.lalala
# Login-Name
remotepass = ********
[Account warnaud.nospam@gmail.com]
localrepository = local-warnaud.nospam@gmail.com
# Profile-Name for the local Mails for a given Account
remoterepository = warnaud.nospam@gmail.com
# Profile-Name for the remote Mails for a given Account
autorefresh = 5
# fetches your mails every 5 Minutes
[Repository local-warnaud.nospam@gmail.com]
type = Maildir
# Way of storing Mails locally. Only Maildir is currently supported
localfolders = ~/Mails/warnaud.nospam@gmail.com
# Place where the synced Mails should be
[Repository warnaud.nospam@gmail.com]
type = IMAP
# Type of remote Mailbox. Only IMAP is supported right now.
remotehost = imap.gmail.com
# Where to connect
ssl = yes
# Whether to use SSL or not
remoteport = 993
# Would specify a port if uncommented. That way, it just tries to use a default-port
remoteuser = warnaud.nospam@gmail.com
# Login-Name
remotepass = ******
Code : Tout sélectionner
account default
host smtp.gmail.com
port 587
protocol smtp
auth on
from warnaud.nospam@gmail.com
user warnaud.nospam@gmail.com
password ******
tls on
tls_starttls on
tls_trust_file /home/warnaud/Mails/certificats/ThawtePremiumServerCA.crt
account fortier.arnaud@gmail.com
host smtp.gmail.com
port 587
protocol smtp
auth on
from fortier.arnaud.lalala@gmail.com
user fortier.arnaud.lalala@gmail.com
password *******
tls on
tls_starttls on
tls_trust_file /home/warnaud/Mails/certificats/ThawtePremiumServerCA.crt
Code : Tout sélectionner
## GLOBAL
set hidden_host # When set, mutt will skip the host name part of ``$hostname'' variable when adding the domain part to addresses.
set move=no
set quit=ask-yes
set timeout=15
set imap_authenticators="login"
set imap_passive="no"
unset mark_old # Controls whether or not mutt marks new unread messages as old if you exit a mailbox without reading them.
set tilde
auto_view text/html
alternative_order text/plain text/enriched text text/html # Show the "text/plain" part *before* the "text/html" part
#set signature="~/Desktop/Documents/signature_perso"
set reply_regexp="^((re|aw|sv|ang):[ \t]*)+"
# get rid of auto '--' when composing mail
set sig_dashes=yes
set abort_nosubject=yes
set abort_unmodified=yes
set postpone=ask-no
set tmpdir="~/Mails/tmp/"
set sort=threads
set sort_aux=mailbox-order
set editor="vim + -c 'set ft=mail tw=80' -c ':0/^$'"
unset metoo
#unset confirmappend
#set help = no
charset-hook US-ASCII ISO-8859-1
charset-hook x-unknown ISO-8859-1
set allow_8bit
set locale="fr_FR.UTF-8"
set charset="utf-8"
charset-hook us-ascii iso-8859-1
charset-hook x-unknown iso-8859-1
charset-hook windows-1250 CP1250
charset-hook windows-1251 CP1251
charset-hook windows-1252 CP1252
charset-hook windows-1253 CP1253
charset-hook windows-1254 CP1254
charset-hook windows-1255 CP1255
charset-hook windows-1256 CP1256
charset-hook windows-1257 CP1257
charset-hook windows-1258 CP1258
## VIEW MAIL
set smileys="(>From)|(:[-^]?[][)(><}{|/DP])"
set pager_context=1 # number of lines that overlap on paging
set pager_index_lines=8
set pager_stop # "next_page" won't jump to next message at end of messages
## INDEX
set index_format="%4C %Z [%D] %-15.15n %s"
# When viewing the index, mails are marked
# Z -not sent to me, T - sent only to me, G - sent to me
# and others(Group), C - cc'ed to me, F - from me
set to_chars=" +-.F"
set date_format="%d/%b - %H:%M"
## SIDEBAR
# set up the sidebar, default not visible
set sidebar_width=24
set sidebar_visible=yes
set sidebar_delim='|'
# color of folders with new mail
color sidebar_new yellow 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><refresh>'
macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
bind index B bounce-message
set reverse_name=yes
set reverse_realname=yes
set use_from=yes
#Par défaut
#set from=warnaud@gmail.com
#set realname="Warnaud"
#set mbox = "~/Mails/Inbox"
set folder = "~/Mails"
#set record = +Sent
mailboxes +fortier\.arnaud\.lalala@gmail\.com/INBOX +warnaud\.nospam@gmail\.com/INBOX
alternates ^fortier.arnaud\\.lalala@gmail\\.com$ ^warnaud\\.nospam@gmail\\.com$
send-hook . 'set realname="Fortier Arnaud"'
send-hook "~f ^warnaud\\.nospam@gmail\\.com$" 'set realname="Warnaud"'
set sendmail="/usr/bin/msmtp"
set envelope_from=yes
macro generic "<esc>1" ":set from=warnaud.nospam@gmail.com"
macro generic "<esc>2" ":set from=fortier.arnaud.lalala@gmail.com"
Par conte c'est largement n'importe quoi quand il s'agit d'envoyer un mail ... :
- déjà entre les deux boites, par défaut c'est toujours warnaud.nospam@gmail.com qui est sélectionné ... j'ai rajouté le bindings esc+1/2 pour changer d'email mais bon vive la convivialité ...
- le realname de warnaud.nospam@gmail.com marche pas
- les mails envoyés sont pas de la même forme suivant l'adresse choisie, avec fortier.arnaud.lalala@gmail.com ça rajoute deux tonnes de blabla dans l'entête
Bref voilà je galère.
Quelqu'un aurait-il la gentillesse d'éclairer ma lanterne, car je pense quand même pas être le seul être sur terre a avoir plusieurs adresses emails :/
Je cherche "juste" une configuration multicomptes qui fonctionne