Here is some output from my James server that will hopefully be helpful. The first bit is the exception when James tries to send to the server, then I ping and telnet to port 25, stop and restart James, and at the end you can see that James is able to send to the aauwms2 server with no problems after being restarted. I've removed email addresses from the logs, but I left in the server names even though I don't believe it has anything to do with the specific servers. By tomorrow morning James will not be able to send to a different server and will probably still be sending to aauwms2 with no problems.

Thanks for any help you can give me to resolve this problem, I'd rather not have to restart James every night.

(Not to side track things, but I just noticed that this server is running exchange. Maybe I'll check back through the logs to see if that is common to all the unknown SMTP host problems I've been having.)

-J

17/06/03 12:10:22 INFO James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1055860215161-81-to-aauw.org: javax.mail.MessagingException: Unknown SMTP host: aauwms2.aauw.org.;
nested exception is:
java.net.UnknownHostException: aauwms2.aauw.org.
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:909)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:158)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:242)
at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:685)
at java.lang.Thread.run(Thread.java:536


[EMAIL PROTECTED] logs]# ping aauwms2.aauw.org
PING aauwms2.aauw.org (206.155.168.206) from 65.105.59.149 : 56(84) bytes of data.
64 bytes from aauwms2.aauw.org (206.155.168.206): icmp_seq=1 ttl=118 time=29.8 ms
64 bytes from aauwms2.aauw.org (206.155.168.206): icmp_seq=2 ttl=118 time=13.2 ms


[EMAIL PROTECTED] SAR-INF]# telnet aauwms2.aauw.org 25
Trying 206.155.168.206...
Connected to aauwms2.aauw.org.
Escape character is '^]'.
220 AAUWMS2.aauw.org ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2656.59) ready
helo mailhost.perspectivesoftware.com
250 OK
mail from:<[EMAIL PROTECTED]>
250 OK - mail from <[EMAIL PROTECTED]>
^]
telnet> quit
Connection closed.


[EMAIL PROTECTED] SAR-INF]# /etc/rc.d/init.d/james stop
[EMAIL PROTECTED] SAR-INF]# /etc/rc.d/init.d/james start

...
...

DEBUG SMTP: useEhlo false, useAuth false

DEBUG: SMTPTransport trying to connect to host "aauwms2.aauw.org.", port 25

DEBUG SMTP RCVD: 220 AAUWMS2.aauw.org ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2656.59) ready

DEBUG: SMTPTransport connected to host "aauwms2.aauw.org.", port: 25

DEBUG SMTP SENT: HELO mailhost.perspectivesoftware.com
DEBUG SMTP RCVD: 250 OK

DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:<[EMAIL PROTECTED]>
DEBUG SMTP RCVD: 250 OK - mail from <[EMAIL PROTECTED]>


DEBUG SMTP SENT: RCPT TO:<[EMAIL PROTECTED]>
DEBUG SMTP RCVD: 250 OK - Recipient <[EMAIL PROTECTED]>

DEBUG SMTP SENT: RCPT TO:<[EMAIL PROTECTED]>
DEBUG SMTP RCVD: 250 OK - Recipient <[EMAIL PROTECTED]>

DEBUG SMTP SENT: RCPT TO:<[EMAIL PROTECTED]>
DEBUG SMTP RCVD: 250 OK - Recipient <[EMAIL PROTECTED]>

DEBUG SMTP SENT: RCPT TO:<[EMAIL PROTECTED]>
DEBUG SMTP RCVD: 250 OK - Recipient <[EMAIL PROTECTED]>

DEBUG SMTP SENT: RCPT TO:<[EMAIL PROTECTED]>
DEBUG SMTP RCVD: 250 OK - Recipient <[EMAIL PROTECTED]>

Verified Addresses
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
DEBUG SMTP SENT: DATA
DEBUG SMTP RCVD: 354 Send data.  End with CRLF.CRLF

DEBUG SMTP SENT:
.
DEBUG SMTP RCVD: 250 OK

DEBUG SMTP SENT: QUIT




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to