Difference between revisions of "Qpsmtpd:noop counter"
From SME Server
Jump to navigationJump to search (Created page with "<span id="_top">Qpsmtpd#Plugins</span> = NAME = noop_counter - disconnect after too many consecutive NOOPs, example plugin for the hook_noop() = #___top|DE...") |
(No difference)
|
Latest revision as of 20:27, 13 April 2019
NAME
noop_counter - disconnect after too many consecutive NOOPs, example plugin for the hook_noop()
DESCRIPTION
The noop_counter counts the number of consecutive NOOP commands given by a client and disconnects after a given number.
Any other command than a NOOP resets the counter.
One argument may be given: the number of NOOPs after which the client will be disconnected.
NOTE
This plugin should be loaded early to be able to reset the counter on any other command.