james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-1527) HELO name problem on windows
Date Thu, 07 Nov 2013 04:59:17 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815649#comment-13815649
] 

Eric Charles commented on JAMES-1527:
-------------------------------------

is this a bug in James?

> 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
>              Labels: compatibility
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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 :		
> <heloName>payamnet.com</heloName>
> <mail.smtp.localhost>payamnet.com</mail.smtp.localhost>
> 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; 130.185.73.21
> Received-From-MTA: dns; payamnet.com
> Final-Recipient: rfc822; [somebody]@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
hostname
> Last-Attempt-Date: Mon, 4 Nov 2013 08:29:09 -0800 (PST)
> LOG:
> 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
> dMessage(SMTPTransport.java:343)
> jvm 1    |      at org.apache.james.transport.mailets.RemoteDelivery.deliver(Rem
> oteDelivery.java:1033)
> jvm 1    |      at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteD
> elivery.java:791)
> 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
> name
> jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPConnection$Se
> ndStatus.getException(SMTPConnection.java:1288)
> jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.gen
> erateExceptionChain(SMTPTransport.java:525)
> jvm 1    |      at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.sen
> dMessage(SMTPTransport.java:340)
> jvm 1    |      ... 3 more
> jvm 1    |



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message