You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by l0c4l h0st <l0...@gmail.com> on 2012/03/28 10:07:36 UTC

Use both SSL and non-SSL

Hello,

How can we use both SSL and non-SSL with James?

So let's say we want to host a mailserver that provides SMTP and IMAP.

I want the server to listen on:
- 25/587, for non-SSL SMTP
- 465, for SSL SMTP
and:
- 143, for non-SSL IMAP
- 993, for SSL IMAP

As far as I can see, I can only configure the imapserver.xml /
smtpserver.xml to do SSL or don't do SSL. I can't configure them to do
both.

Or am I missing something?

Thanks!

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


Re: Use both SSL and non-SSL

Posted by lclhst <l0...@gmail.com>.
What I found was this: http://marc.info/?l=james-user&m=130082011314816

This works.

However, this creates *two* IMAP servers, right? Or is this the usual
way of achieving this?

Would like to get some input on this. :) To me it seems we should
create *1* IMAP server that allows both SSL and nonSSL.

On Wed, Mar 28, 2012 at 10:07 AM, l0c4l h0st <l0...@gmail.com> wrote:
> Hello,
>
> How can we use both SSL and non-SSL with James?
>
> So let's say we want to host a mailserver that provides SMTP and IMAP.
>
> I want the server to listen on:
> - 25/587, for non-SSL SMTP
> - 465, for SSL SMTP
> and:
> - 143, for non-SSL IMAP
> - 993, for SSL IMAP
>
> As far as I can see, I can only configure the imapserver.xml /
> smtpserver.xml to do SSL or don't do SSL. I can't configure them to do
> both.
>
> Or am I missing something?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Use both SSL and non-SSL

Posted by Eric Charles <er...@apache.org>.
Right.
A port is SSL or not.
If you want to support both, you need 2 different port numbers.
Thx, Eric

On 28/03/12 11:46, lclhst wrote:
> But we cannot specify 1 IMAP/POP3/SMTP server that does both SSL and non-SSL?
>
> So 1 server that would listen on 143 AND 993.
>
> On Wed, Mar 28, 2012 at 11:39 AM, Eric Charles<er...@apache.org>  wrote:
>> Hi,
>>
>> With recent snapshots or 3.0b4, you can configure multiple smtpservers,
>> pop3servers and imparservers (see related template configuration files in
>> https://svn.apache.org/repos/asf/james/app/trunk/src/main/resources).
>>
>> This will be soon documented.
>>
>> Thx,
>> Eric
>>
>>
>> On 28/03/12 10:07, l0c4l h0st wrote:
>>>
>>> Hello,
>>>
>>> How can we use both SSL and non-SSL with James?
>>>
>>> So let's say we want to host a mailserver that provides SMTP and IMAP.
>>>
>>> I want the server to listen on:
>>> - 25/587, for non-SSL SMTP
>>> - 465, for SSL SMTP
>>> and:
>>> - 143, for non-SSL IMAP
>>> - 993, for SSL IMAP
>>>
>>> As far as I can see, I can only configure the imapserver.xml /
>>> smtpserver.xml to do SSL or don't do SSL. I can't configure them to do
>>> both.
>>>
>>> Or am I missing something?
>>>
>>> Thanks!
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

-- 
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Use both SSL and non-SSL

Posted by lclhst <l0...@gmail.com>.
But we cannot specify 1 IMAP/POP3/SMTP server that does both SSL and non-SSL?

So 1 server that would listen on 143 AND 993.

On Wed, Mar 28, 2012 at 11:39 AM, Eric Charles <er...@apache.org> wrote:
> Hi,
>
> With recent snapshots or 3.0b4, you can configure multiple smtpservers,
> pop3servers and imparservers (see related template configuration files in
> https://svn.apache.org/repos/asf/james/app/trunk/src/main/resources).
>
> This will be soon documented.
>
> Thx,
> Eric
>
>
> On 28/03/12 10:07, l0c4l h0st wrote:
>>
>> Hello,
>>
>> How can we use both SSL and non-SSL with James?
>>
>> So let's say we want to host a mailserver that provides SMTP and IMAP.
>>
>> I want the server to listen on:
>> - 25/587, for non-SSL SMTP
>> - 465, for SSL SMTP
>> and:
>> - 143, for non-SSL IMAP
>> - 993, for SSL IMAP
>>
>> As far as I can see, I can only configure the imapserver.xml /
>> smtpserver.xml to do SSL or don't do SSL. I can't configure them to do
>> both.
>>
>> Or am I missing something?
>>
>> Thanks!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
> --
> eric | http://about.echarles.net | @echarles
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Use both SSL and non-SSL

Posted by Eric Charles <er...@apache.org>.
Hi,

With recent snapshots or 3.0b4, you can configure multiple smtpservers, 
pop3servers and imparservers (see related template configuration files 
in https://svn.apache.org/repos/asf/james/app/trunk/src/main/resources).

This will be soon documented.

Thx,
Eric

On 28/03/12 10:07, l0c4l h0st wrote:
> Hello,
>
> How can we use both SSL and non-SSL with James?
>
> So let's say we want to host a mailserver that provides SMTP and IMAP.
>
> I want the server to listen on:
> - 25/587, for non-SSL SMTP
> - 465, for SSL SMTP
> and:
> - 143, for non-SSL IMAP
> - 993, for SSL IMAP
>
> As far as I can see, I can only configure the imapserver.xml /
> smtpserver.xml to do SSL or don't do SSL. I can't configure them to do
> both.
>
> Or am I missing something?
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

-- 
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org