问题描述
我在JAVA网站中使用邮件找回密码功能,在服务器上建了一个james邮件服务器,结果前几天可以发,现在发不出去了,我并没有发很多邮件,一共不到10封.程序中提示发送成功,但就是收不到收到了一封拒绝邮件(我向QQ邮箱,21cn都发送了,但只收到一封21cn的),信是postmaster发出的,应该是内置帐号Hi.ThisistheJamesmailserveratWIN-3FQ1V6UMSS8.I'mafraidIwasn'tabletodeliveryourmessagetothefollowingaddresses.Thisisapermanenterror;I'vegivenup.Sorryitdidn'tworkout.BelowIincludethelistofrecipientsandthereasonwhyIwasunabletodeliveryourmessage.Failedrecipient(s):xxx@21cn.comErrormessage:543rejectbyyun-medusa227-mta(ID:1387505773.21892)(time:FriDec2010:16:432013)
解决方案
解决方案二:
当成垃圾邮件了?
解决方案三:
引用1楼fudongrifdr的回复:
当成垃圾邮件了?
我没发几封邮件呢
解决方案四:
找你邮件服务器提供商,这不是代码问题
解决方案五:
这是dnsserver的log的一部份20/12/1309:30:07INFOdnsserver:DNSServeris:8.8.8.820/12/1309:30:11INFOdnsserver:Couldn'tresolveMXrecordsfordomaineosmulti.co.kr.20/12/1309:30:11INFOdnsserver:Couldn'tfindCNAMErecordsfordomaineosmulti.co.kr.20/12/1309:31:20INFOdnsserver:Couldn'tresolveMXrecordsfordomainlycosmail.com.20/12/1309:31:20INFOdnsserver:Couldn'tfindCNAMErecordsfordomainlycosmail.com.20/12/1309:31:35INFOdnsserver:Couldn'tresolveMXrecordsfordomaingrassslakeschools.com.20/12/1309:31:35INFOdnsserver:Couldn'tfindCNAMErecordsfordomaingrassslakeschools.com.20/12/1309:31:35ERRORdnsserver:Couldn'tresolveIPaddressforhostgrassslakeschools.com.20/12/1309:34:01INFOdnsserver:Couldn'tresolveMXrecordsfordomaineosmulti.co.kr.20/12/1309:34:01INFOdnsserver:Couldn'tfindCNAMErecordsfordomaineosmulti.co.kr.20/12/1309:35:21INFOdnsserver:Couldn'tresolveMXrecordsfordomaineosmulti.co.kr.20/12/1309:35:21INFOdnsserver:Couldn'tfindCNAMErecordsfordomaineosmulti.co.kr.20/12/1309:35:43INFOdnsserver:Couldn'tresolveMXrecordsfordomainkhmerkampongspeu.com.20/12/1309:35:43INFOdnsserver:Couldn'tfindCNAMErecordsfordomainkhmerkampongspeu.com.20/12/1309:40:02INFOdnsserver:Couldn'tresolveMXrecordsfordomaineosmulti.co.kr.20/12/1309:40:02INFOdnsserver:Couldn'tfindCNAMErecordsfordomaineosmulti.co.kr.20/12/1309:41:18INFOdnsserver:Couldn'tresolveMXrecordsfordomaineosmulti.co.kr.20/12/1309:41:18INFOdnsserver:Couldn'tfindCNAMErecordsfordomaineosmulti.co.kr.20/12/1309:42:11INFOdnsserver:Couldn'tresolveMXrecordsfordomainlycosmail.com.20/12/1309:42:12INFOdnsserver:Couldn'tfindCNAMErecordsfordomainlycosmail.com.这是的mailet的log的一部份20/12/1312:37:05INFOJames.Mailet:RemoteDelivery:CouldnotconnecttoSMTPhost:205.188.155.110,port:25,response:42120/12/1312:37:05INFOJames.Mailet:RemoteDelivery:AttemptingdeliveryofMail1386980384363-487-to-aol.comtohostmailin-01.mx.aol.com.at205.188.159.42foraddresses[ericamarie0602@aol.com,ericannj@aol.com,erick.maldonado@aol.com,erick.streit@aol.com,ericpocius@aol.com,ericvandine1179@aol.com,ericwaggonerd@aol.com,erik.sanchez@aol.com]20/12/1312:37:26INFOJames.Mailet:RemoteDelivery:CouldnotconnecttoSMTPhost:205.188.159.42,port:2520/12/1312:37:26INFOJames.Mailet:RemoteDelivery:AttemptingdeliveryofMail1386980384363-487-to-aol.comtohostmailin-03.mx.aol.com.at205.188.156.193foraddresses[ericamarie0602@aol.com,ericannj@aol.com,erick.maldonado@aol.com,erick.streit@aol.com,ericpocius@aol.com,ericvandine1179@aol.com,ericwaggonerd@aol.com,erik.sanchez@aol.com]20/12/1312:37:27INFOJames.Mailet:RemoteDelivery:CouldnotconnecttoSMTPhost:205.188.156.193,port:25,response:42120/12/1312:37:27INFOJames.Mailet:RemoteDelivery:AttemptingdeliveryofMail1386980384363-487-to-aol.comtohostmailin-03.mx.aol.com.at64.12.88.163foraddresses[ericamarie0602@aol.com,ericannj@aol.com,erick.maldonado@aol.com,erick.streit@aol.com,ericpocius@aol.com,ericvandine1179@aol.com,ericwaggonerd@aol.com,erik.sanchez@aol.com]20/12/1312:37:31INFOJames.Mailet:RemoteDelivery:CouldnotconnecttoSMTPhost:64.12.88.163,port:25,response:42120/12/1312:37:31INFOJames.Mailet:RemoteDelivery:AttemptingdeliveryofMail1386980384363-487-to-aol.comtohostmailin-03.mx.aol.com.at64.12.88.164foraddresses[ericamarie0602@aol.com,ericannj@aol.com,erick.maldonado@aol.com,erick.streit@aol.com,ericpocius@aol.com,ericvandine1179@aol.com,ericwaggonerd@aol.com,erik.sanchez@aol.com]20/12/1312:37:34INFOJames.Mailet:RemoteDelivery:CouldnotconnecttoSMTPhost:64.12.88.164,port:25,response:42120/12/1312:37:34INFOJames.Mailet:RemoteDelivery:AttemptingdeliveryofMail1386980384363-487-to-aol.comtohostmailin-03.mx.aol.com.at64.12.91.196foraddresses[ericamarie0602@aol.com,ericannj@aol.com,erick.maldonado@aol.com,erick.streit@aol.com,ericpocius@aol.com,ericvandine1179@aol.com,ericwaggonerd@aol.com,erik.sanchez@aol.com]这是smtpserver的log的一部份20/12/1310:11:39INFOsmtpserver:Connectionfrom113.108.203.133(113.108.203.133)20/12/1310:11:39ERRORsmtpserver:AUTHmethodLOGINfailed20/12/1310:11:40INFOsmtpserver:SuccessfullyspooledmailMail1387505500163-2fromwebmaster@AAAAA.comon113.108.203.133for[2343243234@qq.com]20/12/1310:12:31INFOsmtpserver:Connectionfrom113.108.203.133(113.108.203.133)20/12/1310:12:32ERRORsmtpserver:AUTHmethodLOGINfailed20/12/1310:12:32INFOsmtpserver:SuccessfullyspooledmailMail1387505552407-3fromwebmaster@AAAAA.comon113.108.203.133for[BBBBB@21cn.com]20/12/1310:23:15INFOsmtpserver:ConnectionfromWIN-3FQ1V6UMSS8(121.14.195.247)20/12/1310:23:15INFOsmtpserver:SuccessfullyspooledmailMail1387506195768-4fromwebmaster@AAAAA.comon121.14.195.247for[TTTTT@21cn.com]20/12/1311:12:37INFOsmtpserver:Connectionfrom220.160.244.144(220.160.244.144)20/12/1311:12:37ERRORsmtpserver:Rejectedmessage-authenticationisrequiredformailrequest[to:hr@VVV.com][from:uqawsswedeedy@urfrhj.com]20/12/1311:44:51INFOsmtpserver:Connectionfrom219.82.63.75(219.82.63.75)20/12/1311:44:54INFOsmtpserver:SuccessfullyspooledmailMail1387511093147-5fromrprcojzlo@snviuglv.orgon219.82.63.75for[TTTT@AAAAA.com]是不是被攻击了,我只有一个webmaster帐号啊
解决方案六:
你这辈子只发过一封信,人家也可以判定你是垃圾邮件。
解决方案七:
引用3楼huxiweng的回复:
找你邮件服务器提供商,这不是代码问题
是我自己建的邮件服务器,用的james
解决方案八:
eosmulti.co.kr这个域名无法ping通
解决方案九:
我也在用james做邮件服务器,我更想如果域名错误导致发送失败,怎么才能知道这个邮件发送失败的信息