[Mimedefang] Feature Request

David F. Skoll dfs at roaringpenguin.com
Mon Oct 18 16:20:09 EDT 2004


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.

> +# 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,

David.




More information about the MIMEDefang mailing list