Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Paramétrage du relai de mail chez Orange

1 réponse
Avatar
franck
Bonjour,

je tente de configurer mon serveur smtp pour relayer les mails de mon
réseau interne sur smtp.orange.fr

Difficile d'obtenir la moindre information du support téléphonique
("vous utilisez outlook ?", "vous avez configuré les dns ?", "ah, bon,
nous ne donnons pas ce genre d'information, il faut vous faire assister
d'un informaticien." - Ils sont devins, les informaticiens, ils vont
deviner tous seuls ce qu'attendent les serveurs smtp d'orange pour
relayer !) ... Bref, je ferme la parenthèse.

Je souhaite donc relayer mes mails. J'utilise un serveur smtp postfix.
Quelqu'un fait-il ça et peut-il m'aider ?

Pour l'instant, j'essaye une connection avec SASL, et une
authentification en PLAIN, avec les user et password de messagerie de
wanadoo (orange).

Mais je récolte un :

relay=smtp.orange.fr[193.252.23.129], delay=1, status=deferred
(Authentication failed: SASL authentication failed; server
smtp.orange.fr[193.252.23.129] said: 535 Error: authentication failed)


Avec un peu plus de détail (niveau de log supérieur), j'ai :

< smtp.orange.fr[193.252.23.129]: 220 mwinf7001.orange.net ESMTP
**************************
Nov 18 11:49:50 tige postfix/smtp[8239]: >
smtp.orange.fr[193.252.23.129]: EHLO axege.net
Nov 18 11:49:50 tige postfix/smtp[8239]: vstream_fflush_some: fd 13 flush 16
Nov 18 11:49:50 tige postfix/smtp[8239]: vstream_buf_get_ready: fd 13
got 118
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 250-mwinf7001.orange.net
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 250-PIPELINING
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 250-SIZE 4508880
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 250-AUTH PLAIN LOGIN
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 250-AUTH=PLAIN LOGIN
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 250 8BITMIME
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: PLAIN ~? gssapi
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: PLAIN ~? external
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: PLAIN ~?
static:all(0,100)
Nov 18 11:49:50 tige postfix/smtp[8239]: dict_lookup: plain = all
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: LOGIN ~? gssapi
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: LOGIN ~? external
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: LOGIN ~?
static:all(0,100)
Nov 18 11:49:50 tige postfix/smtp[8239]: dict_lookup: login = all
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: PLAIN ~? gssapi
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: PLAIN ~? external
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: PLAIN ~?
static:all(0,100)
Nov 18 11:49:50 tige postfix/smtp[8239]: dict_lookup: plain = all
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: LOGIN ~? gssapi
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: LOGIN ~? external
Nov 18 11:49:50 tige postfix/smtp[8239]: match_string: LOGIN ~?
static:all(0,100)
Nov 18 11:49:50 tige postfix/smtp[8239]: dict_lookup: login = all
Nov 18 11:49:50 tige postfix/smtp[8239]: server features: 0x102f size
4508880
Nov 18 11:49:50 tige postfix/smtp[8239]: Using ESMTP PIPELINING, TCP
send buffer size is 4096
Nov 18 11:49:50 tige postfix/smtp[8239]: maps_find: smtp_sasl_passwd:
hash:/etc/postfix/sasl_password(0,100): smtp.orange.fr =
user_de_messagerie:pass_de_messagerie
Nov 18 11:49:50 tige postfix/smtp[8239]: smtp_sasl_passwd_lookup: host
`smtp.orange.fr' user `user_de_messagerie' pass `pass_de_messagerie'
Nov 18 11:49:50 tige postfix/smtp[8239]: starting new SASL client
Nov 18 11:49:50 tige postfix/smtp[8239]: name_mask: noanonymous
Nov 18 11:49:50 tige postfix/smtp[8239]: smtp_sasl_authenticate:
smtp.orange.fr[193.252.23.129]: SASL mechanisms PLAIN LOGIN
Nov 18 11:49:50 tige postfix/smtp[8239]: smtp_sasl_get_user:
user_de_messagerie
Nov 18 11:49:50 tige postfix/smtp[8239]: smtp_sasl_get_user:
user_de_messagerie
Nov 18 11:49:50 tige postfix/smtp[8239]: smtp_sasl_get_passwd:
pass_de_messagerie
Nov 18 11:49:50 tige postfix/smtp[8239]: smtp_sasl_authenticate:
smtp.orange.fr[193.252.23.129]: uncoded initial reply: user_de_messagerie
Nov 18 11:49:50 tige postfix/smtp[8239]: >
smtp.orange.fr[193.252.23.129]: AUTH PLAIN YXhlZ2UAYXhlZ2UAcjJrdXZxYQ==
Nov 18 11:49:50 tige postfix/smtp[8239]: vstream_fflush_some: fd 13 flush 41
Nov 18 11:49:50 tige postfix/smtp[8239]: vstream_buf_get_ready: fd 13 got 34
Nov 18 11:49:50 tige postfix/smtp[8239]: <
smtp.orange.fr[193.252.23.129]: 535 Error: authentication failed
Nov 18 11:49:50 tige postfix/smtp[8239]: connect to subsystem private/defer
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr nrequest = 0
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr flags = 0
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr queue_id = 58B9CE3DFB
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr original_recipient =
alci@mecadu.org
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr recipient =
alci@mecadu.org
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr offset = 261
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr status = 4.0.0
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr action = delayed
Nov 18 11:49:50 tige postfix/smtp[8239]: send attr reason =
Authentication failed: SASL authentication failed; server
smtp.orange.fr[193.252.23.129] said: 535 Error: authentication failed
Nov 18 11:49:50 tige postfix/smtp[8239]: private/defer socket: wanted
attribute: status
Nov 18 11:49:50 tige postfix/smtp[8239]: vstream_fflush_some: fd 14
flush 275
Nov 18 11:49:50 tige postfix/smtp[8239]: vstream_buf_get_ready: fd 14 got 10
Nov 18 11:49:50 tige postfix/smtp[8239]: input attribute name: status
Nov 18 11:49:50 tige postfix/smtp[8239]: input attribute value: 0
Nov 18 11:49:50 tige postfix/smtp[8239]: private/defer socket: wanted
attribute: (list terminator)
Nov 18 11:49:50 tige postfix/smtp[8239]: input attribute name: (end)
Nov 18 11:49:50 tige postfix/smtp[8239]: 58B9CE3DFB:
to=<alci@mecadu.org>, relay=smtp.orange.fr[193.252.23.129], delay=0,
status=deferred (Authentication failed: SASL authentication failed;
server smtp.orange.fr[193.252.23.129] said: 535 Error: authentication
failed)

