Sorry, the actual domain doesn't have an underscore so the problem must bee 
something else.  

Stefano Bagnara <apa...@bago.org> wrote:

>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”
>
>Here is your configuration:
><helloName autodetect="false">andrews_domain.com</helloName>
>
>Underscore is not valid in a domain name, so this cannot be your host
>name.
>Make sure this helloName includes the fully qualified host name of the
>IP used to send email.
>
>Stefano
>
>> 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

Reply via email to