Hi Fred,

Looks like there was no response to this so I will give it a try.  My guess
is that longer rules consume more memory but are more efficient in terms of
time and processing.  This is more of a guess on my part but I believe it is
correct.  Maybe someone can add better detail.

--Larry

> -----Original Message-----
> From: Fred I-IS.COM
> Sent: Monday, October 13, 2003 4:00 PM
> To: Spamassassin-Talk (E-mail)
> Subject: [SAtalk] RD - Large complex rules vs. many small simple rules
> 
> 
> Being fairly new to perl, I'm looking for advice.
> 
> I've created a rule to blacklist certian domains which we do 
> not accept e-mail from.  The rule searches for the domain 
> name to appear anywhere in the message body.
> 
> Is it more effecient to use a large complex rule like:
> (domain1\.com|domain2\.com|domain3\.com|domain4\.com)
> Or should I break each domain into a seperate rule.
> 
> TIA
> 
> Frederic Tarasevicius
> Internet Information Services, Inc.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to