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 Marc Chamberlin <ma...@marcchamberlin.com> on 2019/02/22 05:00:00 UTC

Re: Handling 2 SMTP ports SOLVED

Never mind! I figured it out, duplicating the <smtpserver> sections is
the right answer, just got to give the jmxName a unique identifier in
each section.

    Marc...


On 02/21/2019 08:33 PM, Marc Chamberlin wrote:
> I need to set up James so that another email server on my LAN can
> connect to it and relay messages on port 25. I also want James to handle
> external connections using StartTLS on port 587. With the old James 2.3
> I was able to accomplish this by duplicating the <smtpserver
> enables="true"> block inside the <smtpservers> block and assign the two
> separate ports, one each,  to each of the <smtpserver> sections. I tried
> that with James 3.4 and it squawked and thumbed it's nose at me. Threw a
> couple of exceptions and then shut down. So that is not how to do it and
> I cannot find any documentation/examples on how to configure James to
> handle connections on two separate ports... Can one of you fine guru's
> show me the way? Thanks in advance as always...
>
>      Marc...
>
>
>

-- 
Linux Counter