Gordon Messmer <[EMAIL PROTECTED]> wrote:

> On Sun, 2002-07-07 at 04:08, Jean-Pierre Schwickerath wrote:
> > 
> > I try to make Courier-IMAP run with the SSL-Wrapper on Port 993.
> > The Problem I have is that as soon as I define SSLPORT=993 in
> > /etc/courier/imap-ssl the IMAP Servers listens on the old (and I
> > think depreciated) port 585 as shown by netstat -an | grep LISTEN:
> 
> What platform are you running?  What does getservbyname() return when
> you give it "993" (the test program attached will tell you if you
> compile and run it)

I'm running Linux From Scratch on i386 with Kernel 2.4.19-pre2

I compiled the test program you sent and it returns

      getservbyname returned port: 18690

I tried it with and without courier running, it's giving the same
result.

> Look for 585 in /etc/services after you run the test.  If it's named
> "imaps", you might want to comment out or remove the line.

In /etc/services I have:

imap4-ssl 585/tcp    IMAP4+SSL (use 993 instead)
imap4-ssl 585/udp    IMAP4+SSL (use 993 instead)

imaps          993/tcp    imap4 protocol over TLS/SSL
imaps          993/udp    imap4 protocol over TLS/SSL

for the relevant parts.

I commented out the 585 lines and it works....
Then the test program returns
       getservbyname returned NULL

But why does the line imap4-ssl conflict with imaps ????

Jean-Pierre

-- 
Powered by Linux From Scratch - http://schwicky.net
PGP Key ID: 0xEE6F49B4 - AIM/Jabber: Schwicky - ICQ: 4690141

Nothing is impossible... Everything is relative!


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
We have stuff for geeks like you.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to