Anomalie #1794
mail de confirmation de gspeakup considérés comme spam
0%
Description
...par Free et SFR
Remote-MTA: dns; smtp-in.sfr.fr
Diagnostic-Code: smtp; 550 5.7.1 Message content rejected
Remote-MTA: dns; mx1.free.fr
Diagnostic-Code: smtp; 550 spam detected
Subject: Confirmation de votre signature de la déclaration Un partenariat indigne des valeurs affichées par l'Éducation nationale
http://www.april.org/microsoft-educ-nat-partenariat-indigne/
Historique
Mis à jour par Edouard Dausque il y a plus de 7 ans
aussi laposte.net
Remote-MTA: dns; smtpz4.laposte.net
Diagnostic-Code: smtp; 550 5.5.0 Service refuse. Veuillez essayer plus tard.
service refused, please try later. LPN007_510
Mis à jour par François Poulain il y a plus de 7 ans
Toujours d'actu.
root@mail:/etc/postfix# grep 6D8F4DA6 /var/log/mail.info Nov 17 17:52:37 mail postfix/smtpd[12821]: 6D8F4DA6: client=localhost[127.0.0.1] Nov 17 17:52:37 mail postfix/cleanup[12831]: 6D8F4DA6: message-id=<20161117165236.B30C3A29@lamp.april.org> Nov 17 17:52:37 mail postfix/qmgr[12753]: 6D8F4DA6: from=<www-data@april.org>, size=2242, nrcpt=1 (queue active) Nov 17 17:52:37 mail postfix/smtp[12767]: BCFBDD84: to=<fpoulain_amie@laposte.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.82, delays=0.12/0/0/0.71, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 6D8F4DA6) Nov 17 17:53:05 mail postfix-slow/smtp[12881]: 6D8F4DA6: to=<fpoulain_amie@laposte.net>, relay=smtpz4.laposte.net[194.117.213.1]:25, delay=28, delays=0.14/0.01/25/3.1, dsn=5.5.0, status=bounced (host smtpz4.laposte.net[194.117.213.1] said: 550 5.5.0 Service refuse. Veuillez essayer plus tard. service refused, please try later. LPN007_510 (in reply to end of DATA command)) Nov 17 17:53:05 mail postfix/bounce[12898]: 6D8F4DA6: sender non-delivery notification: 5137EDAA Nov 17 17:53:05 mail postfix/qmgr[12753]: 6D8F4DA6: removed root@mail:/etc/postfix# grep 5137EDAA /var/log/mail.info Nov 17 17:53:05 mail postfix/cleanup[12826]: 5137EDAA: message-id=<20161117165305.5137EDAA@vip.april.org> Nov 17 17:53:05 mail postfix/qmgr[12753]: 5137EDAA: from=<>, size=4683, nrcpt=1 (queue active) Nov 17 17:53:05 mail postfix/bounce[12898]: 6D8F4DA6: sender non-delivery notification: 5137EDAA Nov 17 17:53:05 mail postfix/cleanup[12829]: 57792D84: message-id=<20161117165305.5137EDAA@vip.april.org> Nov 17 17:53:05 mail postfix/local[12822]: 5137EDAA: to=<www-data@april.org>, relay=local, delay=0.11, delays=0.02/0/0/0.08, dsn=2.0.0, status=sent (forwarded as 57792D84) Nov 17 17:53:05 mail postfix/qmgr[12753]: 5137EDAA: removed
Mis à jour par François Poulain il y a plus de 7 ans
Pourtant les emails envoyés semblent ok :
Return-Path: <www-data@april.org> X-Original-To: fpoulain@amie.coop Delivered-To: fpoulain@amie.coop Received: from localhost (localhost [127.0.0.1]) by cigale.amie.coop (Postfix) with ESMTP id 07E772A0E20 for <fpoulain@amie.coop>; Thu, 17 Nov 2016 18:13:15 +0100 (CET) Authentication-Results: cigale.amie.coop; dkim=pass reason="1024-bit key; unprotected key" header.d=april.org header.i=@april.org header.b=cl+FTZOFQwvN1eaWINHXVqv/NPpCzc3evg2/iJushuYjH7Y5vH3ekEUJzIaKsCOWxHkPHrMZYoR8DqwZHBIrgk5YOKH3Jf7Xk4jnp8eLKoOVRiytUcoDaAep3Wvt+y65XEEw6Srhc96zdbHLNcPaDWfDrGeFdKOo/MFgAYrYeuw=; dkim-adsp=pass; dkim-atps=neutral X-Spam-Flag: NO X-Spam-Score: -2.999 X-Spam-Level: X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-2.899, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no Received: from cigale.amie.coop ([127.0.0.1]) by localhost (cigale.amie.coop [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AXaqYcKQCcFy for <fpoulain@amie.coop>; Thu, 17 Nov 2016 18:13:11 +0100 (CET) X-Greylist: delayed 171 seconds by postgrey-1.35 at cigale.amie.coop; Thu, 17 Nov 2016 18:13:10 CET Authentication-Results: cigale.amie.coop; dkim=pass reason="1024-bit key; unprotected key" header.d=april.org header.i=@april.org header.b=cl+FTZOFQwvN1eaWINHXVqv/NPpCzc3evg2/iJushuYjH7Y5vH3ekEUJzIaKsCOWxHkPHrMZYoR8DqwZHBIrgk5YOKH3Jf7Xk4jnp8eLKoOVRiytUcoDaAep3Wvt+y65XEEw6Srhc96zdbHLNcPaDWfDrGeFdKOo/MFgAYrYeuw=; dkim-adsp=pass; dkim-atps=neutral Received: from vip.april.org (virola.april.org [62.210.101.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cigale.amie.coop (Postfix) with ESMTPS id D7FA02A0D67 for <fpoulain@amie.coop>; Thu, 17 Nov 2016 18:13:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by vip.april.org (Postfix) with ESMTP id A1C25511 for <fpoulain@amie.coop>; Thu, 17 Nov 2016 18:10:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=april.org; s=default; t=1479402616; bh=Mk6CH6s4V18q2Z5c9bfzIHHER7swXuaFk3BCHdlRtMk=; h=To:Subject:From:Date:From; b=cl+FTZOFQwvN1eaWINHXVqv/NPpCzc3evg2/iJushuYjH7Y5vH3ekEUJzIaKsCOWx HkPHrMZYoR8DqwZHBIrgk5YOKH3Jf7Xk4jnp8eLKoOVRiytUcoDaAep3Wvt+y65XEE w6Srhc96zdbHLNcPaDWfDrGeFdKOo/MFgAYrYeuw= X-Virus-Scanned: Debian amavisd-new at april.org Received: from vip.april.org ([127.0.0.1]) by localhost (mail.april.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RlIgJ1Sy1A1v for <fpoulain@amie.coop>; Thu, 17 Nov 2016 18:10:16 +0100 (CET) Received: from lamp.april.org (lamp.cluster.april.org [172.16.0.11]) by vip.april.org (Postfix) with ESMTP id ED15D50E for <fpoulain@amie.coop>; Thu, 17 Nov 2016 18:10:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=april.org; s=default; t=1479402616; bh=Mk6CH6s4V18q2Z5c9bfzIHHER7swXuaFk3BCHdlRtMk=; h=To:Subject:From:Date:From; b=cl+FTZOFQwvN1eaWINHXVqv/NPpCzc3evg2/iJushuYjH7Y5vH3ekEUJzIaKsCOWx HkPHrMZYoR8DqwZHBIrgk5YOKH3Jf7Xk4jnp8eLKoOVRiytUcoDaAep3Wvt+y65XEE w6Srhc96zdbHLNcPaDWfDrGeFdKOo/MFgAYrYeuw= Received: by lamp.april.org (Postfix, from userid 33) id E0EC32E1; Thu, 17 Nov 2016 18:10:15 +0100 (CET) To: =?UTF-8?B?RnJhbsOnb2lzIFBvdWxhaW4=?= <fpoulain@amie.coop> Subject: Confirmation de votre signature de la =?UTF-8?Q?d=C3=A9claration=20Un=20p?= =?UTF-8?Q?artenariat=20indigne=20des=20valeurs=20affich=C3=A9es=20par=20l?= =?UTF-8?Q?=27=C3=89ducation=20nationale=20?= X-PHP-Originating-Script: 0:mail.php From: April <contact@april.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <20161117171015.E0EC32E1@lamp.april.org> Date: Thu, 17 Nov 2016 18:10:15 +0100 (CET) Cher(e) Fran=C3=A7ois, vous recevez ce courriel car vous venez tout juste de signer la d=C3=A9claration Un partenariat indigne des valeurs affich=C3=A9es par l'=C3=89ducation nationale . Une v=C3=A9rification de votre courriel est n=C3=A9cessaire pour =C3=A9viter les fausses signatures. Pour valider votre signature, validez le lien suivant : http://www.april.org/microsoft-educ-nat-partenariat-indigne/confirm/5c77dd20f1b7f8e9b1da8c0448a114ee Note: certains logiciels de courriel peuvent s=C3=A9parer l'URL pr=C3=A9c=C3=A9dente en deux lignes.
Mis à jour par François Poulain il y a environ 7 ans
- Statut changé de Nouveau à Fermé
On a eu de nouveau un probleme avec la poste. Je ne vois pas de solution actionnable : on a un email bien formé, un serveur bien configuré, et un message propre (pas d'image, etc.).
Mis à jour par François Poulain il y a plus de 6 ans
Je pense qu'il faudrait virer le Header X-PHP-Originating-Script: 0:mail.php
comme on a fait sur DTC.
root@dtc:/etc# git show 43c9f8d0e284786206106e976730dab2a8a9217f commit 43c9f8d0e284786206106e976730dab2a8a9217f Author: François Poulain <fpoulain@metrodore.fr> Date: Wed Dec 13 12:36:33 2017 +0100 test nettoyage header diff --git a/.etckeeper b/.etckeeper index f3b08df..863cf03 100755 --- a/.etckeeper +++ b/.etckeeper @@ -815,6 +815,8 @@ maybe chmod 0644 'php5/mods-available/pdo_mysql.ini' maybe chmod 0644 'php5/mods-available/recode.ini' maybe chmod 0755 'postfix' maybe chmod 0644 'postfix/dynamicmaps.cf' +maybe chmod 0644 'postfix/header_checks' +maybe chmod 0644 'postfix/header_checks.db' maybe chmod 0644 'postfix/main.cf' maybe chmod 0644 'postfix/master.cf' maybe chmod 0755 'postfix/post-install' diff --git a/postfix/header_checks b/postfix/header_checks new file mode 100644 index 0000000..b19c700 --- /dev/null +++ b/postfix/header_checks @@ -0,0 +1,3 @@ +/^X-Originating-IP:/ IGNORE +/^X-Mailer:/ IGNORE +/^X-PHP-Originating-Script:/ IGNORE diff --git a/postfix/main.cf b/postfix/main.cf index 13d083b..8436c11 100644 --- a/postfix/main.cf +++ b/postfix/main.cf @@ -629,3 +629,6 @@ default_transport = smtp:mail.april.org relay_domains = april.org smtpd_reject_unlisted_recipient = no +# nettoie entêtes dtc +mime_header_checks = regexp:/etc/postfix/header_checks +header_checks = regexp:/etc/postfix/header_checks