procmail
[Top] [All Lists]

Re: Getting partial matches from a string without forking an outside process

2005-01-09 11:35:06
On Sun, Jan 09, 2005 at 03:42:04PM +0100, Robert Allerstorfer wrote:
"Keep things simple." Yes, this is known to me ;-)

In your anti-virus recipe, you are loading the entire procmail code
into memory, even if parts of them will never be used. This is a
"simple" solution, of course, but, IMO, not a "smart" one. This
practise also prevents you to be able re-using parts of your code
(which I call "sub routines").

I remember you told me somethig like it is your goal to have a
one-file-for-all solution when I asked you why you don't split your
code, some times back. As you can see now, outsourcing some code into
separate include files is not only a matter of taste, but essentially
for some advanced operations. 

You are talking about Virus Snaggers(tm) Version 1 from a year ago.
We are now at Ver. 2.23 (2.22a is released, and 2.23 has been ready
for release except for writing some documentation for it, for three
weeks now).

When I made that statement a year ago, Vurus Snaggers was only
blocking nasty executables, not zip files and so on that came into
existence as threats starting only then.

Still, I don't use any recursion in Virus Snaggers.

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail