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.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to