Hongbing Zhou wrote: > Still doesn't work. > dns address does match with the one James is using.
What is the mail you're trying to send? the mx.mail.163.split.netease.com is the correct mx. I tested that it correctly receive messages. Maybe your sender address is bad or the content of the mail you're sending is not correct. I see different IPs in your logs, but this may be correct: I see that mx.mail.163.split.netease.com resolve to this: mx.mail.163.split.netease.com. 20 IN A 202.108.5.118 mx.mail.163.split.netease.com. 20 IN A 202.108.5.119 mx.mail.163.split.netease.com. 20 IN A 202.108.5.120 mx.mail.163.split.netease.com. 20 IN A 202.108.5.121 mx.mail.163.split.netease.com. 20 IN A 202.108.5.122 mx.mail.163.split.netease.com. 20 IN A 202.108.5.111 mx.mail.163.split.netease.com. 20 IN A 202.108.5.112 mx.mail.163.split.netease.com. 20 IN A 202.108.5.113 mx.mail.163.split.netease.com. 20 IN A 202.108.5.114 mx.mail.163.split.netease.com. 20 IN A 202.108.5.115 mx.mail.163.split.netease.com. 20 IN A 202.108.5.116 mx.mail.163.split.netease.com. 20 IN A 202.108.5.117 while your logs points to 220.181.12.51 to 220.181.12.58. I had no problem sending to this 2 ips, also. Btw the problem is that every server return the "500 Error: bad syntax" and at the end of the server list james return the "javax.mail.MessagingException: No mail server(s) available at this time." At this point the only problem I can imagine is related to sender address syntax, or message content syntax. Stefano > The maillet log is as follows: > 25/07/06 18:50:04 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.57 to addresses [EMAIL PROTECTED] > 25/07/06 18:50:05 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:05 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.58 to addresses [EMAIL PROTECTED] > 25/07/06 18:50:06 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:06 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.51 to addresses [] > 25/07/06 18:50:06 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:06 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.52 to addresses [EMAIL PROTECTED] > 25/07/06 18:50:07 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:07 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.53 to addresses [EMAIL PROTECTED] > 25/07/06 18:50:08 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:08 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.54 to addresses [EMAIL PROTECTED] > 25/07/06 18:50:09 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:09 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-163.com > to host mx.mail.163.split.netease.com. at > 220.181.12.55 to addresses [EMAIL PROTECTED] > 25/07/06 18:50:10 INFO James.Mailet: RemoteDelivery: > 500 Error: bad syntax > > 25/07/06 18:50:10 INFO James.Mailet: RemoteDelivery: > Temporary exception delivering mail > (Mail1153823663265-0-to-163.com: > javax.mail.MessagingException: No mail server(s) > available at this time. > at > org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:617) > at > org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912) > at java.lang.Thread.run(Thread.java:534) > > 25/07/06 18:50:10 INFO James.Mailet: RemoteDelivery: > Storing message Mail1153823663265-0-to-163.com into > outgoing after 2 retries > 25/07/06 19:34:56 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-xxx.com > to host gw05.xxx.com. at 210.59.184.206 to addresses > [EMAIL PROTECTED] > 25/07/06 19:34:57 INFO James.Mailet: RemoteDelivery: > 501 5.5.4 Invalid Address > > 25/07/06 19:34:57 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-xxx.com > to host gw02.xxx.com. at 210.59.184.205 to addresses > [EMAIL PROTECTED] > 25/07/06 19:34:58 INFO James.Mailet: RemoteDelivery: > 501 5.5.4 Invalid Address > > 25/07/06 19:34:58 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-xxx.com > to host gw03.xxx.com. at 210.59.182.247 to addresses > [EMAIL PROTECTED] > 25/07/06 19:34:59 INFO James.Mailet: RemoteDelivery: > 501 5.5.4 Invalid Address > > 25/07/06 19:34:59 INFO James.Mailet: RemoteDelivery: > Attempting delivery of Mail1153823663265-0-to-xxx.com > to host gw01.xxx.com. at 210.59.184.204 to addresses > [EMAIL PROTECTED] > 25/07/06 19:35:00 INFO James.Mailet: RemoteDelivery: > 501 5.5.4 Invalid Address > > 25/07/06 19:35:00 INFO James.Mailet: RemoteDelivery: > Temporary exception delivering mail > (Mail1153823663265-0-to-xxx.com: > javax.mail.MessagingException: No mail server(s) > available at this time. > at > org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:617) > at > org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:912) > at java.lang.Thread.run(Thread.java:534) > > > Thanks for your help > > Bacca > > > > --- Stefano Bagnara <[EMAIL PROTECTED]>写道: > >> Hongbing Zhou wrote: >>> Yes, my DNS works as I can use nslookup to find >>> domains. >>> >>> But my IP address ia dynamical instead of a fixed >> one. >>> Is this a problem? >>> >>> Bacca >> Please check that your os dns address matches with >> the one James is using. >> Look in apps/james/logs/dnsserver-*.log >> At the start James log the IP address of the >> autodiscovered/configured >> servers. >> >> Stefano >> >> >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
