Skip to content

qmail is a secure, reliable, efficient, simple message transfer agent.

License

Notifications You must be signed in to change notification settings

sagredo-dev/qmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qmail

qmail is a secure, reliable, efficient, simple message transfer agent. It is designed for typical Internet-connected UNIX hosts. It was developed by D. J. Bernstein.

My patched qmail

This qmail package is part of a complete qmail guide. Not everything you need to know about qmail or its installation is covered here so, in case of issues in the installation, have a look at the link above.

Before installing

This qmail package contains chkuser, which has vpopmail as a prerequisite, while vpopmail itself requires to be installed over the vanilla qmail. So the compilation chain is netqmail > vpopmail > patched qmail.

If you are looking for a qmail variant without chkuser and vpopmail you can switch to the specific branch where you can find this same qmail without chkuser.
Download like this:

git clone -b no-chkuser-vpopmail https://github.com/sagredo-dev/qmail.git

qmail package details

This distribution of qmail puts together netqmail-1.06 with the following patches:

Install

As already mentioned, this package has vpopmail as a prerequisite. Also it is intended that you already have created the qmail users as explained here.

This package requires the libidn2 library (GNU Internationalized Domain Name library version 2, libidn2-dev on Debian like OS).

  • Install libsrs2
wget https://notes.sagredo.eu/files/qmail/tar/libsrs2-1.0.18.tar.gz
tar xzf libsrs2-1.0.18.tar.gz
cd libsrs2-1.0.18
./configure
make
make install
ldconfig
cd ../
  • Download and compile
make
make setup check
  • You have to export SMTPAUTH in your run file if you want to do the auth
  • You have to export SURBL=1 in your run file if you want to enable SURBL
  • /var/qmail/control/cache must be owned by the user who runs qmail-smtpd, vpopmail:vchkpwd in my case. Change the permissions according to your qmail configuration.

Info and support

You can find more info and ask for support here https://notes.sagredo.eu/en/qmail-notes-185/patching-qmail-82.html.