In addition to create another smtpserver element you need to:
1) make sure its name is different
   (for example having <smtpserver-587 enabled="true"> ...);
2) duplicate the smtpserver block in assembly.xml, using the right name
(sticking with the example: <block name="smtpserver-587 " class="org.apache.james.smtpserver.SMTPServer" > ...).

This is btw how you would set up ssl support (see the setup examples in http://wiki.apache.org/james/UsingSSL).

Vincenzo

[EMAIL PROTECTED] wrote:

Is it possible to set up James to use both port 25 and port 587? In the config.xml I tried adding two port elements to the smtpserver element and the 2nd one just gets ignored. I tried adding two smtpserver elements and this causes all kinds of exceptions when the server starts up.

Is this behavior just not supported?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to