qmail-white-black-grey-rcptusers
| |
A freely downloadable qmail patch for per-user control of virus scanning, greylisting, and acceptable recepients; the qmail-white-black-grey-rcptusers.patch. For full documentation, read the text part of the patch file. Download here.
This patch takes a netqmail-1.05 that have already been patched with the
qmail-greylist-mysql-1.patch found at http://www.shupp.org/ and adds functionality to control greylisting and qmail-queue scanning per recipient and per sender IP, using environment variables and control files.
Quickstart:
1. Apply the qmail-greylist-mysql-1.patch as well as other qmail patches you
plan to use to your qmail/netqmail source.
2. Apply this patch by cd:ing into your qmail/netqmail source directory and
executing
patch -p1 < qmail-white-black-grey-rcptusers.patch
3. Compile and install qmail accoring to life with qmail,
http://www.lifewithqmail.org/
4. Edit your /etc/tcp.smtp to apply your configuration. Some examples
of possible configurations of your tcp.smtp catch-all row:
- Allow only emails to recipients present in control/rcptusers:
:allow, RCPTUSERSLIST="control/rcptusers"
- Simscan only the recipients present in control/scanusers:
:allow, SCANBLACKLIST="control/rcptusers", QMAILQUEUE="/var/qmail/bin/simscan"
- Greylist only recipients present in control/greyusers:
:allow, GREYBLACKLIST="control/rcptusers"
- Simscan all recipients -- except thoose present in control/noscanusers:
:allow, SCANALL="", SCANWHITELIST="control/noscanusers", QMAILQUEUE="/var/qmail/bin/simscan"
- Greylist all recipients -- except thoose present in control/nogreyusers:
:allow, GREYALL="", GREYWHITELIST="control/greyusers"
- Under control/domains/<domain>/scanusers you have put all users
you want to have scanned per <domain>. Enable this with:
:allow, RCPTDOMAINPREFIX="control/domains/", SCANBLACKLIST="/scanusers"
Read the patch file for full documentation.
|
| | | Support for bandwith and free software: |
|
|
|
|