Skip to content
Greylisting filter für Courier MTA.
C++ C M4 Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ac-helpers Moved couriergrey from internal repository to public one. Oct 27, 2011
m4 Moved couriergrey from internal repository to public one. Oct 27, 2011
man Fixing small problem in man page generation. Jan 26, 2012
po Moved couriergrey from internal repository to public one. Oct 27, 2011
AUTHORS Moved couriergrey from internal repository to public one. Oct 27, 2011
ChangeLog Adding entries to ChangeLog and NEWS. Apr 10, 2012
Makefile.am Extended README and converted to markdown. Sep 8, 2019
NEWS
README Extended README and converted to markdown. Sep 8, 2019
README.md Extended README and converted to markdown. Sep 8, 2019
TODO Updated TODO. Jan 30, 2012
bootstrap Moved couriergrey from internal repository to public one. Oct 27, 2011
configure.ac Catch exception when creating thread. Flag accepted messages in datab… Apr 10, 2012
couriergrey.cc Catch exception when creating thread. Flag accepted messages in datab… Apr 10, 2012
couriergrey.h Updated license header. Jan 30, 2012
database.cc
database.h
gettext.h Moved couriergrey from internal repository to public one. Oct 27, 2011
license-header.txt
mail_processor.cc Updated license header. Jan 30, 2012
mail_processor.h Updated license header. Jan 30, 2012
message_processor.cc Updated license header. Jan 30, 2012
message_processor.h Updated license header. Jan 30, 2012
timestore.cc Updated license header. Jan 30, 2012
timestore.h
whitelist.cc Updated license header. Jan 30, 2012
whitelist.h Updated license header. Jan 30, 2012
whitelist_ip.dist Moved couriergrey from internal repository to public one. Oct 27, 2011

README.md

couriergrey

Couriergrey is a C++ implementation for greylisting for the Courier mail server.

Distribution archive can be downloaded from here.

The repository of couriergrey is now hosted on GitHub.

Pros for couriergrey

  • Fast and memory saving implementation in C/C++ compiled to native code.
  • Easy to install, no scripting environment required.
  • Support for IPv6.

News

Version 0.3.2 (2012-04-10)

Support for gcc 4.7. Better error handling when new threads cannot be created. Update in the database dump output.

Version 0.3.1 (2012-01-16)

Support for expiring old entries in the greylisting database. Please read below for information on how this should be set up on your system.

Expiring the database

You should create a cron job that expires your database from time to time.

This cron job should call couriergrey with the arguments -e 365 to expire entries, that are older than one year. Make sure that couriergrey is run as the user, that normally accesses the database. E.g. on a standard Debian system this is the user 'daemon'.

On a Debian system, create the file /etc/cron.weekly/couriergrey with the following content:

#! /bin/bash

su -c "/usr/bin/couriergrey -e 365" daemon
You can’t perform that action at this time.