Au niveau de postfix, j'ai dans mon main.cf :

# SASL SUPPORT FOR SERVERS
#
# The following options set parameters needed by Postfix to enable
# Cyrus-SASL support for authentication of mail servers.
#
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = !gssapi, !external, static:all
debug_peer_list = smtp.orange.fr
debug_peer_level = 5


Voilà. Je ne suis pas sûr :

1) de ce qu'attend le serveur orange (impossible de le leur faire dire)
2) de ma configuration postfix
3) des la façon dont je vais pouvoir progresser (je compte un peu sur
vous :-)

Merci d'avance,

Franck

1 réponse

Avatar
Vince
franck a écrit:
Bonjour,

je tente de configurer mon serveur smtp pour relayer les mails de mon
réseau interne sur smtp.orange.fr

Difficile d'obtenir la moindre information du support téléphonique
("vous utilisez outlook ?", "vous avez configuré les dns ?", "ah, bon,
nous ne donnons pas ce genre d'information, il faut vous faire assister
d'un informaticien." - Ils sont devins, les informaticiens, ils vont
deviner tous seuls ce qu'attendent les serveurs smtp d'orange pour
relayer !) ... Bref, je ferme la parenthèse.

Je souhaite donc relayer mes mails. J'utilise un serveur smtp postfix.
Quelqu'un fait-il ça et peut-il m'aider ?


Mettre "relayhost = smtp.orange.fr" dans le main.cf (pas besoin
d'authentification sur le serveur Orange si vous le faites depuis une
connexion Orange).

--
Vince