[Mimedefang] Adding filter_helo support
David F. Skoll
dfs at roaringpenguin.com
Tue Jan 17 08:13:13 EST 2006
Philip Prindeville wrote:
> Hmmm... I'm looking at MXRelayOK, MXSenderOK, MXRecipientOK, etc.
> and wondering about why there's duplication of both passing the same
> arguments again (ip, name, helo, etc)... As well as duplicating the
> validation logic for arguments...
Because the filter_relay, filter_sender and filter_recipient functions
might happen in different Perl slaves, so you can't (easily) store
state in your Perl filter. It's easy to store the state in C and just
pass it in again each time.
--
David.
More information about the MIMEDefang
mailing list