Greylite is a Qmail-compatible greylisting tool designed to reduce spam by temporarily refusing incoming messages from unknown senders.
To install Greylite, follow these five straightforward steps. First, fetch the latest Greylite package. Second, decompress the package and navigate to its top directory. Third, compile and install the software. Fourth, prepare the greylite.db file. Finally, edit the qmail-smtp run file and set up Greylite into the qmail chain. That's it! You are ready to use Greylite to its full potential.
There are a few things you may find useful when working with Greylite. For instance, if cc fails for some reason, be sure to have SQLite3 installed and reachable from the compiler path. Additionally, if you have other complicated command lines, for example, with rbl modules before or authentication modules after qmail-smtpd, always put Greylite right before qmail-smtpd.
Greylite comes with several environment variables that you can use to control its performance fully. For instance, the GREYLIST variable tells Greylite to apply greylisting when set. However, GREYLIST simply passes control to qmail-smtpd transparently when not set. The DBFILE variable tells Greylite where to look for the greylist database, but it defaults to /var/db/greylite.db when not set. Finally, the LOGTHRESHOLD variable is a significant feature that sets the threshold of log messages when set between 0 (high) and 7 (low).
Greylite recently released a stable version 2.3 with stricter control on command compliance from clients, raised SQLite tryout and lowered the log priority for useless DB lock messages. The development version, Greylite 3.0 Pre 2, comes with a load balancing feature that allows one greylite instance to filter junk mail for several MDAs. Additionally, new man pages for modules have been added to provide more user-friendly assistance.
In summary, Greylite is an outstanding greylisting solution for qmail that offers a wide range of benefits to its users. It is easy to use, does not require patching, self-contained, and has an uncomplicated setup process. With full control using environment variables and a new load balancing feature, Greylite is the go-to solution for filtering junk mail.
Version 2.3 / 3.0 Pre 2: N/A