How to enforce POP3s by disabling POP3 in courier-imap pop3 server

Sometimes, for security reasons, it is useful to disable pop3 protocol on a server, leaving users with necessity of using secure pop3 protocol (i.e. in outlook they will have to check “Use SSL checkbox”, otherwise mail just won’t work). The civilized method is of course just ask people politely to make changes to their settings, but frequently people just don’t have time to do so. This tiny hack will force them to do so, otherwise their mail just won’t come.

Open this file: /etc/courier-imap/pop3d

  1. Find line POP3DSTART=YES
  2. Replace YES with NO
  3. run “/etc/init.d/courier-imap restart”
  4. done

Leave a Reply