incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beans lee <beanslee2...@gmail.com>
Subject cs4配置邮件提醒功能配置不成功
Date Tue, 18 Dec 2012 08:39:08 GMT
大家好,我的cs4.0环境配置邮件提醒功能是总是不成功

参数配置如下


alert.email.sender xxx@sohu.com
alert.smtp.host Smtp.sohu.com
alert.smtp.password  xxxx
alert.smtp.port 25
alert.smtp.useAuth True
alert.smtp.username xxx

重启服务器后,日志如下:
2012-12-18 15:44:03,899 ERROR [cloud.alert.AlertManagerImpl]
(Cluster-Notification-1:null) Problem sending email alert
javax.mail.MessagingException: Exception reading response;
  nested exception is:
        javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
connection?
        at
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
        at
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
        at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
        at javax.mail.Service.connect(Service.java:275)
        at javax.mail.Service.connect(Service.java:156)
        at javax.mail.Service.connect(Service.java:105)
        at
com.cloud.alert.AlertManagerImpl$EmailAlert.sendAlert(AlertManagerImpl.java:790)
        at
com.cloud.alert.AlertManagerImpl.sendAlert(AlertManagerImpl.java:268)
        at
com.cloud.alert.ClusterAlertAdapter.onClusterNodeJoined(ClusterAlertAdapter.java:73)
        at
com.cloud.alert.ClusterAlertAdapter.onClusterAlert(ClusterAlertAdapter.java:52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at
com.cloud.utils.events.SubscriptionMgr$SubscriberInfo.execute(SubscriptionMgr.java:147)
        at
com.cloud.utils.events.SubscriptionMgr.notifySubscribers(SubscriptionMgr.java:77)
        at
com.cloud.cluster.ClusterManagerImpl.notifyNodeJoined(ClusterManagerImpl.java:633)
        at
com.cloud.cluster.ClusterManagerImpl$5.run(ClusterManagerImpl.java:854)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
connection?
        at
sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:542)
        at sun.security.ssl.InputRecord.read(InputRecord.java:374)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:850)
        at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1190)
        at
sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:805)
        at sun.security.ssl.AppInputStream.read(AppInputStream.java:94)
        at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
        at
com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
        at
com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
        ... 23 more

请问是smtp配置的有问题吗?谢谢!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message