# standard standalone server implementation

START {
  # do not delete these entries!
  mboxlist	cmd="ctl_mboxlist -r"
  deliver	cmd="ctl_deliver -r"

  # this is only necessary if using idled for IMAP IDLE
#  idled		cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap		cmd="imapd" listen="imap" prefork=0
  pop3		cmd="pop3d" listen="pop3" prefork=0

  # LMTP is required for delivery
  lmtpunix	cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}

EVENTS {
  # this is required
  checkpoint	cmd="ctl_mboxlist -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune	cmd="ctl_deliver -E 3" period=1440
}
