Introduction
Cet article décrit comment configurer Cisco Unified Computing Solutions (UCS) Director (UCSD) 6.0.0.0 à l'aide du serveur SMTP (Simple Mail Transfer Protocol) de la suite Google G pour pouvoir envoyer des e-mails.
Conditions préalables
Conditions requises
Cisco vous recommande de prendre connaissance des rubriques suivantes :
- Administration de la solution Google Suite
- Connaissances de base en matière de sécurité et de configuration SMTP
Components Used
Ce document n'est pas limité à des versions logicielles spécifiques, mais les informations contenues dans ce document sont basées sur UCS Director 6.0.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Informations générales
Lorsque vous regardez la page d'assistance Google pour G Suite, il offre 3 serveurs smtp différents. Comme UCSD 6.0 ne prend pas en charge SSL/TLS, les seules options qui vous restent sont smtp-relay.gmail.com avec le port 25, ou aspmx.l.google.com également avec le port 25.
Configuration
Le nom d'utilisateur et le mot de passe doivent provenir d'un utilisateur valide dans le domaine G Suite, et la configuration appropriée doit être configurée comme indiqué dans cette image.
Vérification
Un e-mail provenant du répertoire UCS serait reçu par l'adresse e-mail de test après avoir sélectionné Enregistrer.
Dépannage
Cette section fournit des informations que vous pouvez utiliser pour dépanner votre configuration.
Erreur : le serveur SMPT est arrêté/inaccessible.
Archiver les journaux inframgr-log.txt pour l'une de ces erreurs
Pour l'erreur smtp-relay.gmail.com
2017-08-23 07:50:01,417 [ORP-1-24] INFO doFormSubmit(MailSettingsForm.java:157) - Mail settings saved successfully
2017-08-23 07:50:01,420 [ORP-1-24] INFO sendTestEmail(MailSettingsForm.java:314) - Sending test email
2017-08-23 07:50:01,423 [ORP-1-24] INFO sendTestEmail(MailSettingsForm.java:348) - Initiating authenticated session
2017-08-23 07:50:03,152 [ORP-1-24] ERROR doFormSubmit(MailSettingsForm.java:175) - Test email failed
com.sun.mail.smtp.SMTPSendFailedException: 550-5.7.1 [XXX.YYY.ZZZ.ZZZ 1] Our system has detected an unusual rate of
550-5.7.1 unsolicited mail originating from your IP address. To protect our
550-5.7.1 users from spam, mail sent from your IP address has been blocked.
550-5.7.1 Please visit
550-5.7.1 https://support.google.com/mail/?p=UnsolicitedIPError to review our
550 5.7.1 Bulk Email Senders Guidelines. q71si912001wmd.271 - gsmtp
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1668)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1473)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:738)
at com.cloupia.feature.systemsettings.MailSettingsForm.sendTestEmail(MailSettingsForm.java:377)
at com.cloupia.feature.systemsettings.MailSettingsForm.doFormSubmit(MailSettingsForm.java:171)
at com.cloupia.service.cIM.inframgr.APIProvider.doFormSubmit(APIProvider.java:1311)
at sun.reflect.GeneratedMethodAccessor795.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.cloupia.fw.services.provider.ServiceProvider.executeOperation(ServiceProvider.java:758)
at com.cloupia.fw.services.provider.OperationRequestProcessor.run(OperationRequestProcessor.java:97)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
ou celle-ci
Pour aspmx.l.google.comerror
2017-08-23 07:43:17,605 [ORP-1-20] INFO doFormSubmit(MailSettingsForm.java:157) - Mail settings saved successfully
2017-08-23 07:43:17,605 [ORP-1-20] INFO sendTestEmail(MailSettingsForm.java:314) - Sending test email
2017-08-23 07:43:17,606 [ORP-1-20] INFO sendTestEmail(MailSettingsForm.java:348) - Initiating authenticated session
2017-08-23 07:43:18,162 [ORP-1-20] ERROR doFormSubmit(MailSettingsForm.java:175) - Test email failed
com.sun.mail.smtp.SMTPSendFailedException: 550-5.7.0 Mail relay denied [XXX.YYY.ZZZ.ZZZ]. Invalid credentials for relay for
550-5.7.0 one of the domains in: (as obtained from HELO and MAIL FROM).
550-5.7.0 Email is being sent from a domain or IP address which isn't registered
550-5.7.0 in your G Suite account. Please login to your G Suite account and
550-5.7.0 verify that your sending device IP address has been registered within
550-5.7.0 the G Suite SMTP Relay Settings. For more information, please visit
550 5.7.0 https://support.google.com/a/answer/6140680#maildenied w206sm117434wmd.7 - gsmtp
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1668)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1207)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:735)
at com.cloupia.feature.systemsettings.MailSettingsForm.sendTestEmail(MailSettingsForm.java:377)
at com.cloupia.feature.systemsettings.MailSettingsForm.doFormSubmit(MailSettingsForm.java:171)
at com.cloupia.service.cIM.inframgr.APIProvider.doFormSubmit(APIProvider.java:1311)
at sun.reflect.GeneratedMethodAccessor795.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.cloupia.fw.services.provider.ServiceProvider.executeOperation(ServiceProvider.java:758)
at com.cloupia.fw.services.provider.OperationRequestProcessor.run(OperationRequestProcessor.java:97)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Informations connexes
Aide de G Suite : https://support.google.com/a/answer/176600