Hi,

the new version of AbstractMailTest.java uses the privileged port 26 for
the SimpleSmtpServer. Under Linux the Test fails because a non-root user
is not allowed to bind a service to that port. 

Use a higher port, e.g.:

Index: AbstractMailTest.java
===================================================================
--- AbstractMailTest.java       (revision 3003)
+++ AbstractMailTest.java       (working copy)
@@ -53,9 +53,9 @@
         handler = new SimpleMailHandler();
         factory = MgnlMailFactory.getInstance();
         factory.initParam(MgnlMailFactory.SMTP_SERVER, "localhost");
-        factory.initParam(MgnlMailFactory.SMTP_PORT, "26");
+        factory.initParam(MgnlMailFactory.SMTP_PORT, "25025");

-        server = SimpleSmtpServer.start(26);
+        server = SimpleSmtpServer.start(25025);
     }

     /**

Regards,
Chris


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to