[
https://issues.apache.org/jira/browse/JAMES-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076891#comment-17076891
]
Jacklondon Chen edited comment on JAMES-3131 at 4/7/20, 4:26 AM:
-----------------------------------------------------------------
I have a new smtpserver node in XML config file. And I can send email by
connecting to either port 25 or port 465 now.
I expect the config like this:
{code:java}
//
<smtpserver role="mail_transfer_agent">
<bind>0.0.0.0:25</bind>
...
<smtpserver role="mail_user_agent + mail_transfer_agent">
<bind>0.0.0.0:465</bind>
...{code}
And anyway, my current config like this:
{code:java}
//
<smtpservers>
<smtpserver enabled="true">
<jmxName>smtpserver</jmxName>
<bind>0.0.0.0:25</bind>
...
<tls socketTLS="false" startTLS="false">
...
</smtpserver>
<smtpserver enabled="true">
<jmxName>smtp_tls_server</jmxName>
<bind>0.0.0.0:465</bind>
...
<tls socketTLS="true" startTLS="false">
...
</smtpserver>
</smtpservers>
{code}
It match most of my need.
Place another smtpserver XML node in comment in the smtpserver.xml for port
465 ,will be better than change the document.
was (Author: jacklondon):
I have a new smtpserver node in XML config file. And I can send email by
connecting to either port 25 or port 465.
I expect the config like this:
{code:java}
//
<smtpserver role="mail_transfer_agent">
<bind>0.0.0.0:25</bind>
...
<smtpserver role="mail_user_agent + mail_transfer_agent">
<bind>0.0.0.0:465</bind>
...{code}
And anyway, my current config like this:
{code:java}
//
<smtpservers>
<smtpserver enabled="true">
<jmxName>smtpserver</jmxName>
<bind>0.0.0.0:25</bind>
...
<tls socketTLS="false" startTLS="false">
...
</smtpserver>
<smtpserver enabled="true">
<jmxName>smtp_tls_server</jmxName>
<bind>0.0.0.0:465</bind>
...
<tls socketTLS="true" startTLS="false">
...
</smtpserver>
</smtpservers>
{code}
It match most of my need.
Place another smtpserver XML node in comment in the smtpserver.xml for port 465
,will be better than change the document.
> suggest split smtpserver.xml into 3 config files to allow listen on port 25
> and 465 at the same time
> ----------------------------------------------------------------------------------------------------
>
> Key: JAMES-3131
> URL: https://issues.apache.org/jira/browse/JAMES-3131
> Project: James Server
> Issue Type: Improvement
> Components: configuration
> Affects Versions: 3.4.0
> Reporter: Jacklondon Chen
> Priority: Major
>
> Suggest split smtpserver.xml into 3 config files to allow listen on port 25
> and 465 at the same time.
> The 3 config files are:
> smtpserver-common.xml
> smtpserver-relay.xml
> smtpserver-submission.xml
>
> And listen port on the last 2 config files and be both 25, or 25 in
> smtpserver-relay.xml and 465 in smtpserver-submission.xml .
>
> Because port 25 is not safe for password when post a new email, and just
> listen at port 465 may cause outside email-server cannot deliver email to
> port 25 at this mail server .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]