james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan Jose (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1542) Jammes TLS Configuratioin isn't working, RemoteDelivery: Temporary exception delivering mail No mail server(s) available
Date Fri, 14 Feb 2014 01:08:20 GMT
Juan Jose created JAMES-1542:
--------------------------------

             Summary: 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


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
(v6.1.5#6160)

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


Mime
View raw message