Re: Helo command rejected: need fully-qualified hostname being in a home network

Pablo Pita Leira <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <[email protected]>
 > Can you try the heloName option in the RemoteDelivery mailet in 
mailetcontainer.xml? You should set it to your effective domain.

Yes, and that has worked. So adding the heloName element as shown below 
to the RemoteDelivery mailet has made the subscription to the james 
developer list to go ahead.

         <processor state="relay" enableJmx="true">

             <mailet match="All" class="RemoteDelivery">
<outgoingQueue>outgoing</outgoingQueue>
                 <delayTime>5000, 100000, 500000</delayTime>
                 <maxRetries>3</maxRetries>
<maxDnsProblemRetries>0</maxDnsProblemRetries>
                 <deliveryThreads>10</deliveryThreads>
                 <sendpartial>true</sendpartial>
<bounceProcessor>bounces</bounceProcessor>
                 <heloName>bpir2.klug.es</heloName>
             </mailet>
         </processor>

Thanks,

Pablo

On 01.12.20 11:32, Raphaël Ouazana wrote:
> Hello,
>
> Can you try the heloName option in the RemoteDelivery mailet in 
> mailetcontainer.xml? You should set it to your effective domain.
>
> Regards,
>
> Raphaël.
>
> Le 29/11/2020 à 20:17, Pablo Pita Leira a écrit :
>> Hello,
>>
>> I have configured a JPA James Server compiled from the current 
>> sources using postgresql 11 as database, but it is not working fine 
>> yet. The configuration is adapted from the one that gets installed 
>> for the JPA Guice case. The security setup with SPF, DKIM and DMARC, 
>> follows what is described at https://dmatthews.org/java_email.html. 
>> My gmail account can receive email successfully from this server. 
>> That means the DNS configuration seems working. But still there is a 
>> problem sending email to other servers. For example, trying to 
>> subscribe to the james-dev developer list, the server complains:
>>
>> Error message:
>> 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified 
>> hostname
>>
>> To: [email protected]
>> DKIM-Signature: a=rsa-sha256; 
>> b=N9CmFtScWt+SbPwvUrzOqVN3hS+COdBX2OyGSYl9IPbOZ7ek/AcCOpsW7Arhp75fPrIg0PfzrnTjjLOvfhz4ZHVyiCk0m5ydFMOmSSWyMVT6vwrocK0UPPSpKKiXj3e3hM4h0Dg75hLH9faJM1Zin4VN1ITlhgYgs8aofj6PmBY=; 
>> s=202011; c=relaxed/relaxed; d=klug.es; v=1; 
>> bh=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN/XKdLCPjaYaY=; 
>> h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type;
>> MIME-Version: 1.0
>> Received: from x4db45a08.dyn.telefonica.de (EHLO [192.168.1.10]) 
>> ([77.180.90.8]) by bpir2 (JAMES SMTP Server ) with ESMTPA ID 
>> -2083659533 for <[email protected]>; Sun, 29 Nov 
>> 2020 18:33:35 +0000 (UTC)
>> Message-ID: <[email protected]>
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 
>> Thunderbird/68.10.0
>> Content-Type: text/plain; charset=utf-8; format=flowed
>> Content-Transfer-Encoding: 7bit
>> Content-Language: en-US
>>
>>
>> The setup uses Dynamic DNS where the james server is behind the 
>> router, and the router is forwarding ports 25, 587 to the james server.
>>
>> I have tried a few changes on both james/conf/smtpserver.xml (like 
>> <helloName autodetect="false">bpir2.klug.es</helloName>), and at 
>> system level so hostname --fqdn returns bpir2.klug.es. But no success 
>> in subscribing. Is there any suggestion on what to try here ?
>>
>> Thanks,
>>
>> Pablo
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.