You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/09/04 04:30:00 UTC

[jira] [Closed] (JAMES-1542) Jammes TLS Configuratioin isn't working, RemoteDelivery: Temporary exception delivering mail No mail server(s) available

     [ https://issues.apache.org/jira/browse/JAMES-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-1542.
---------------------------------
    Fix Version/s: 3.7.0
       Resolution: Duplicate

See JAMES-3645.

> Jammes TLS Configuratioin isn't working, RemoteDelivery: Temporary exception delivering mail No mail server(s) available 
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-1542
>                 URL: https://issues.apache.org/jira/browse/JAMES-1542
>             Project: James Server
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: 2.3.2
>         Environment: Windows 32 bits SP2
> JRE 1.7.0_51
> Ports open 25,110, 465, 119
>            Reporter: Juan Jose
>            Priority: Major
>              Labels: RemoteDelivery
>             Fix For: 3.7.0
>
>         Attachments: config-bug .xml, mailet-2014-02-13-11-33-Bug.log
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Apache James has been configured to send external mail, I have been trying to send external mail from my own domain,  however, I can't send them. The gateway configuration  of Apache James is:
>             <gateway>smtp.gmail.com</gateway>
>             <gatewayPort>465</gatewayPort>
>             
>            <gatewayusername>own_account@gmail.com</gatewayusername>
>             <gatewayPassword>password</gatewayPassword>
>             
>             
>             <!-- Set the HELO/EHLO name to use when connectiong to remote SMTP-Server -->
>             
>             <mail.smtp.localhost>smtp.subdomain.domain.mx</mail.smtp.localhost>
> TLS Configuration:
>    <sockets>
>       <server-sockets>
>          <factory name="plain" class="org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory"/>
>          
>         <factory name="ssl" class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory">
>             <ssl-factory>
>                <keystore>
>                   <file>conf/james.keystore</file>
>                   <password>password</password>
>                   <key-password>password</key-password>
>                   <type>JKS</type>
>                   <protocol>TLS</protocol>
>                   <algorithm>SunX509</algorithm>
>                   <authenticate-client>false</authenticate-client>
>                </keystore>
>             </ssl-factory>
>         </factory>
>          
>       </server-sockets>
>       <client-sockets>
>          <factory name="plain" class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketFactory"/>
>       </client-sockets>
>    </sockets>
> I configured the TLS option following the instruction in the manual.
> I have been trying to sen external mail, without success. Internally I can send mail, also I can receive mail from Gmail.
> I have access to the ports 25 and 465, using the port 25 I received the messagge that it is necessary STARTTLS command, when using port 465, I received No mail server available.
> I have been reviewing the configuration which according the documentation it is ok.
> Attached are the config.xml and mailet.log
> Could you tell me why always I receive the message RemoteDelivery: Temporary exception delivering mail No mail server(s) available ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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