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
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to