Yuanjun Li created JAMES-2730:
---------------------------------

             Summary: smtp auth setting not working
                 Key: JAMES-2730
                 URL: https://issues.apache.org/jira/browse/JAMES-2730
             Project: James Server
          Issue Type: Bug
          Components: configuration
    Affects Versions: 3.3.0
         Environment: centos 6.10 64bit
jdk 1.8.191
mysql 5.6
            Reporter: Yuanjun Li


when I enable the smtp auth,  here is my configuration:
{quote}<smtpserver enabled="true">

<jmxName>smtpserver25</jmxName>

<bind>0.0.0.0:25</bind>

<connectionBacklog>200</connectionBacklog>

<tls socketTLS="false" startTLS="true">
 <keystore>[file://conf/keystore]</keystore>
 <secret>google</secret>
 <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
 <!-- The algorithm is optional and only needs to be specified when using 
something other
 than the Sun JCE provider - You could use IbmX509 with IBM Java runtime. -->
 <algorithm>SunX509</algorithm>
 </tls>

<connectiontimeout>360</connectiontimeout>
 <!-- Set the maximum simultaneous incoming connections for this service -->
 <connectionLimit>0</connectionLimit>

<!-- Set the maximum simultaneous incoming connections per IP for this service 
-->
 <connectionLimitPerIP>0</connectionLimitPerIP>

<authRequired>announce</authRequired>

<authorizedAddresses>127.0.0.0/8</authorizedAddresses>
 <maxmessagesize>0</maxmessagesize>

<addressBracketsEnforcement>true</addressBracketsEnforcement>

<handlerchain>

<handler class="org.apache.james.smtpserver.fastfail.ValidRcptHandler"/>

<handler class="org.apache.james.smtpserver.CoreCmdHandlerLoader"/>

</handlerchain>

</smtpserver>
{quote}
 

and then, I  test with follow commands:
{quote} 

lee@lee-Inspiron-7577 ~/tmp/mail_transfer $ telnet mail.xxx.com 25
Trying 11x.xx.xx.22...
Connected to mail.9ji.com.
Escape character is '^]'.
220 mail.xx.com JAMES SMTP Server Server (JAMES SMTP Server ) ready
helo mail.test.com 
250 mail.9ji.com Hello mail.test.com [182.245.167.204])
mail from:<[email protected]>
250 2.1.0 Sender <[email protected]> OK
rcpt to:<[email protected]>
250 2.1.5 Recipient <[email protected]> OK
data
354 Ok Send data ending with <CRLF>.<CRLF>
test
.
250 2.6.0 Message received
quit
 
{quote}

you can see,  I can send any email from the existed users to another.

how can I fix it ? any tips?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to