IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration SQL Server Discussion :

Database Mail: des ennuis (failure sending mail) [2008R2]


Sujet :

Administration SQL Server

  1. #1
    Membre expert
    Avatar de annedeblois
    Femme Profil pro
    Analyste d'exploitation
    Inscrit en
    Août 2005
    Messages
    1 485
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 49
    Localisation : Canada

    Informations professionnelles :
    Activité : Analyste d'exploitation
    Secteur : Service public

    Informations forums :
    Inscription : Août 2005
    Messages : 1 485
    Points : 3 218
    Points
    3 218
    Par défaut Database Mail: des ennuis (failure sending mail)
    Bonjour,

    J'obtiens constamment ce message lors d'envoi d'e-mail de test après avoir configuré Database Mail sur un serveur au laboratoire:

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:37:55). Exception Message: Cannot send mails to mail server. (Failure sending mail.).
    )
    J'ai tout essayé ce que ma recherche Google suggère (activation/désactivation de SSL, changement de ports, modification de l'authentification, ajout du compte de service au rôle DatabaseMailUserRole de la base msdb, etc.), avec les paramètres SMTP fournis par les responsables MS Exchange de la boîte.

    Quelqu'un a-t-il une piste? S'il vous manque de l'information, merci de m'aviser, je tâcherai de les retracer et de vous les fournir. Pas une urgence nationale, mais je désire activer Database Mail pour transmettre les alertes sur pagette ou e-mail.

    Merci
    Images attachées Images attachées  
    Anne, citoyenne canadienne
    Informaticienne, altiste et radioamateur... bref, originale
    Lire les règles...
    Un petit rappel: Je ne réponds à aucune question technique posée par MP

  2. #2
    Expert éminent sénior
    Avatar de mikedavem
    Homme Profil pro
    Administrateur de base de données
    Inscrit en
    Août 2005
    Messages
    5 450
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : France, Ain (Rhône Alpes)

    Informations professionnelles :
    Activité : Administrateur de base de données
    Secteur : Distribution

    Informations forums :
    Inscription : Août 2005
    Messages : 5 450
    Points : 12 891
    Points
    12 891
    Par défaut
    Tu pourrais nous donner une capture d'écran de ta configuration également ?

    Que te donne la requête suivante pour la dernière tentative d'envoi de message :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    SELECT * FROM msdb.dbo.sysmail_allitems
    et

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    SELECT * FROM msdb.dbo.sysmail_event_log

    Est-tu sûr que le compte utilisé pour l'authentification possède les droits sur le serveur Exchange ?

    ++

  3. #3
    Membre expert
    Avatar de annedeblois
    Femme Profil pro
    Analyste d'exploitation
    Inscrit en
    Août 2005
    Messages
    1 485
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 49
    Localisation : Canada

    Informations professionnelles :
    Activité : Analyste d'exploitation
    Secteur : Service public

    Informations forums :
    Inscription : Août 2005
    Messages : 1 485
    Points : 3 218
    Points
    3 218
    Par défaut
    Pour la première requête: le sent_status indique retrying et non failed

    Pour la seconde:

    1 information 2013-05-15 13:11:24.907 DatabaseMail process is started 6352 NULL NULL 2013-05-15 13:11:24.907 ADTECHNO\DSServiceSQL2_Tecno
    2 error 2013-05-15 13:11:25.327 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:11:25). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6352 1 NULL 2013-05-15 13:11:25.327 sa
    3 information 2013-05-15 13:12:25.847 DatabaseMail process is started 6128 NULL NULL 2013-05-15 13:12:25.847 ADTECHNO\DSServiceSQL2_Tecno
    4 error 2013-05-15 13:12:26.723 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:12:26). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 1 NULL 2013-05-15 13:12:26.723 sa
    5 error 2013-05-15 13:14:05.963 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:14:05). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 2 NULL 2013-05-15 13:14:05.963 sa
    6 error 2013-05-15 13:15:06.010 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:15:05). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 2 NULL 2013-05-15 13:15:06.010 sa
    7 error 2013-05-15 13:15:11.987 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:15:11). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 3 NULL 2013-05-15 13:15:11.987 sa
    8 error 2013-05-15 13:16:12.020 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:16:11). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 3 NULL 2013-05-15 13:16:12.020 sa
    9 error 2013-05-15 13:17:19.340 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:17:19). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 4 NULL 2013-05-15 13:17:19.340 sa
    10 error 2013-05-15 13:18:19.397 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-15T13:18:19). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 6128 4 NULL 2013-05-15 13:18:19.397 sa
    11 information 2013-05-15 13:28:19.457 DatabaseMail process is shutting down 6128 NULL NULL 2013-05-15 13:28:19.457 ADTECHNO\DSServiceSQL2_Tecno
    12 information 2013-05-16 08:52:52.050 DatabaseMail process is started 3192 NULL NULL 2013-05-16 08:52:52.050 ADTECHNO\DSServiceSQL2_Tecno
    13 error 2013-05-16 08:52:52.310 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T08:52:52). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 3192 5 NULL 2013-05-16 08:52:52.310 sa
    14 error 2013-05-16 08:53:44.623 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T08:53:44). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 3192 6 NULL 2013-05-16 08:53:44.623 sa
    15 error 2013-05-16 08:57:04.550 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T08:57:04). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 3192 7 NULL 2013-05-16 08:57:04.550 sa
    16 error 2013-05-16 08:58:46.523 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T08:58:46). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 3192 8 NULL 2013-05-16 08:58:46.523 sa
    17 error 2013-05-16 09:01:59.850 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:01:59). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 3192 9 NULL 2013-05-16 09:01:59.850 sa
    18 error 2013-05-16 09:04:32.510 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:04:32). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.15:995). ) 3192 10 NULL 2013-05-16 09:04:32.510 sa
    19 information 2013-05-16 09:05:54.617 DatabaseMail process is started 5748 NULL NULL 2013-05-16 09:05:54.617 ADTECHNO\DSServiceSQL2_Tecno
    20 error 2013-05-16 09:05:55.437 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:05:55). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 5748 11 NULL 2013-05-16 09:05:55.437 sa
    21 error 2013-05-16 09:14:35.037 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:14:35). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 5748 12 NULL 2013-05-16 09:14:35.037 sa
    22 information 2013-05-16 09:18:54.170 DatabaseMail process is started 4208 NULL NULL 2013-05-16 09:18:54.170 ADTECHNO\DSServiceSQL2_Tecno
    23 error 2013-05-16 09:18:55.480 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:18:55). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.15:587). ) 4208 13 NULL 2013-05-16 09:18:55.480 sa
    24 error 2013-05-16 09:23:15.510 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:23:15). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.15:587). ) 4208 14 NULL 2013-05-16 09:23:15.510 sa
    25 error 2013-05-16 09:24:05.040 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:24:05). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.14:587). ) 4208 15 NULL 2013-05-16 09:24:05.040 sa
    26 error 2013-05-16 09:28:26.380 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:28:26). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 4208 16 NULL 2013-05-16 09:28:26.380 sa
    27 error 2013-05-16 09:29:22.957 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:29:22). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 4208 17 NULL 2013-05-16 09:29:22.957 sa
    28 information 2013-05-16 09:39:23.000 DatabaseMail process is shutting down 4208 NULL NULL 2013-05-16 09:39:23.000 ADTECHNO\DSServiceSQL2_Tecno
    29 information 2013-05-16 09:40:15.980 DatabaseMail process is started 5344 NULL NULL 2013-05-16 09:40:15.980 ADTECHNO\DSServiceSQL2_Tecno
    30 error 2013-05-16 09:40:16.233 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:40:16). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 5344 18 NULL 2013-05-16 09:40:16.233 sa
    31 error 2013-05-16 09:42:01.350 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:42:01). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.14:465). ) 5344 19 NULL 2013-05-16 09:42:01.350 sa
    32 error 2013-05-16 09:42:35.003 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:42:34). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.14:465). ) 5344 20 NULL 2013-05-16 09:42:35.003 sa
    33 error 2013-05-16 09:43:13.420 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:43:13). Exception Message: Could not connect to mail server. (No connection could be made because the target machine actively refused it 172.18.254.14:465). ) 5344 21 NULL 2013-05-16 09:43:13.420 sa
    34 error 2013-05-16 09:44:01.493 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:44:01). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 5344 22 NULL 2013-05-16 09:44:01.493 sa
    35 error 2013-05-16 09:44:39.530 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:44:39). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 5344 23 NULL 2013-05-16 09:44:39.530 sa
    36 information 2013-05-16 09:47:09.683 The mail queue stopped by login "ADTECHNO\w1865". NULL NULL NULL 2013-05-16 09:47:09.683 ADTECHNO\w1865
    37 information 2013-05-16 09:47:09.727 The mail queue was started by login "ADTECHNO\w1865". NULL NULL NULL 2013-05-16 09:47:09.727 ADTECHNO\w1865
    38 error 2013-05-16 09:47:32.063 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T09:47:32). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 5344 24 NULL 2013-05-16 09:47:32.063 sa
    39 information 2013-05-16 09:57:32.133 DatabaseMail process is shutting down 5344 NULL NULL 2013-05-16 09:57:32.133 ADTECHNO\DSServiceSQL2_Tecno
    40 information 2013-05-16 10:08:30.087 DatabaseMail process is started 2108 NULL NULL 2013-05-16 10:08:30.087 ADTECHNO\DSServiceSQL2_Tecno
    41 error 2013-05-16 10:08:30.323 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:08:30). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 25 NULL 2013-05-16 10:08:30.323 sa
    42 error 2013-05-16 10:16:12.310 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:16:12). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 5 NULL 2013-05-16 10:16:12.310 sa
    43 error 2013-05-16 10:17:04.633 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:17:04). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 6 NULL 2013-05-16 10:17:04.633 sa
    44 error 2013-05-16 10:20:24.583 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:20:24). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 7 NULL 2013-05-16 10:20:24.583 sa
    45 error 2013-05-16 10:22:06.560 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:22:06). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 8 NULL 2013-05-16 10:22:06.560 sa
    46 error 2013-05-16 10:23:34.567 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:23:34). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 26 NULL 2013-05-16 10:23:34.567 sa
    47 error 2013-05-16 10:25:19.897 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:25:19). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 9 NULL 2013-05-16 10:25:19.897 sa
    48 error 2013-05-16 10:27:52.560 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:27:52). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 10 NULL 2013-05-16 10:27:52.560 sa
    49 error 2013-05-16 10:29:15.420 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:29:15). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 11 NULL 2013-05-16 10:29:15.420 sa
    50 error 2013-05-16 10:37:55.120 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:37:55). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 12 NULL 2013-05-16 10:37:55.120 sa
    51 error 2013-05-16 10:42:15.473 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:42:15). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 13 NULL 2013-05-16 10:42:15.473 sa
    52 error 2013-05-16 10:46:35.523 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:46:35). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 14 NULL 2013-05-16 10:46:35.523 sa
    53 error 2013-05-16 10:47:25.093 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:47:25). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 15 NULL 2013-05-16 10:47:25.093 sa
    54 error 2013-05-16 10:51:46.370 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:51:46). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 16 NULL 2013-05-16 10:51:46.370 sa
    55 error 2013-05-16 10:52:42.997 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:52:42). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 17 NULL 2013-05-16 10:52:42.997 sa
    56 error 2013-05-16 10:57:13.490 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:57:13). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 27 NULL 2013-05-16 10:57:13.490 sa
    57 error 2013-05-16 10:58:11.653 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T10:58:11). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 28 NULL 2013-05-16 10:58:11.653 sa
    58 error 2013-05-16 11:03:36.250 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:03:36). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 18 NULL 2013-05-16 11:03:36.250 sa
    59 error 2013-05-16 11:05:21.407 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:05:21). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 19 NULL 2013-05-16 11:05:21.407 sa
    60 error 2013-05-16 11:05:55.040 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:05:54). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 20 NULL 2013-05-16 11:05:55.040 sa
    61 error 2013-05-16 11:06:33.450 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:06:33). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 21 NULL 2013-05-16 11:06:33.450 sa
    62 error 2013-05-16 11:07:21.497 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:07:21). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 22 NULL 2013-05-16 11:07:21.497 sa
    63 error 2013-05-16 11:07:59.540 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:07:59). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 23 NULL 2013-05-16 11:07:59.540 sa
    64 error 2013-05-16 11:10:52.173 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:10:52). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 24 NULL 2013-05-16 11:10:52.173 sa
    65 error 2013-05-16 11:12:58.123 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:12:58). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 29 NULL 2013-05-16 11:12:58.123 sa
    66 error 2013-05-16 11:13:54.093 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:13:54). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 30 NULL 2013-05-16 11:13:54.093 sa
    67 error 2013-05-16 11:16:37.637 The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-05-16T11:16:37). Exception Message: Cannot send mails to mail server. (Failure sending mail.). ) 2108 31 NULL 2013-05-16 11:16:37.637 sa
    Je te reviens avec la configuration.
    Anne, citoyenne canadienne
    Informaticienne, altiste et radioamateur... bref, originale
    Lire les règles...
    Un petit rappel: Je ne réponds à aucune question technique posée par MP

  4. #4
    Expert éminent sénior
    Avatar de mikedavem
    Homme Profil pro
    Administrateur de base de données
    Inscrit en
    Août 2005
    Messages
    5 450
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : France, Ain (Rhône Alpes)

    Informations professionnelles :
    Activité : Administrateur de base de données
    Secteur : Distribution

    Informations forums :
    Inscription : Août 2005
    Messages : 5 450
    Points : 12 891
    Points
    12 891
    Par défaut
    Je pense sincèrement que c'est un problème d'autorisation de connexion sur ton serveur smtp au vu du message d'erreur suivant :

    (No connection could be made because the target machine actively refused it 172.18.254.14:465
    Il faut que tu demandes à ton admin exchange de créer les autorisations nécessaires pour autoriser ton serveur sql l'envoi des messages.

    ++

  5. #5
    Membre expert
    Avatar de annedeblois
    Femme Profil pro
    Analyste d'exploitation
    Inscrit en
    Août 2005
    Messages
    1 485
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 49
    Localisation : Canada

    Informations professionnelles :
    Activité : Analyste d'exploitation
    Secteur : Service public

    Informations forums :
    Inscription : Août 2005
    Messages : 1 485
    Points : 3 218
    Points
    3 218
    Par défaut
    Citation Envoyé par mikedavem Voir le message
    Tu pourrais nous donner une capture d'écran de ta configuration également ?
    Compte:
    Account name: Passerelle SMTP
    Description: du texte
    E-mail address: nomexactdelaboiteexchange@domaine
    Display name: nom de la boîte exchange du service
    Reply e-mail: nomexactdelaboiteexchange@domaine
    Server name: le serveur SMTP, port 25
    SSL présentement désactivé (mais j'avais essayé toutes les options)

    SMTP authentication: présentement Anonymous authentication

    Profil:
    l'image jointe à cette réponse

    Pour ce qui est des droits de relayer les messages, je viens d'envoyer une demande aux responsables MS Exchange, peut-être le compte AD utilisé par le service SQL Server n'a-t-il pas les droits. Ou encore, le port est différent de 25 (et pourtant, je parviens à envoyer un message à la mitaine, par telnet, c'est instantané!!). Ou encore, il faut utiliser l'authentification simple (basic) avec un compte et mot de passe définis, ou autre. J'attends leur retour.

    Merci pour ton aide!!
    Images attachées Images attachées  
    Anne, citoyenne canadienne
    Informaticienne, altiste et radioamateur... bref, originale
    Lire les règles...
    Un petit rappel: Je ne réponds à aucune question technique posée par MP

  6. #6
    Expert éminent sénior
    Avatar de mikedavem
    Homme Profil pro
    Administrateur de base de données
    Inscrit en
    Août 2005
    Messages
    5 450
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : France, Ain (Rhône Alpes)

    Informations professionnelles :
    Activité : Administrateur de base de données
    Secteur : Distribution

    Informations forums :
    Inscription : Août 2005
    Messages : 5 450
    Points : 12 891
    Points
    12 891
    Par défaut
    Je sais qu'en général les administrateurs exchange n'autorisent pas forcément les plage d'adresses réseaux dédiés aux serveurs à envoyer des messages par sécurité.

    Le Telnet tu l'effectues depuis le serveur SQL ou sur ton poste ?
    L'authentification anonyme est autorisé sur votre smtp exchange ?

    ++

  7. #7
    Membre expert
    Avatar de annedeblois
    Femme Profil pro
    Analyste d'exploitation
    Inscrit en
    Août 2005
    Messages
    1 485
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 49
    Localisation : Canada

    Informations professionnelles :
    Activité : Analyste d'exploitation
    Secteur : Service public

    Informations forums :
    Inscription : Août 2005
    Messages : 1 485
    Points : 3 218
    Points
    3 218
    Par défaut
    Citation Envoyé par mikedavem Voir le message
    Le Telnet tu l'effectues depuis le serveur SQL ou sur ton poste ?
    L'authentification anonyme est autorisé sur votre smtp exchange ?

    ++
    Le telnet a été fait depuis le serveur SQL. Pour ce qui est de l'authentification anonyme, je suis en attente de la réponse des responsables MS Exchange. Perso, je l'ignore. Donc, peut-être un mauvais réglage. Je vous tiens au courant.
    Anne, citoyenne canadienne
    Informaticienne, altiste et radioamateur... bref, originale
    Lire les règles...
    Un petit rappel: Je ne réponds à aucune question technique posée par MP

  8. #8
    Membre expert
    Avatar de annedeblois
    Femme Profil pro
    Analyste d'exploitation
    Inscrit en
    Août 2005
    Messages
    1 485
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 49
    Localisation : Canada

    Informations professionnelles :
    Activité : Analyste d'exploitation
    Secteur : Service public

    Informations forums :
    Inscription : Août 2005
    Messages : 1 485
    Points : 3 218
    Points
    3 218
    Par défaut
    Re-bonjour!

    Un des responsables MS Exchange m'a répondu qu'il n'y a pas d'authentification autre qu'anonyme, mais que je dois faire ouvrir le port 25 dans les pare-feux, nos serveurs de données étant dans leur zone par rapport au serveur SMTP.

    Je dois donc compter quelques jours avant que le port soit ouvert, je tenais à vous en faire part. Vous serez informés des résultats dès que je pourrai re-tester.
    Anne, citoyenne canadienne
    Informaticienne, altiste et radioamateur... bref, originale
    Lire les règles...
    Un petit rappel: Je ne réponds à aucune question technique posée par MP

  9. #9
    Membre expert
    Avatar de annedeblois
    Femme Profil pro
    Analyste d'exploitation
    Inscrit en
    Août 2005
    Messages
    1 485
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 49
    Localisation : Canada

    Informations professionnelles :
    Activité : Analyste d'exploitation
    Secteur : Service public

    Informations forums :
    Inscription : Août 2005
    Messages : 1 485
    Points : 3 218
    Points
    3 218
    Par défaut
    C'était effectivement un port 25 pas ouvert.
    Anne, citoyenne canadienne
    Informaticienne, altiste et radioamateur... bref, originale
    Lire les règles...
    Un petit rappel: Je ne réponds à aucune question technique posée par MP

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. afficher des images dans un mail
    Par boss_gama dans le forum ASP
    Réponses: 9
    Dernier message: 12/09/2006, 17h56
  2. Send mail / SMTP
    Par malmzi2007 dans le forum Zope
    Réponses: 8
    Dernier message: 28/07/2006, 07h57
  3. [Mail] Envoyé des caractères spéciaux par mail
    Par Oberown dans le forum Langage
    Réponses: 1
    Dernier message: 16/03/2006, 23h55
  4. [Mail] Faire figurer des images dans un mail
    Par JeanMi66 dans le forum Langage
    Réponses: 4
    Dernier message: 04/12/2005, 22h49

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo