The SSL server port used by the IMAP server is the port identified as "imaps" (/etc/services in most systems, maybe elsewhere if your system uses something like NetInfo or Yellow Pages).

This is set in the third argument in the server_init() call early in the imapd.c source.

In order to have a special version of imapd listening on another port, you must define the new port name in /etc/services (or whereever), and then modify imapd so that the third argument of the server_init() call uses that port name instead of imaps.

Note, by the way, that port 994 is the IRC SSL port (ircs). You can't arbitrarily choose port numbers.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to