Just got this crash today - happening everytime a particular email is 
attempted to be delivered

Oct-9-08 09:19:12 id-40352-06985 Regex:Contentonly '@thisdomain.com'
main exception: Unmatched ) in regex; marked by <-- HERE in m/Received:
from (.{1,50}) \(\[?90.177.102.67) <-- HERE  by mail100/ at
/var/opt/assp/bin/assp.pl line 5810.

Looks like something specific to a particular email.  The code would 
suggest that part of the header ($this->{cip}) contains a regexp special 
character and when it is added to the regexp makes the regexp invalid.

I'm guessing the header is invalid but assume that $this->{cip} should 
be escaped before insertion into a regexp to be safe ?

while ( $this->{header} =~ /Received: from (.{1,50}) 
\(\[?$this->{cip}/gis ) {

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to