Beaucoup de mails considérés comme spam ? Chez Free, Orange, Laposte, SFR…

À Framasoft, nous avons eu fin août un problème d’envoi de mails vers plusieurs fournisseurs de mails (Free, Orange, Laposte, SFR).
Ces fournisseurs utilisent tous le même antispam : VadeSecure, qui a changé des réglages justement à cette période. Gandi aussi utilise VadeSecure.

Nous les avons contactés et tout est rentré dans l’ordre.

J’ai documenté ça sur Mail | Administration système avancée | Je veux monter un hébergeur alternatif | La litière.

C’était juste pour vous avertir, au cas où vous auriez le même problème :slightly_smiling_face:

10 Likes

Merci bcp pour ce partage et ce retour d’expérience qui peut être utile à beaucoup de personnes qui héberge un service mail

Oui merci pour ce retour d’expérience.
@Framasky : C’était quoi les symptômes ? Des rejets SMTP ou juste ça finissait dans le dossier SPAM sans explication ?

J’ai rien trouvé (même après création d’un compte) pour connaître la réputation de ces IP chez eux… c’est pénible…

Chez Framasoft, c’était des rejets SMTP directs, mais je connais un cas en dehors de Framasoft où les mails passaient dans le dossier SPAM.

Bonjour,
Merci pour le partage :
https://wiki.chatons.org/doku.php/heberger/administration_systeme_avancee/mail#problemes_de_beaucoup_de_mails_rejetes_en_spam
Pour info, un article qui m’a aidé pour solutionner le problème d’envoi de courriel à partir d’un logiciel libre et français de gestion de photo : piwigo. En fonctionnement sur un Raspberry Pi connecté à l’agrume :
https://sqx-bki.fr/ralentir-le-debit-denvoi-postfix/
Le contenu est complémentaire.
Cordialement
Phil

La procédure pour réduire la fréquence d’envoi de postfix est déjà sur le wiki chatons depuis un bail¹ :sweat_smile:

¹ 2020, c’est ce qui a motivé la création de la page sur le mail

2 Likes

Bonjour,

Je déterre ce topic pour signaler qu’en cette fin de semaine de janvier 2023, les serveurs mails d’Orange acceptent péniblement du 1 mail toutes les 5 secondes.

Du coup, ajustez vos transports postfix vers l’agrume historique afin de prévenir les rejets brutaux. :smiley_cat:

6 Likes

Merci pour le signalement du coup j’ai modifier mon spooler « slow » comme ça :

slow    unix    -       -       n       -       5       smtp
   -o syslog_name=postfix-slow
   -o smtp_destination_concurrency_limit=1
   -o slow_destination_rate_delay=5

ça risque d’être un peu mou mais bon… je vais voir dans le temps…

1 Like

Bonjour, j’ai éditer du coup comme suggéré les valeurs, sur un serveur Yunohost. Du coup Yunohost n’aime pas bien que l’on change ses parmètres par défaut…
Mauvaise idée ??

Bonjour, j’ai fait pareil et je ne pense pas qu’il y ait d’incidence si ce n’est que le fichier ne se mettra pas à jour automatiquement et qu’il faudra refaire la manip en cas de mise à jour manuelle.
Je vais me pencher sur la mise en place d’un hook car j’ai plusieurs modifications sur les fichiers postfix.

1 Like

@Poine sinon tu peux aussi suggérer la modif dans yunohost direct:

1 Like

Salut,
je ne suis pas expert sur la question. j’ai mis en place il y a quelques semaines le hook proposé sur mon serveur YunoHost que je trouvais judicieux. Un utilisateur a eu des soucis et je me suis rendu compte qu’orange bloquait l’envoi des mails…

J’avais mis en place ces règles

echo '
transport_maps = hash:/etc/postfix/transport
slow_initial_destination_concurrency=1
slow_destination_concurrency_limit=1
slow_destination_rate_delay=5' >> $postfix_main_conf

echo '
slow    unix    -       -       n       -       5       smtp
   -o syslog_name=postfix-slow
   -o smtp_destination_concurrency_limit=1
   -o slow_destination_rate_delay=5' >> $postfix_master_conf

avec ce fichier /etc/postfix/transport

