[Mimedefang] Feature Request

Michael Lang michi+mimedefang at relay3.jackal-net.at
Tue Oct 19 02:50:26 EDT 2004


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
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
-- 
Michael Lang <michi+mimedefang at relay3.jackal-net.at>




More information about the MIMEDefang mailing list