courier-imap.service

This unit is provided by:

Options

  • [Install]
  • [Service]
    • Environment="PIDFILE=/run/imapd.pid" "LOCKFILE=/run/imapd.pid.lock"
    • EnvironmentFile=/etc/courier/imapd
    • ExecStart=/usr/bin/env - /bin/sh -c " set -a ; . /etc/courier/imapd ; grep IMAPDSTARTTLS=NO /etc/courier/imapd-ssl &>/dev/null || . /etc/courier/imapd-ssl ; IMAP_STARTTLS=$IMAPDSTARTTLS ; export IMAP_STARTTLS ; PROXY_HOSTNAME=$PROXY_HOSTNAME ; TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; /usr/sbin/courierlogger -pid=$PIDFILE -start $LOGGEROPTS /usr/lib/courier-imap/couriertcpd -address=$ADDRESS -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP $TCPDOPTS $PORT /usr/sbin/imaplogin /usr/sbin/imapd $MAILDIRPATH"
    • ExecStart=/usr/sbin/imapd start
    • ExecStop=/usr/sbin/courierlogger -pid=$PIDFILE -stop
    • ExecStop=/usr/sbin/imapd stop
    • ExecStopPost=/usr/bin/rm $PIDFILE $LOCKFILE
    • LimitNOFILE=65536
    • PIDFile=/run/courier/imapd.pid
    • PIDFile=/run/imapd.pid
    • Restart=always
    • Type=forking
  • [Unit]
    • After=courier-authdaemon.service
    • After=syslog.target network.target courier-authdaemon.target courier-authdaemon.service
    • Description=Courier IMAP
    • Description=Courier IMAP Daemon
    • Requires=courier-authdaemon.service
    • Wants=courier-authdaemon.service

Additionnal notes

Nothing here.