You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Troy J. Kelley" <tk...@e-gineering.com> on 2003/01/30 04:39:22 UTC

Specifying SMTP port in server.xml

Hello,

I've googled and searched the archives...  The docs for tomcat 4.1 state:

WARNING - The default configuration assumes that there is an SMTP server
listing on port 25 on localhost. If this is not the case, edit the
$CATALINA_HOME/conf/server.xml file, and modify the parameter value for the
mail.smtp.host parameter to be the host name of an SMTP server on your
network.

Now, I've got more SSH tunnels for stuff than you can shake a stick at, and
it just so happens that the SMTP server I want to use is localhost listening
on port X.

I tried the format of:

<hostname>:<port> for the mail.smtp.host param

I also tried to see if there was a mail.smtp.port param

Neither of these seemed to work.

Any help is greatly appreciated... I can always dig into the code :-)

Thanks,

-Troy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Specifying SMTP port in server.xml

Posted by Filip Hanik <ma...@filip.net>.
mail.smtp.host should be a ip or hostname
mail.smtp.port should be a port number

http://java.sun.com/products/javamail/1.3/docs/javadocs/com/sun/mail/smtp/pa
ckage-summary.html

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
www.filip.net

>-----Original Message-----
>From: Troy J. Kelley [mailto:tkelley@e-gineering.com]
>Sent: Wednesday, January 29, 2003 7:39 PM
>To: tomcat-user@jakarta.apache.org
>Subject: Specifying SMTP port in server.xml
>
>
>Hello,
>
>I've googled and searched the archives...  The docs for tomcat 4.1 state:
>
>WARNING - The default configuration assumes that there is an SMTP server
>listing on port 25 on localhost. If this is not the case, edit the
>$CATALINA_HOME/conf/server.xml file, and modify the parameter value for the
>mail.smtp.host parameter to be the host name of an SMTP server on your
>network.
>
>Now, I've got more SSH tunnels for stuff than you can shake a stick at, and
>it just so happens that the SMTP server I want to use is localhost
>listening
>on port X.
>
>I tried the format of:
>
><hostname>:<port> for the mail.smtp.host param
>
>I also tried to see if there was a mail.smtp.port param
>
>Neither of these seemed to work.
>
>Any help is greatly appreciated... I can always dig into the code :-)
>
>Thanks,
>
>-Troy
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org