Template: popa3d/standalone
Type: boolean
Default: true
_Description: Run popa3d in standalone mode?
 In standalone mode, popa3d will become a daemon, accepting connections on
 the pop3 port (110/tcp) and forking child processes to handle them. This
 has lower overhead than starting popa3d from an inetd equivalent and is
 thus useful on busy servers to reduce load. See popa3d(8) for more
 details.

Template: popa3d/config-removal
Type: error
_Description: Socket-activated mode for popa3d requires intervention
 The running mode for popa3d (standalone versus socket-activated) is no
 longer controlled by debconf configuration and /etc/default/popa3d.
 .
 The default behaviour is always to start as a standalone service which
 should be explicitly disabled if socket activation is preferred.
 .
 If (as has been detected) inetd is currently used to launch popa3d and
 the popa3d service is enabled, then one of the following actions is needed:
 .
  1. To enable socket activation using systemd:
       update-inetd --pattern "popa3d" --disable pop3
       systemctl enable --now popa3d.socket
 .
  2. To continue using inetd:
       systemctl disable --now popa3d.service popa3d.socket
       update-rc.d popa3d disable
 .
  3. To disable the inetd service and switch to the standalone option:
       update-inetd --pattern "popa3d" --disable pop3
       service popa3d restart
