我想确认一下几个参数的设置: CS4.2.1 在centos6.4 上 今天我用我们公司的邮箱设置了一下: alert.smtp.host -----------公司邮件服务器地址 alert.smtp.useAuth-----------true alert.smtp.port----------------25 alert.smtp.username----------可用的用户名 alert.smtp.password-----------没问题的密码 alert.email.addresses-----------收件人地址? alert.email.sender---------------公司邮件服务器地址? 这样设置完成后,重启management service, alert email 仍旧发送不成功。 日志显示: 2014-03-27 10:23:20,169 ERROR [cloud.alert.AlertManagerImpl] (Email-Alerts-Sender-1:null) Failed to send email alert javax.mail.MessagingException: Exception reading response (javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?) 这是什么问题呢, 是alert.email.sender 设置有问题么?你们是可以发送alert email的么? > From: [email protected] > Date: Wed, 26 Mar 2014 18:13:01 +0800 > Subject: Re: [问题] CloudStack Email Alert 如何配置 > To: [email protected] > > 刚才查了下,网易的邮件配置有很多种说法 > > http://www.groovyq.net/node/729 > > > > 在 2014年3月26日 下午6:08,zcsu <[email protected]> 写道: > > alert.email.sender 也是要指定到邮件服务器的地址阿。 > > 日志很简单,在这方面,只是返回一个不能连接。 > > > > 如果我用企业邮箱的话,会报 > > > > Failed to send email alert com.sun.mail.smtp.SMTPSendFailedException: 530 > > 5.7.3 Client was not authenticated > > > >> From: [email protected] > >> Date: Wed, 26 Mar 2014 17:54:33 +0800 > >> Subject: Re: [问题] CloudStack Email Alert 如何配置 > >> To: [email protected] > >> > >> alert.smtp.host smtp.163.com > >> alert.email.sender smtp.163.com > >> alert.smtp.port 25 > >> alert.smtp.useAuth true > >> alert.smtp.username **@163.com > >> alert.smtp.password **** > >> > >> > >> 你测试下试试 > >> > >> 建议你看下日志。我对163的邮件配置不熟悉 > >> > >> 在 2014年3月26日 下午5:45,zcsu <[email protected]> 写道: > >> > 能给举个例子么?谢谢 > >> > > >> >> From: [email protected] > >> >> Date: Wed, 26 Mar 2014 17:36:41 +0800 > >> >> Subject: Re: [问题] CloudStack Email Alert 如何配置 > >> >> To: [email protected] > >> >> > >> >> 如果你配置的端口是465 就需要使用ssl > >> >> 这个需要找网易的邮箱配置 > >> >> > >> >> 在 2014年3月26日 下午5:19,zcsu <[email protected]> 写道: > >> >> > 已经在Global Settings 中设置了相关的参数,其中, > >> >> > > >> >> > alert.smtp.host smtp.163.com > >> >> > alert.email.sender **@163.com > >> >> > alert.smtp.port 465/994 > >> >> > alert.smtp.useAuth true > >> >> > alert.smtp.username ** > >> >> > alert.smtp.password **** > >> >> > > >> >> > 都已经配置。 > >> >> > > >> >> > 制造了Alert 事件,但是Alert Email 发送失败,日志显示连接smtp.163.com 失败 > >> >> > > >> >> > 请问,配置EMail Alert 的时候正确方法是什么,163邮箱可用么? > >> >> > > >> >> > 谢谢! > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> 白清杰 (Born Bai) > >> >> > >> >> 北京开源愿景信息技术有限公司 > >> >> > >> >> Mail: [email protected] > >> > > >> > >> > >> > >> -- > >> 白清杰 (Born Bai) > >> > >> 北京开源愿景信息技术有限公司 > >> > >> Mail: [email protected] > > > > > > -- > 白清杰 (Born Bai) > > 北京开源愿景信息技术有限公司 > > Mail: [email protected]