# Wanadoo / Orange
wanadoo.com slow:
wanadoo.fr slow:
wanadoo.es slow:
orange.com slow:
orange.fr slow:
free.fr slow:

Et je me suis retrouvé une erreur comme celle-ci

Mar  2 18:18:23 domain postfix/trivial-rewrite[2819055]: warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport
Mar  2 18:18:23 domain postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 18:18:23 domain postfix/qmgr[2619125]: 5765F28E10B: from=<userdomain@domain.fr>, size=64395, nrcpt=1 (queue active)
Mar  2 18:18:23 domain postfix/error[2819056]: 3E0AA28E3ED: to=<personne@orange.fr>, relay=none, delay=21313, delays=21313/0.02/0/0.05, dsn=4.3.0, status=deferred (mail transport unavailable)
Mar  2 18:18:28 domain postfix/error[2819056]: 5765F28E10B: to=<personne2@orange.fr>, relay=none, delay=2153, delays=2148/5.1/0/0.06, dsn=4.3.0, status=deferred (mail transport unavailable)

Du coup en enlevant le hook et en repartant avec une configuration de départ (après un regen_conf), les mails orange sont biens partis…

Du coup je ne sais pas quoi penser… mon réglage n’allait pas ? est-ce que cela dépends des utilisations ? (j’imagine que quand on fait du mailing list ça se complique)…

En cherchant un peu je me rend compte que j’en ai plusieurs bloqués !

Feb 27 17:59:32 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 18:05:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 18:15:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 18:35:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 19:15:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 20:25:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 21:35:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 22:45:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 27 23:55:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 01:05:17 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 02:15:18 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 03:25:18 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 04:35:19 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 05:45:19 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 06:55:20 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 08:05:20 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 09:15:20 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 10:25:20 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 11:35:22 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 12:45:23 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 13:55:24 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 15:05:25 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 16:15:26 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 17:25:26 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 18:35:26 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 19:45:27 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 20:55:27 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 22:05:28 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Feb 28 23:15:28 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 00:25:28 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 01:35:28 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 02:45:28 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 03:55:28 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 05:05:29 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 06:15:29 linux07 postfix/qmgr[1649057]: warning: connect to transport private/orange: Connection refused
Mar  1 07:25:07 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 08:35:07 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 08:45:07 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 08:55:07 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 09:15:07 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 09:45:08 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 09:55:08 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 10:55:09 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 11:05:09 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 12:05:09 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 12:15:10 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 13:15:11 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 13:25:11 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 14:25:11 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 14:35:11 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 15:35:11 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 15:45:11 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 16:45:12 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 16:55:12 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 17:55:12 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 18:05:12 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 19:05:13 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 19:15:13 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 20:15:13 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 20:25:13 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 21:25:13 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 21:35:14 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 22:35:14 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 22:45:14 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 23:45:14 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  1 23:55:14 linux07 postfix/qmgr[2381830]: warning: connect to transport private/orange: Connection refused
Mar  2 00:53:19 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 01:03:19 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 02:03:20 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 02:13:20 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 03:13:20 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 03:23:20 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 04:23:20 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 04:33:20 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 05:33:21 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 05:43:21 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 06:43:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 06:53:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 07:53:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 08:03:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 09:03:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 09:13:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 10:13:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 10:23:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 11:23:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 11:33:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 11:59:31 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:01:54 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:08:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:18:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:23:10 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:28:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:33:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:38:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:43:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 12:58:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 13:18:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 13:38:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 13:43:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 13:53:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 14:28:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 14:48:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 14:53:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 15:03:22 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 15:38:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 15:58:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 16:03:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 16:13:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 16:48:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:08:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:13:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:23:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:42:35 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:46:40 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:48:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:53:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 17:58:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 18:03:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 18:18:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 18:23:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 18:33:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 18:58:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 19:03:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused
Mar  2 19:08:23 linux07 postfix/qmgr[2619125]: warning: connect to transport private/orange: Connection refused

Ou bien mon erreur est de ne pas avoir indexer la db postmap /etc/postfix/transport
Bon, après réflexion, l’erreur venait peut-être de ne pas avoir lancer cette commande si on édite le fichier /etc/postfix/transport, sûrement une bourde que j’ai du faire…

1 Like