Toen ik Don Hammond kietelde, kwam er dit uit:
If none of these things help, you might consider breaking the external
files that grep uses into smaller pieces.
Or create includerc-files from the user's green-list.
Maybe even split on the first letter of the domain-name:
Domn_Init="!"
:0
* ^^From \/[^ ]+
{
From_Addr = $MATCH
:0
* From_Addr ?? @.*\/[^.]+\.[^.]+^
{ From_Domn = $MATCH }
:0
* From_Domn ?? ^\/[a-z]
{ Domn_Init = $MATCH" }
}
From_Stat = "Red"
INCLUDERC = "greenlist-$Domn_Init.rc" # updates From_Stat
:0
* From_Stat ?? ^Red^
{ etc. }
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail