[opencms-dev] alternate port for smtp sending smtp mail

Aaron Wagner aaronw at technologist.com
Fri Feb 16 19:03:09 CET 2007


Our smtp server will not accept email from our subnet.  We have created a
listener on port 827 to forward all requests to the smtp server on the main
network.  This setup works in PHP but not in CMS.

Where can I change the port used by OpenCMS?

I've tried to hardcode the port number but CMS still uses port 25.

_________WEB-INF/config/opencms-system.xml__>>snip>>__________
      <mailhost name="net02" protocol="827"/>
___________________________________________<<snip<<__________

_____error__________________________>>snip>>__________
The mail server configuration in WEB-INF/config/opencms-system.xml contains
an invalid mail server net02.
Could not connect to SMTP host: net02, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out
___________________________________<<snip<<__________

-- 
Thanx
Aaron N Wagner

To err is human; effective mayhem requires the root password!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070216/80e9e35b/attachment.htm>


More information about the opencms-dev mailing list