Echec réception email/gmail/mutt

Bonsoir à tous,

Depuis ma récente réinstallation de ma sid, je m’arrache les cheveux pour retrouver une configurtion d’avant pour lire et envoyer des emails via mon compte gmail avec les outils :

mutt/fetchmai/procmail/exim4

Cela fonctionnait parfaitement auparavant, maintenant je parviens à envoyer des emails à partir de mutt mais pas à les recevoir.

Voici un message d’erreur reçu sur une autre messagerie lors d’un envoi d’email sur mon compte m3t4linux[at]gmail[dot]com

[quote]This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

m3t4linux@localhost
Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: genpashiro@gmail.com
Received: from localhost ([::1] helo=sid.genpashiro)
by sid.genpashiro with esmtp (Exim 4.72)
(envelope-from genpashiro@gmail.com)
id 1OxnOV-0001Gn-D2
for m3t4linux@localhost; Mon, 20 Sep 2010 22:55:23 +0200
Delivered-To: m3t4linux@gmail.com
Received: from pop.gmail.com
by sid.genpashiro with POP3 (fetchmail-6.3.17)
for m3t4linux@localhost (single-drop); Mon, 20 Sep 2010 22:55:23 +0200 (CEST)
Received: by 10.231.77.26 with SMTP id e26cs210741ibk;
Mon, 20 Sep 2010 13:55:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of genpashiro@gmail.com designates 10.231.85.206 as permitted sender) client-ip=10.231.85.206;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of genpashiro@gmail.com designates 10.231.85.206 as permitted sender) smtp.mail=genpashiro@gmail.com; dkim=pass header.i=genpashiro@gmail.com
Received: from mr.google.com ([10.231.85.206])
by 10.231.85.206 with SMTP id p14mr10879411ibl.89.1285016110226 (num_hops = 1);
Mon, 20 Sep 2010 13:55:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:received:date:message-id
:subject:from:to:content-type;
bh=HSznl6jGSGhaHL6Db7AC4pbuzbeZvPa7DKO+pbxL65M=;
b=xb7hktcnp8glOfz7PiHrlz8S+yXKnGy/untxuJNgUzfxE6/VIjAQAPlT4LqnW4LI4G
cQGHMkS+7mcMqMDBSuYQ0QkHOICy2cGPvlBsWcc+ZXIEHUtRXu2WCj1kd+zpxZybOmH/
RKGDbY5GhEo4jC5T9PN5/wqOQNLfPD7JluADE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
b=N6O4rbh/jmJhl1fuayGxtXVhe6DSTA+4Ac8BSha/VU0XVILxtoV8S+wBzZHly9jErJ
PmtUod6k0Gj+ZhlwLplQMRfhuU0h8UeGrD7CpshQMF0oXCOJgzffmnX/daRGwTQV81Ho
RER66cxHzzl4/Wl8QCQGUGqkiR9q9LYcEZpmU=
MIME-Version: 1.0
Received: by 10.231.85.206 with SMTP id p14mr10879411ibl.89.1285016110205;
Mon, 20 Sep 2010 13:55:10 -0700 (PDT)
Received: by 10.231.205.139 with HTTP; Mon, 20 Sep 2010 13:55:10 -0700 (PDT)
Date: Mon, 20 Sep 2010 22:55:10 +0200
Message-ID: AANLkTikXgKaLGSzScmaoBDpjdjawY1pHktScVakp1NuA@mail.gmail.com
Subject: Test
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_MARECAILLE?= genpashiro@gmail.com
To: m3t4linux m3t4linux@gmail.com
Content-Type: multipart/alternative; boundary=001485e8cefcc78da40490b7205d

–001485e8cefcc78da40490b7205d
Content-Type: text/plain; charset=ISO-8859-1

Test 22h55

–001485e8cefcc78da40490b7205d
Content-Type: text/html; charset=ISO-8859-1

Test 22h55

–001485e8cefcc78da40490b7205d–[/quote]

Je ne vois pas où cette adresse est configurée, m3t4linux@localhost

J’ai essayé plusieurs config’ de exim4 via dpkg-reconfigure…

Voci mon fetchmailrc

[quote]# ~/.fetchmailrc

Fichier de configuration de fetchmail

Formation Debian GNU/Linux par Alexis de Lattre

formation-debian.via.ecp.fr/

Pour plus de détails, consultez “man fetchmail”, section "The run control

file" et “Configuration Examples”.

ATTENTION, ce fichier doit avoir les permissions “600”, sinon fetchmail

refuse de fonctionner.

Nom du serveur POP3

poll pop.gmail.com with proto POP3 and options no dns

Login et mot de passe de votre compte mail

username "m3t4linux@gmail.com" there with password “debian79” is “m3t4linux” here options ssl

Décommentez la ligne suivante si vous voulez que vos mails ne soient

pas effacés du serveur (c’est plus prudent pour des tests) :

#keep

Si vous voulez que fetchmail rappatrie les mails d’un deuxième compte POP,

il suffit de répéter les lignes “poll”, “protocol”, “username” et

“password” dans un deuxième paragraphe.

Temps vérification new emails

set daemon 60

mda procmail[/quote]

Si vous avez besoins de plus d’infos…

Merci

Mutt utilise le compte utilisateur par défaut, d’où le m3t4linux@localhost. Il faut lui dire d’utiliser l’adresse de l’expéditeur (From) dans les en-têtes SMTP. Dans ~/.muttrc

set use_envelope_from
set envelope_from_address="genpashiro@gmail.com"

Mais si je reçois des emails d’autres expéditeurs??

Je me souviens pas avoir fais ce genre de choses avant la réinstallation.

J’ai repris mes fichiers d’avant que j’avais sauvegarder.

Une mauvaise configuration d’exim4 peut être??

(J’ai suivi ton tuto sur le SDZ kna)

[quote=“M3t4linux”]Mais si je reçois des emails d’autres expéditeurs??
C’est pour les mails que tu envois à partir de mutt, pas ceux que tu reçois.

J’oubliais, il faut aussi dire à exim de cacher le nom local des mails sortants quand tu fais dpkg-reconfigure.

L’idée c’est de remplacer l’adresse de ton utilisateur système (utilisateur@localhost) par le compte que tu utilises sur ton relais.

OK kna, je reconfigurerais exim dans ce sens

Il y a un bug causé par libc6

http://lists.debian.org/debian-user-french/2010/09/msg00438.html