Greylite
Details
| Last Update: | 2008-02-05 11:01:06 |
| Version: | 2.2 |
| License/Program Type: | BSD License |
| Publisher: | Mij |
| Price: | $0.00 |
Description:
Greylite is a greylisting solution for qmail. Greylite may be
preferred to other greylisting solutions because:
it does not require patching qmail, it is simply plugged in the
top of the qmail chain; thus is works smoothly with already-patched
installations
it does not depend on bigger RDBMSs like PostgreSQL or MySQL,
it is self-contained because it uses sqlite
Greylite is easy to setup and maintain, and it is small and
fast.
Installation:
1. fetch the latest greylite package
2. decompress it and get into its top dir
3. compile and install the software:
cc -O2 -lsqlite3 -o greylite greylite.c
install -s greylite /usr/local/bin/
4. prepare the greylite.db file:
sqlite3 -init greydb.sql /var/db/greylite.db
(then exit from the sqlite console with .quit or Ctrl-D).
Well, any path and filename is ok, see controls below.
5. set it up into the qmail chain: edit the qmail-smtp run
file, and change it from (example block taken from
lifewithqmail.org)
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
/etc/tcp.smtp.cdb -c "$MAXSMTPD"
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/var/qmail/bin/qmail-smtpd 2>&1
to
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x
/etc/tcp.smtp.cdb -c "$MAXSMTPD"
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/usr/local/bin/greylite /var/qmail/bin/qmail-smtpd 2>&1
6. be sure to enable greylisting from your .cdb file: change
tcp.smtp from (example crafted manually)
friends
192.168.0.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
10.0.0.5:allow,RELAYCLIENT=""
bad guys
:allow
to
friends
192.168.0.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
10.0.0.5:allow,RELAYCLIENT=""
bad guys
:allow,GREYLIST=""
then recompile it with make (or alternatively tcprules
tcp.smtp.cdb footmpcdbfile < tcp.smtp)
This makes it. You might be interested in some practical
matters for effectively using greylisting.
Notes:
- if cc fails for some reason, be sure to have sqlite3
installed and reachable from the compiler path; possibly help the
compiler with -I/headers/path and -L/libraries/path (for example
-I/opt/local/include and -L/opt/local/lib).
- if you have more complicated command lines, for example with
rbl modules before qmail-smtpd or authentication modules after it,
just put greylite right before qmail-smtpd
Controls
Greylist can be controlled with the following environment
variables:
1. GREYLIST &8212; if set (even empty), it makes greylite
apply greylisting. Otherwise, greylite simply passes contro to
qmail-smtpd transparently. This is meant to be set in the cdb file
controlling tcpserver
2. DBFILE &8212; if set, it tells greylite where to look for
the greylist database. Otherwise, greylite will look for
/var/db/greylite.db. This is meant to be set in the cdb file
controlling tcpserver, or manually from the ucspi command line with
the env tool (tcpserver ... env DBFILE="/var/myfile.db"
/usr/local/bin/greylite ...).
3. LOGTHRESHOLD &8212; if set between 0 (high) and 7 (low), it
is the threshold of log messages: log messages with priority values
exceeding this value are discarded. Otherwise, this level defaults
to 3 (LOG_ERR).
What's New in This Release:
· The "354 go ahead (in reply to RCPT TO command)" bug
was fixed when responding to non-suspicious clients at the second
delivery attempt.
0 comments
Add to
Greylite Version History
Related Software
|
|
From category: Chat |
| Blootbot 1.2.0 is chat software developed by Tim Riker. This bot is based upon infobot-0.44.2 by kevin lenzo. The basis of infobot is still there but _many_ wild features have been added. Along the... |
|
|
From category: Conferencing |
| Pentabarf is a conference planning software written in Ruby ( using the Rails framework) and PL/pgSQL.... |
|
|
From category: Email |
| getmail is a mail retriever designed to allow you to get your mail from one or more mail accounts on various mail servers.... |
|
|
From category: Email-Filters |
| Attachment Ripper and Displacement System 1.48 is email filters software developed by Jens Laas. Attachment Ripper and Displacement System (aradis) is a filter that removes attachments from email.\... |
|
|
From category: Telephony |
| VoiceOne project is an easy to use web based GUI for the Asterisk PBX.... |
|
|
From category: Email |
| AqMail 0.9.1 Beta is email software developed by Martin Preuss. AqMail fetches mails from remote mailboxes (POP3), applies admin-defined filters, and stores the email in local mailboxes for POP3 da... |
|
|
From category: Filesharing |
| FreeCast 20060629 is filesharing software developed by Alban Peignier. FreeCast is a Java application which allows peer-to-peer streaming. FreeCast makes possible a stream broadcast to a large numb... |
|
|
From category: Chat |
| EB-lite alpha 13 is chat software developed by Meredydd Luff. EB-lite is the name of the rewrite that is being developed of the instant messaging client Everybuddy. EB-lite carries many major advan... |
|
|
From category: Email |
| Cgmail is a fresh and shiny gmail checker and notifier that integrate well into gnome desktop.... |
|
|
From category: Email |
| Courier 0.53.2 is email software developed by Sam Varshavchik. Courier mail transfer agent (MTA) is an integrated mail/groupware server based on open commodity protocols, such as ESMTP, IMAP, POP3,... |
|
|
From category: Chat |
| Eicq 0.8 is chat software developed by Eicq Team. Eicq is an ICQ client written in Emacs Lisp. It runs in SXEmacs & XEmacs. Eicq will not run in GNU/Emacs and we have no immediate plans for... |
|
|
From category: Chat |
| bobot++ 2.2.2 is chat software developed by Clinton Ebadi. Bobot++ project is the C++ version of the IRC bot bobot written by Etienne Bernard and Bartman. Here are some key features of \"bob... |
|
|
From category: Chat |
| Potscript is an Xchat script that searches milw0rm and reads RSS feeds.... |
|
|
From category: Filesharing |
| Chungles 0.3 is filesharing software developed by Alex Nagelberg. Chungles is a file-sharing program for local networks that runs on any platform. More, it\'s a file-sharing program that uti... |
|
|
From category: Email |
| archivemail 0.7.0 is email software developed by Paul Rodger. archivemail is a tool written in Python for archiving and compressing old email in mailboxes. archivemail can move messages older than... |
Leave a comment