I'm desperately trying to avoid adding yet another external database [eg
store $Sender keyed by $MessageID in filter_sender(), and retrieve from
filter_end(), or something like that].
Have I missed a trick here?
Yes, I think you have.
$Sender is a global variable and if you look WAY at the top of the man
section, you'll note:
GLOBAL VARIABLES SET BY MIMEDEFANG.PL
The following global variables are set by mimedefang.pl and
are available for use in your filter. *All of these variables are always
available to filter_begin, filter, filter_multipart and filter_end.* In
addition, some of them are available in filter_relay,
filter_sender or filter_recipient. If this is the case, it will be
noted below.
David, it might help to clarify this better on each global variable
definition even if it means regurgitating the information. I've often
forgotten which variables are where and had to remember that sentence.
Something like:
$Sender
The sender of the e-mail. This variable is available in
filter_begin, filter, filter_multipart and filter_end as well as
filter_sender and filter_recipient.
Regards,
KAM
_______________________________________________
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 [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang