Welcome to the qmail SMTP plugin patch home page.

qmail-spp provides plug-in support for the qmail SMTP daemon (qmail-smtpd). It allows you to write external programs and use them to check SMTP command argument validity. The plug-in can trigger several actions, like denying a command with an error message, logging data, adding a header and much more - see documentation for details.


Two new plugins

Wed, 12 Nov 2008 10:35:57 -0000

Thanks to Chris Caputo (ccaputo at alt.net) we have two new, great plugins: a powerful SPF implementation (at last!) and a universal, flexible filter of TCPREMOTEIP, SMTPMAILFROM and SMTPRCPTTO variables.

You may find the original Chris' submission in archives of the qmail-spp mailing list: https://sourceforge.net/mailarchive/forum.php?forum_name=qmail-spp-general

Thank you!

Limiting MAIL FROM rates

Thu, 30 Oct 2008 11:14:09 -0000

Alvaro Marin (alvaro at hostalia.com) contributed a new plugin for limiting the rate of same envelope senders, e.g. to 100 same "MAIL FROMs" per hour.

As usual, the plugin is available at qmail-spp plugin list.


New plugins: helodnscheck2 and maxrcpt

Mon, 26 May 2008 20:20:05 -0000

Ren Bing and Daniel Ortiz contributed two new plugins: helodnscheck2, which is an improved version of helodnscheck in C, and maxrcpt, which lets for setting maximum number of recipients per SMTP session. Thanks, guys!

New greylisting plugin

Tue, 20 Feb 2007 09:25:03 -0000

Manuel Mausz (manuel at mausz, dot at) has implemented a new greylisting plugin, he writes:

"It's written in C and uses MySQL as database backend. The origin database scheme was derived from greylistexim but I've made some tweaks to get more speed and support for CIDR notations. To calculate this notations at insert-level MySQL 5.0 is recommended. However I've also included support for older MySQL releases, although they will have a about 0.5 to 1 seconds speed decrease per incoming mail (on a moderate weight mail server)."

The plugin has been in production use since more than a month and you can find more information on it on our "Plugins" list.

Thanks, Manuel!

Update to ra-plugins

Tue, 30 Jan 2007 17:23:11 -0000

Roberto Alsina (ralsina at kde dot org) has been improving his plugin collection for months and decided it's time to release it for testing.

You can grab the updated code at http://code.google.com/p/ra-plugins/ to help Roberto in bug fixing before he releases the 0.2.9 version.

See more details in his mailing list post: http://sourceforge.net/mailarchive/forum.php?thread_id=31556670&forum_id=41276

Two new plugins checking vpopmail and local user existence

Thu, 18 Jan 2007 20:04:14 -0000

Werner Maier (werner, at maiers, dot de) has updated the vpopmail_check_recipient plugin and released his own versions. He writes:

"I tried to use the vpopmail_check_recipient plugin, but it had some shortcomings, it did not support ezmlm-lists, a catchall account and and some "manually" edited .qmail-files.

So I patched it, and it works great now.

Then for one of my servers I needed a version that did NOT check against vpopmail but against local users instead.

So if anyone has a qmail-installation without vpopmail but with only local users, this could be a really useful plugin for them.

You can find both here: http://www.maiers.de/qmail/ "


Godshell qmail Toaster Wiki

Wed, 17 Jan 2007 23:10:22 -0000

Jason 'XenoPhage' Frisvold (friz, at godshell, dot com) has updated his great qmail toaster site and published it as a wiki.

Apart of a guide on how to setup qmail with all goodies (along with qmail-spp, of course) you will find some more information about spam prevention and qmail in general there.

The site is available at http://toaster.godshell.com/

Contribute today! :-)

Updated plugin: helodnscheck (C version)

Wed, 17 Jan 2007 22:54:27 -0000

The helodnscheck plugin implemented in C has been fixed by Jason Frisvold. You can grab the updated version from our plugins list.

Thanks, Jason!

New plugin: vmgrucheck

Sun, 03 Dec 2006 20:11:15 -0000

Catalin Constantin (catalin, at dazoot, dot ro) writes:

"I made a small Qmail SPP plugin for VMailMgr users checking, at SMTP level.

The code is here: http://opensource.dazoot.ro/member/catalin/vmgrucheck/ "

Thank you!

New 3 plugins - authrequired, rblspp, authlogger

Sat, 07 Oct 2006 12:27:36 -0000

Tomislav Randjic (tomislavr at gmail, dot com) has written 3 great new qmail-spp plugins. He writes:

"I have another, hopefully useful, RBL plugin. This one is based on rblsmtpd code, and it is a patch to ucspi-tcp-0.88 which creates another executable 'rblspp' suitable for use as qmail-spp plugin. It behaves exactly like rblsmtpd:

rblspp: usage: rblspp [ -b | -B ] [ -c | -C ] [ -r base ] [ -a base ]

Options are the same as 'original', env var RBLSPP behaves like rblsmtps's RBLSMTPD. Like 'original', 4xx or 5xx SMTP responses are dependant on RBL listing. For usage in smtpplugins conf file, it should be executed in shell, ie:

:plugins/rblspp -r relays.ordb.org -r list.dsbl.org -r dnsbl.njabl.org -r sbl.spamhaus.org -r bl.spamcop.net

Also, on this page
there is a small howto for one solution to problem of avoiding RBL look ups for authenticated SMTP users using qmail-spp plugins.

Hope you find those useful. Everything written by me is free without any limitations or warranties, ucspi-tcp-0.88 has it's own licence."

So again we have new useful plugins and a howto. Thank you!

Copyright © 2004-2008 Paweł Foremski

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found here.