[Mimedefang] Globals

alan premselaar alien at 12inch.com
Tue Jul 13 20:13:04 EDT 2004



Rich West wrote:
> Thanks to all of those that responded.
> 
> Based upon all of the ideas, I came up with the following code to do the 
> trick.
> 
> -Rich
> 
> 
> sub filter_begin () {
> ...
>    %lists = &get_lists();

...snip...

>   open (LISTS, "/var/mailman/bin/list_lists -b|")
>     or die "Could not execute '/var/mailman/bin/list_lists -b'.\n";

my only suggestion is that you do not call die in your filter. it could 
cause strange things to happen.  you're better off returning a null hash 
if the open fails.

alan



More information about the MIMEDefang mailing list