james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Kermani (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1527) HELO name problem on windows
Date Mon, 04 Nov 2013 06:37:16 GMT
Mohammad Kermani created JAMES-1527:

             Summary: HELO name problem on windows
                 Key: JAMES-1527
                 URL: https://issues.apache.org/jira/browse/JAMES-1527
             Project: James Server
          Issue Type: Bug
          Components: Mailet Contributions, SMTPServer
    Affects Versions: 3.0-beta4, 3.0.0-beta5
         Environment: Any Windows server
            Reporter: Mohammad Kermani
            Priority: Critical

On Windows server host name cannot contain . - ' " / \ and etc. So in our case we could not
set hostname to payamnet.com computer name is just payamnet.
In this  case some mail servers require FQDN for HELO, but even by setting following attributes
on RemoteDelivery mailet it still does not deliver mails,because james's still using computer
name instead of setting localhost, I checked source code, source sets both attributes. but
compiled snapshot does not work.
here's the mail status:
Reporting-MTA: dns;
Received-From-MTA: dns; payamnet.com

Final-Recipient: rfc822; hendessi@cc.iut.ac.ir
Action: failed
Status: 5.5.2 <payamnet>: Helo command rejected: need fully-qualified hostname
Diagnostic-Code: X-James; 5.5.2 <payamnet>: Helo command rejected: need fully-qualified
Last-Attempt-Date: Mon, 4 Nov 2013 08:29:09 -0800 (PST)

jvm 1    | INFO  08:59:27,290 | james.mailetcontext | Permanent exception delive
ring mail (Mail1383584366400-76aa12c1-84c9-4131-b920-e030cadfe9d5-to-cc.iut.ac.i
r. RemoteHost said: Invalid Address (org.apache.geronimo.javamail.transport.smtp
.SMTPAddressFailedException: 5.5.2 <payamnet>: Helo command rejected: need fully
-qualified hostname): org.apache.geronimo.javamail.transport.smtp.SMTPSendFailed
Exception: Invalid Address (org.apache.geronimo.javamail.transport.smtp.SMTPAddr
essFailedException: 5.5.2 <payamnet>: Helo command rejected: need fully-qualifie
d hostname)
jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.sen
jvm 1    |      at org.apache.james.transport.mailets.RemoteDelivery.deliver(Rem
jvm 1    |      at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteD
jvm 1    |      at java.lang.Thread.run(Thread.java:724)
jvm 1    | Caused by: org.apache.geronimo.javamail.transport.smtp.SMTPAddressFai
ledException: 5.5.2 <payamnet>: Helo command rejected: need fully-qualified host
jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPConnection$Se
jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.gen
jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.sen
jvm 1    |      ... 3 more
jvm 1    |

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message