[Mimedefang] Code fragment works only sometimes

Andrea Venturoli ml.ventu at flashnet.it
Tue Jul 15 05:11:01 EDT 2003


** Reply to note from Jeffrey Culverhouse <jafoc at rev.net> Mon, 14 Jul 2003 16:35:56 -0400


>You could try (I think), for the loop
>
>         foreach $line (@lines)
>         {
>             if (grep ($_ =~ $line, @blk))
>             {
>                   md_log($line);
>                   return action_bounce("Spam is not accepted");
>             }
>         }


Tried, it gives the following error message:

nested *?+ in regexp at /usr/local/etc/mimedefang/mimedefang-filter line 192.


Line 192 is the one with grep.

 bye & Thanks
        av.






More information about the MIMEDefang mailing list