Introduction
Este artigo descreve como configurar o Cisco Unified Computing Solutions (UCS) Diretor (UCSD) 6.0.0.0 usando o servidor SMTP do Google G Suite para poder enviar e-mails.
Prerequisites
Requirements
A Cisco recomenda que você tenha conhecimento destes tópicos:
- Administração da solução Google Suite
- Conhecimento básico da segurança e configuração SMTP
Componentes Utilizados
Este documento não está restrito a versões de software específicas, no entanto, as informações neste documento são baseadas no UCS Diretor 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.
Informações de Apoio
Quando você olha para a página de suporte do Google para o G Suite, ele oferece 3 servidores smtp diferentes. Como o UCSD 6.0 não oferece suporte a SSL/TLS, as únicas opções que restam são smtp-relay.gmail.com com a porta 25 ou aspmx.l.google.com também com a porta 25.
Configurar
O nome de usuário e a senha devem ser de um usuário válido no domínio G Suite e a configuração apropriada deve ser configurada conforme mostrado nesta imagem.
Verificar
Um e-mail da caixa UCS Diretory seria recebido pelo endereço de e-mail de teste após a seleção Salvar.
Troubleshoot
Esta seção fornece informações que podem ser usadas para o troubleshooting da sua configuração.
Erro: o servidor SMPT está inativo/não pode ser alcançado.
Verifique nos registros do inframgr-log.txt um destes erros
Para erro 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 este
Para aspmx.l.google.trade
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)
Informações Relacionadas
Ajuda do G Suite: https://support.google.com/a/answer/176600