On Mon, 2004-10-18 at 22:20, David F. Skoll wrote:
> On Mon, 18 Oct 2004, Michael Lang wrote:
>
> > As this method isnt nice to support, weÃÂd like to request a "include"
> > Module Feature for MIMEDefang as show in the Patch below.
>
> It's not necessary to put that in mimedefang.pl, is it? You can just
> do it from your filter.
yes sorry, youÂre right. I tryed some include in earlyer versions (!
2.45), and didnt get it working. IÂve just moved the code from the
mimdefang.pl to the filter file and it worked.
>
> > +# Include 3Party Modules
> > +opendir(DIR, '/etc/mimedefang/modules/') ||
> > + die "Couldnt read Modules Include Dir /etc/mimedefang/modules/\n";
> > +
> > +my @files = sort (grep {/\.pm$/} (readdir(DIR)));
> > +closedir(DIR);
> > +foreach my $f (@files) {
> > + require "/etc/mimedefang/modules/$f";
> > +}
> > +
>
> Regards,
thanks for your reply
Kind Regards
Michael Lang
>
> David.
>
> _______________________________________________
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> [EMAIL PROTECTED]
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
--
Michael Lang <[EMAIL PROTECTED]>
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang