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: server-dev-subscr...@james.apache.org
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 <server-dev-subscr...@james.apache.org>; Sun, 29 Nov 2020 18:33:35 +0000 (UTC)
Message-ID: <7f81fe03-bb9d-6902-25e7-d47d408c2...@klug.es>
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: 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