You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by adefr10722 <ad...@aol.com> on 2007/01/09 19:54:49 UTC

How toconfigure gateway to use ESMTP/EHEKO?

Hello James community---

Question: I think the solution of my problem is---How do I configure the
SMPT James Gateway to use ESMTP and EHELO ?. ANY HELP is great.

I am running James 2.2.0 That has been running great since I installed it in
may 06.
My development application has been sending to  “James” Local email
addresses just fine.
The traffic is being delivered to Users and Outgoing.
Now I am looking to send to users not Local to the JAMES server.
The FROM address is MY “userid” at AOL.com and my destination(s) are the
Same
Users-aol.com.  NOte: I have configured JAMES local email user to be the
same userid as at AOL.

1.  I have configured JAMES for a Gateway of smtp.aol.com and the port of
587. (PS this set up works just fine via “Outlook”.) see James config--
         <!-- Attempt remote delivery using the specified repository for the
spool, -->
         <!-- using delay time to retry delivery and the maximum number of
retries -->
         <mailet match="All" class="RemoteDelivery">
            <outgoing> file://var/mail/outgoing/ </outgoing>
            <!-- alternative database repository example below -->
            <!--
            <outgoing> db://maildb/spool/outgoing </outgoing>
            -->

            <!-- Delivery Schedule based upon RFC 2821, 4.5.4.1 -->
            <!-- 5 day retry period, with 4 attempts in the first
                 hour, two more within the first 6 hours, and then
                 every 6 hours for the rest of the period. -->
            <delayTime>  5 minutes </delayTime>
            <delayTime> 10 minutes </delayTime>
            <delayTime> 45 minutes </delayTime>
            <delayTime>  2 hours </delayTime>
            <delayTime>  3 hours </delayTime>
            <delayTime>  6 hours </delayTime>
            <maxRetries> 25 </maxRetries>

            <!-- The number of threads that should be trying to deliver
outgoing messages -->
            <deliveryThreads> 1 </deliveryThreads>
    <!-- ***************************************added the delaytime here
***********-->
          <!--   <delayTime> 21600000 </delayTime> -->
            <!-- If false the message will not be sent to given server if
any recipients fail -->
            <sendpartial>false</sendpartial>

            <!-- A single mail server to deliver all outgoing messages. -->
            <!-- This is useful if this server is a backup or failover
machine, -->
            <!-- or if you want all messages to be routed through a
particular mail server, -->
            <!-- regardless of the email addresses specified in the
message -->
            <!-- -->
            <!-- The gateway element specifies the gateway SMTP server
name. -->
            <!-- If your gateway mail server is listening on a port other
than 25, -->
            <!-- you can set James to connect to it on that port using the
gatewayPort -->
            <!-- element. -->
            <!-- Although normally multiple addresses are implemented
through proper -->
            <!-- DNS configuration, the RemoteDelivery mail does allow
specifying -->
            <!-- multiple gateway elements, each of which may also have a
port -->
            <!-- e.g., mygateway:2525 -->
            <!-- the gatewayPort element is used as a default -->
            <!--
            <gateway></gateway>
            <gatewayPort>25</gatewayPort>
            -->
             <gateway>smtp.aol.com</gateway>
            <gatewayPort>587</gatewayPort>
         </mailet>

      </processor>



2.  When James attempts to send to AOL I monitor the outgoing protocol and
can see James sending  a “helo” of MY user id  but AOL respond with the
following

0000   00 15 58 53 d6 3a 00 0f b3 dc d0 68 08 00 45 00  ..XS.:.....h..E.
0010   00 66 25 90 40 00 30 06 ea 79 98 a3 e0 3a c0 a8  .f%.@.0..y...:..
0020   01 02 02 4b 04 a1 38 ed 92 1e 9b 7b 0f 5e 50 18  ...K..8....{.^P.
0030   fa f0 e0 5a 00 00 35 35 36 20 43 4c 49 45 4e 54  ...Z..556 CLIENT
0040   20 41 55 54 48 45 4e 54 49 43 41 54 49 4f 4e 20   AUTHENTICATION
0050   52 45 51 55 49 52 45 44 2e 20 55 53 45 20 45 53  REQUIRED. USE ES
0060   4d 54 50 20 45 48 4c 4f 20 41 4e 44 20 41 55 54  MTP EHLO AND AUT
70  48 2e 0d 0a

Thanks --- Any help would be greatly appreciated. Paul


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