README-imap 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. $OpenBSD: README-imap,v 1.3 2015/10/20 19:36:46 ajacoutot Exp $
  2. +-----------------------------------------------------------------------
  3. | Running ${FULLPKGNAME} on OpenBSD
  4. +-----------------------------------------------------------------------
  5. The ipop2d, ipop3d, and imapd daemons should be invoked by your
  6. /etc/inetd.conf file with lines such as:
  7. pop2 stream tcp nowait root ${TRUEPREFIX}/libexec/ipop2d ipop2d
  8. pop2 stream tcp6 nowait root ${TRUEPREFIX}/libexec/ipop2d ipop2d
  9. pop3 stream tcp nowait root ${TRUEPREFIX}/libexec/ipop3d ipop3d
  10. pop3 stream tcp6 nowait root ${TRUEPREFIX}/libexec/ipop3d ipop3d
  11. imap stream tcp nowait root ${TRUEPREFIX}/libexec/imapd imapd
  12. imap stream tcp6 nowait root ${TRUEPREFIX}/libexec/imapd imapd
  13. To use SSL as default transport you need to add the lines below to
  14. /etc/inetd.conf.
  15. pop3s stream tcp nowait root ${TRUEPREFIX}/libexec/ipop3d ipop3d
  16. pop3s stream tcp6 nowait root ${TRUEPREFIX}/libexec/ipop3d ipop3d
  17. imaps stream tcp nowait root ${TRUEPREFIX}/libexec/imapd imapd
  18. imaps stream tcp6 nowait root ${TRUEPREFIX}/libexec/imapd imapd
  19. inetd(8) must be reloaded (or started). To enable it at boot, the
  20. following line needs to be added to rc.conf.local(8):
  21. inetd_flags=
  22. You also need to install your certificates to
  23. /etc/ssl/{imapd,ipop3d}.pem and files containing the corresponding private
  24. keys to /etc/ssl/private/{imapd,ipop3d}.pem. See ssl(8) for how to do this.
  25. If you want to use the included mailbox lock program, you need to enable
  26. the setgid bit on the mlock binary, then give the "_smmsp" group write
  27. permission on the /var/mail directory. As root:
  28. chmod 2555 ${TRUEPREFIX}/libexec/mlock
  29. chgrp _smmsp /var/mail
  30. chmod 775 /var/mail
  31. Note that there are security implications to this!
  32. By default, plaintext authentication over clear connection is disabled.
  33. While it is highly recommended not to do so, you may enable it in the
  34. ${SYSCONFDIR}/c-client.cf file.