I'm trying to write a plugin that uses hook_helo_parse but am not having
any success. Some debugging shows my function gets called, it returns a
CODE ref, but the ref'd sub never gets called here's a simple example:
sub hook_helo_parse {
my $self = shift;
my $ref = \parser;
This seems like rather an obvious idea: Reject new
connections if the system load is too high. But surprisingly
there seem to be no plugins which I could find implementing it.
So here's mine:
http://mail-scanning.com/qpsmtpd/system-load
This reads /etc/qpsmtpd/max_system_load,
On 3/7/08 3:39 PM, Steve Kemp [EMAIL PROTECTED] wrote:
This seems like rather an obvious idea: Reject new
connections if the system load is too high. But surprisingly
there seem to be no plugins which I could find implementing it.
I had posted this one to the list back a couple years
Note - you'd be better off using Linux::SysInfo (on Linux, obviously)
to save the backtick call.
On 7-Mar-08, at 4:39 PM, Steve Kemp wrote:
This seems like rather an obvious idea: Reject new
connections if the system load is too high. But surprisingly
there seem to be no plugins which
On Fri Mar 07, 2008 at 17:48:22 -0500, Matt Sergeant wrote:
Note - you'd be better off using Linux::SysInfo (on Linux, obviously) to
save the backtick call.
Noted. I'll update the code to use that where possible. (Right now
I figured portability would be a good thing - although I realise