Why this package

This package creates the config files and NetBSD-style rc.d scripts needed to run pkgsrc-qmail, provides convenient wrappers for procmail, spamassassin, and rspamd, and brings in all the needed dependencies for a basic qmail installation.

It includes:

  • qmail (notqmail 1.08 with bigdns, customerror, eai, maildiruniq, outgoingip, spp, srs, syncdir, tls)
  • acceptutils
  • checkpassword
  • daemontools
  • greetdelay
  • greylisting-spp
  • libtai
  • mess822
  • qmail-dkim-wrappers
  • qmail-qfilter
  • qmail-spp-spf
  • rejectutils
  • syncdir
  • ucspi-ssl

If you’re looking to run qmail easily on a wide variety of systems — possibly without adopting DJB’s daemon-supervision lifestyle — this package may be useful to you.

Without this package

To configure qmail services to be started and stopped, follow Life with qmail’s instructions, then use its qmailctl script.

With this package

Follow the very brief instructions in the install message. To see it again:

$ pkg_info -D qmail-run

Get this package

Binary

# pkgin -y install qmail-run

Source

$ cd /usr/pkgsrc/mail/qmail-run
$ make install

(Developed in pkgsrc, and sometimes offline with git.)

Status of this package

The below results reflect whether it can

  1. install all the qmail-run dependencies, most notably pkgsrc-qmail
  2. run at boot thanks to pkgsrc-rc.d-boot integrating with your OS’s native boot process (ignore if you prefer /service)
  3. go big with all the ?pkgsrc-qmail-server dependencies, most notably rspamd and dovecot (ignore if you don’t need these)
OS version arch compiler install run at boot go big date attested
Alpine 3.x x86_64 system gcc-10.3.1 {X} {X} {X} 2023/06/02 ucspi-ssl
Arch X.x x86_64 system gcc-13.1.1 (./) (./) (./) 2023/06/02
CentOS 7.x x86_64 system gcc-4.8.5 (./) (./) {X} 2023/06/02 gpgme
CentOS 8.x x86_64 system gcc-8.5.0 (./) (./) (./) 2023/06/02
CentOS 9.x x86_64 system gcc-11.3.1 (./) (./) (./) 2023/06/02
Darwin 10.8.0 i386 (./) (./) (?) 2019/02/02
Darwin 18.2.0 x86_64 (./) (./) (?) 2018/12/18
Darwin 22.5.0 arm64 system clang-14.0.3 (./) (./) (./) 2023/06/03
Darwin 22.5.0 x86_64 system clang-14.0.3 (./) (./) (./) 2023/06/03
Debian 9.x x86_64 system gcc 6.3.0 (./) (./) {X} 2023/06/03 rspamd build hangs with pkgsrc gcc-9.5.0 (without always-libgcc)
Debian 10.x x86_64 system gcc-8.3.0 (./) (./) {X} 2023/06/03 rspamd build hangs with pkgsrc gcc-9.5.0 (with or without always-libgcc)
Debian 11.x x86_64 system gcc-10.2.1 (./) (./) (./) 2023/06/03
Devuan 4.x x86_64 system gcc-10.2.1 (./) (./) (./) 2023/06/03
FreeBSD 13.x amd64 system clang-14.0.5 (./) (./) (./) 2023/05/09
NetBSD 9.3 amd64 system gcc-7.5.0 (./) (./) (./) 2023/06/02
NetBSD 9.3 armv7 (?) (?) (?)  
NetBSD 9.3 hppa (?) (?) (?)  
NetBSD 9.3 i386 (?) (?) (?)  
NetBSD 9.3 macppc (?) (?) (?)  
NetBSD 9.3 sparc (?) (?) (?)  
NetBSD 9.3 sparc64 (?) (?) (?)  
NetBSD 10.x amd64 system gcc-10.4.0 (./) (./) (./) 2023/06/02
NetBSD 10.x arm64 system gcc-10.4.0 (./) (./) (./) 2023/05/08
NetBSD 10.x riscv system gcc-10.4.0 (./) (./) {X} 2023/06/03 gnutls build hangs
OpenBSD 7.3 amd64 system clang-13.0.0 (./) {X} {X} 2023/06/02 cmake
OpenBSD 7.3 i386 system clang-13.0.0 (./) {X} {X} 2023/05/11 python310 _hashlib
SmartOS 18.3.0 x86_64 pkgsrc gcc-10.3.0 (./) {X} (./) 2023/06/02 smf(5) integration
Solaris 11.4 x86_64 system gcc-11.2.0 {X} {X} {X} 2023/06/13 syncdir
Tribblix 0m30 x86_64 system gcc-10.3.0 (./) {X} {X} 2023/05/09 libusb1
Ubuntu 20.04 x86_64 system gcc-9.4.0 (./) (./) (./) 2023/05/09
Ubuntu 22.04 x86_64 system gcc-13.1.1 (./) (./) (./) 2023/06/02
Void X.x amd64 system gcc-12.2.0 (./) {X} (./) 2023/06/02 runit(8) integration

Improve this package

If you see a simpler way to do it, I’d love to know.