The mail/alpine,-imap port

imap-uw-2.21p4v0 – UW IMAP4rev1/POP2/POP3 mail servers (source)


This is the IMAP4rev1 server from the University of Washington.
Included are backwards-compatible (almost) POP2 and POP3 servers:

    ipop2d	POP2 daemon
    ipop3d	POP3 daemon
    imapd	IMAP4rev1 daemon

This package is built using the re-alpine source, the continuation of
the Alpine email client from University of Washington.


$OpenBSD: README-imap,v 1.4 2018/09/04 12:46:15 espie Exp $

| Running ${PKGSTEM} on OpenBSD

The ipop2d, ipop3d, and imapd daemons should be invoked by your
/etc/inetd.conf file with lines such as:

  pop2    stream  tcp     nowait  root    ${TRUEPREFIX}/libexec/ipop2d   ipop2d
  pop2    stream  tcp6    nowait  root    ${TRUEPREFIX}/libexec/ipop2d   ipop2d
  pop3    stream  tcp     nowait  root    ${TRUEPREFIX}/libexec/ipop3d   ipop3d
  pop3    stream  tcp6    nowait  root    ${TRUEPREFIX}/libexec/ipop3d   ipop3d
  imap    stream  tcp     nowait  root    ${TRUEPREFIX}/libexec/imapd    imapd
  imap    stream  tcp6    nowait  root    ${TRUEPREFIX}/libexec/imapd    imapd

To use SSL as default transport you need to add the lines below to

  pop3s   stream  tcp     nowait  root    ${TRUEPREFIX}/libexec/ipop3d   ipop3d
  pop3s   stream  tcp6    nowait  root    ${TRUEPREFIX}/libexec/ipop3d   ipop3d
  imaps   stream  tcp     nowait  root    ${TRUEPREFIX}/libexec/imapd    imapd
  imaps   stream  tcp6    nowait  root    ${TRUEPREFIX}/libexec/imapd    imapd

inetd(8) must be reloaded (or started). To enable it at boot, the
following line needs to be added to rc.conf.local(8):

You also need to install your certificates to
/etc/ssl/{imapd,ipop3d}.pem and files containing the corresponding private
keys to /etc/ssl/private/{imapd,ipop3d}.pem.  See ssl(8) for how to do this.

If you want to use the included mailbox lock program, you need to enable
the setgid bit on the mlock binary, then give the "_smmsp" group write
permission on the /var/mail directory.  As root:
 chmod 2555 ${TRUEPREFIX}/libexec/mlock
 chgrp _smmsp /var/mail
 chmod 775 /var/mail

Note that there are security implications to this!

By default, plaintext authentication over clear connection is disabled.
While it is highly recommended not to do so, you may enable it in the
${SYSCONFDIR}/ file.


The OpenBSD ports mailing-list


alpine-2.21p4 c-client-2.21p4v0 imap-uw-2.21p4v0 mailutil-uw-2.21p4v0 pico-5.09p20 pilot-2.99p20



Library dependencies

Build dependencies


File Descr
Path Name
Category Maintainer