I thought its about receiving... Or did I get it wrong and this what
you get after James tries to deliver to a remote Recipient ?

Bye
Norman

2011/9/15, and...@oc384.net <and...@oc384.net>:
> Made that change but it didn't fix the problem.  I'm still sending
> "localhost".
>
> Is there something I can change so that James will autodetect correctly
> even if I can't specify the returned value in smtpserver.xml?
>
> -Andrew
>
>
> On 9/15/2011, "Norman Maurer" <norman.mau...@googlemail.com> wrote:
>
>>Hi there,
>>
>>the example file is not up-to-date:
>>
>><handler>
>> <helloName autodetect="false">andrews_domain.com</helloName>
>></handler>
>>
>>must be:
>>
>> <helloName autodetect="false">andrews_domain.com</helloName>
>>
>>
>>Bye,
>>Norman
>>
>>
>>2011/9/14  <and...@oc384.net>:
>>> When sending emails I keep getting:
>>> “Error message: 504 5.5.2 <localhost>: Helo command rejected: need
>>> fully-qualified hostname”
>>>
>>> I’m using 3.0-beta3 from here:
>>> http://newverhost.com/pub//james/apache-james/3.0beta3/apache-james-3.0-beta3-app.tar.gz
>>> which appears to be from 8/14/2011
>>>
>>> I have read this:
>>> https://svn.apache.org/repos/asf/james/app/trunk/src/main/config/examples/smtpserver.xml
>>>
>>> my smtpserver.xml looks like:
>>> <smtpserver enabled="true">
>>>  <bind>0.0.0.0:25</bind>
>>>  <connectionBacklog>200</connectionBacklog>
>>>  <tls socketTLS="false" startTLS="false">
>>>  </tls>
>>> <handler>
>>>  <helloName autodetect="false">andrews_domain.com</helloName>
>>> </handler>
>>>  <connectiontimeout>360</connectiontimeout>
>>>  <connectionLimit> 0 </connectionLimit>
>>>  <connectionLimitPerIP> 0 </connectionLimitPerIP>
>>>  <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
>>>  <authRequired>true</authRequired>
>>>  <verifyIdentity>true</verifyIdentity>
>>>  <maxmessagesize>0</maxmessagesize>
>>>  <addressBracketsEnforcement>true</addressBracketsEnforcement>
>>>  <handlerchain enableJmx="true">
>>>    <handler
>>> class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>
>>>    <handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>
>>>  </handlerchain>
>>> </smtpserver>
>>>
>>> It sounds like my problem is this one:
>>> http://old.nabble.com/-jira--Created%3A-%28JAMES-1155%29-helloName-tag-does-not-work-td30534996.html
>>> but that issue said it was resolved Dec-2010.
>>>
>>> How does James determine what hostname to use when autodetecting?  These
>>> three commands all return the correct value:
>>>  hostname -f
>>>  uname -n
>>>  sysctl kernel.hostname
>>> Where is James picking up localhost from?
>>>
>>> Thanks,
>>> Andrew
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>>> For additional commands, e-mail: server-user-h...@james.apache.org
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>>For additional commands, e-mail: server-user-h...@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to