Ad binding - I haven't tested it but from the code it seems like you
can specify binding interface using 'bind' config option. If not specified it
will
bind to all interfaces. You can not specify two explicitly (at least
on the same port).
To have two ports you need to "clone" your imapserver.xml file to eg:
imapserver-ssl.xml and configure them properly.
In one of them you need also to override jmxName property to non
default - put the following to the root node:
<jmxName>imapserver-ssl</jmxName>
Last step is to put the second one to beans configuration to have smth
like this:
<bean id="imapserver" class="org.apache.james.imapserver.netty.IMAPServer">
<property name="imapDecoder" ref="imapDecoder"/>
<property name="imapEncoder" ref="imapEncoder"/>
</bean>
<bean id="imapserver-ssl"
class="org.apache.james.imapserver.netty.IMAPServer">
<property name="imapDecoder" ref="imapDecoder"/>
<property name="imapEncoder" ref="imapEncoder"/>
</bean>
note that the xml config file name is the bean id you'd put here.
> Hi there,
> I'm new in James, I'm using version 3.0-M3.
> I'm trying to configure IMAP server but I didn't understand if it's
> possible to enable IMAP server binding two different IP addresses. How
> can I set imaserver.xml file for this purpose?
> Other question. Can I configure IMAP server to use different ports on
> the same bind IP address? My purpose is to have a secure connection
> using SSL encryption on port 993 and a clear connection on port 143
> binding the same IP address.
> Thanks in advance,
> Nicola.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
--
Pozdrowienia,
Wojciech Strzalka
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]