Mark Constable writes:

The issue of how to rate limit outgoing mail is still bugging us here
and it looks like I have no choice (short of using postfix) but to dig
in to the courier filter system and come up with some kind of solution.

However, I had hoped to leave perl in the 20th century and don't even
have python (and sometimes perl) installed on most of the servers I
manage but I am prepared to deal with LUA as a replacement for all
server side scripting (even PHP, with nginx, and bash, maybe).

I am wondering if anyone here has done anything at all with LUA and
courier and/or would like to cooperate in some kind of LUA based
courierfilter module on Github?

It's going to be a long, long time, if ever, before Lua could even hope to achieve Perl's or Python's mindshare. Perl has gone a long way in the last ten years. About a million lines of Perl code are now paying my bills these days. Perl's competitors have a long way to go, to catch up. Besides, I thought that Ruby was going to be the next hot thing out there?

A basic rate-limiting filter should not have been such a big deal to write, by someone who needed one. It's somewhat disappointing that there hasn't been anyone to date who bothered to hack one up, leaving it up to me to pick up the ball here.

True, a few minor changes to the non-filtering code was needed, in order to get some additional data into the control files, to implement rate filtering, but someone could've simply asked for a hand, in that. The courier-0.73.1.20140224.tar.bz2 tarball I just put up on http://www.courier- mta.org/download.html contains a basic rate limiting module, perlfilter- ratelimit.pl that seems to work, based on a few tests. Just realized that, by default the IPv6 loopback address needs to be excluded, together with 127.0.0.1 – I'll fix it later, along with a few more tweaks.

Just a reminder that this one, and going forward, requires the courier- unicode package to be installed first.

Attachment: pgpCGncyAdzNS.pgp
Description: PGP signature

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to