This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 64a487d4f15dd4d5b389d9c44a7076e657a3768d Author: Benoit Tellier <[email protected]> AuthorDate: Thu Jun 11 09:09:40 2020 +0700 JAMES-1481 Fix a dead link in install page --- .../src/test/java/org/apache/james/JamesServerContract.java | 2 +- .../src/test/java/org/apache/james/JPAJamesServerTest.java | 2 +- .../jpa-smtp/src/test/java/org/apache/james/JPAJamesServerTest.java | 2 +- src/site/xdoc/server/install.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/container/guice/guice-common/src/test/java/org/apache/james/JamesServerContract.java b/server/container/guice/guice-common/src/test/java/org/apache/james/JamesServerContract.java index 1c4fa2c..0ca7964 100644 --- a/server/container/guice/guice-common/src/test/java/org/apache/james/JamesServerContract.java +++ b/server/container/guice/guice-common/src/test/java/org/apache/james/JamesServerContract.java @@ -90,7 +90,7 @@ public interface JamesServerContract { default void connectSMTPServerShouldSendShabangOnConnect(GuiceJamesServer jamesServer) throws Exception { try (SocketChannel socketChannel = SocketChannel.open()) { socketChannel.connect(new InetSocketAddress(JAMES_SERVER_HOST, jamesServer.getProbe(SmtpGuiceProbe.class).getSmtpPort().getValue())); - assertThat(getServerConnectionResponse(socketChannel)).startsWith("220 JAMES Linagora's SMTP awesome Server"); + assertThat(getServerConnectionResponse(socketChannel)).startsWith("220 Apache JAMES awesome SMTP Server"); } } diff --git a/server/container/guice/jpa-smtp-mariadb/src/test/java/org/apache/james/JPAJamesServerTest.java b/server/container/guice/jpa-smtp-mariadb/src/test/java/org/apache/james/JPAJamesServerTest.java index 3f7c42c..998b6ef 100644 --- a/server/container/guice/jpa-smtp-mariadb/src/test/java/org/apache/james/JPAJamesServerTest.java +++ b/server/container/guice/jpa-smtp-mariadb/src/test/java/org/apache/james/JPAJamesServerTest.java @@ -77,7 +77,7 @@ public class JPAJamesServerTest { @Test public void connectSMTPServerShouldSendShabangOnConnect() throws Exception { socketChannel.connect(new InetSocketAddress("127.0.0.1", server.getProbe(SmtpGuiceProbe.class).getSmtpPort().getValue())); - assertThat(getServerConnectionResponse(socketChannel)).startsWith("220 JAMES Linagora's SMTP awesome Server"); + assertThat(getServerConnectionResponse(socketChannel)).startsWith("220 Apache JAMES awesome SMTP Server"); } private String getServerConnectionResponse(SocketChannel socketChannel) throws IOException { diff --git a/server/container/guice/jpa-smtp/src/test/java/org/apache/james/JPAJamesServerTest.java b/server/container/guice/jpa-smtp/src/test/java/org/apache/james/JPAJamesServerTest.java index 17a1124..72cc48a 100644 --- a/server/container/guice/jpa-smtp/src/test/java/org/apache/james/JPAJamesServerTest.java +++ b/server/container/guice/jpa-smtp/src/test/java/org/apache/james/JPAJamesServerTest.java @@ -84,7 +84,7 @@ public class JPAJamesServerTest { @Test public void connectSMTPServerShouldSendShabangOnConnect() throws Exception { socketChannel.connect(new InetSocketAddress("127.0.0.1", server.getProbe(SmtpGuiceProbe.class).getSmtpPort().getValue())); - assertThat(getServerConnectionResponse(socketChannel)).startsWith("220 JAMES Linagora's SMTP awesome Server"); + assertThat(getServerConnectionResponse(socketChannel)).startsWith("220 Apache JAMES awesome SMTP Server"); } private String getServerConnectionResponse(SocketChannel socketChannel) throws IOException { diff --git a/src/site/xdoc/server/install.xml b/src/site/xdoc/server/install.xml index 72321be..bc5ea31 100644 --- a/src/site/xdoc/server/install.xml +++ b/src/site/xdoc/server/install.xml @@ -146,7 +146,7 @@ <li>Most UNIX systems require superuser privileges to open sockets below 1024, which includes the IANA-standard SMTP (on port 25), POP3 (on port 110) and IMAP4 (on port 143). These default ports can be changed in the conf file - (read for <a href="config-pop3.html">pop3</a>, <a href="config-smtp.html">smtp</a> + (read for <a href="config-pop3.html">pop3</a>, <a href="config-smtp-lmtp.html">smtp</a> and <a href="config-imap4.html">imap4</a>. Obviously, you would then need to reconfigure your clients. This may not be an option if you want to receive mail from external mail servers.</li> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
