You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/09/04 05:57:00 UTC
[jira] [Closed] (JAMES-2730) smtp auth setting not working
[ https://issues.apache.org/jira/browse/JAMES-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-2730.
---------------------------------
Resolution: Fixed
See JAMES-3525 for fixing this behaviour
> 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
> Priority: Critical
>
> 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>
> <verifyIdentity>true</verifyIdentity>
> <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:<je...@xxx.com>
> 250 2.1.0 Sender <je...@xxx.com> OK
> rcpt to:<de...@xxx.com>
> 250 2.1.5 Recipient <de...@9ji.com> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org