@piran
firewall custom templates is not a good way to manage the multiple
NLMTA (non-legitimate Mail transfer agents) connections in most scenarios.
The masq restart requires shutting down the network momentarily
to restart it. I have an asterisk PBX behind the SME box, restarting the firewall
makes for a noticeable glitch in phone calls.
I would prefer a simple local cache, as is already done in the denysoft_greylist plugin.
The latter plugin could be easily adapted to address this issue.
Anthony