On Mon, 25 Aug 2003, Chris Bunch wrote: > Is it possible to compile imapd so that it will accept unencrypted logins > and sessions on port 143 and also encrypted sessions via SSL on port 993, > and if so how?
All recent versions of UW imapd recognize that it has been invoked on port 143 vs. port 993, and automatically puts itself into the correct mode, as long as it was built with SSL support (that is, not using SSLTYPE=none). If you build with SSLTYPE=unix, then unencrypted logins are permitted on port 143 (that is, you can use the LOGIN, AUTHENTICATE PLAIN, and AUTHENTICATE LOGIN commands). If you build with SSLTYPE=nopwd (or SSLTYPE=unix.nopwd), then unencrypted logins are not permitted on port 143 unless you first negotiate TLS encryption (STARTTLS command). You can use encrypted logins (AUTHENTICATE GSSAPI, AUTHENTICATE CRAM-MD5, etc.) if your server is configured to support that. > I have tried building with "SSLTYPE=unix" in the make command line but that > doesn't achieve the above. Can you be more specific about your expectations vs. results? It should work. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
