Re: [AMaViS-user] amavis child dies when received: from is _long_

This is a discussion on Re: [AMaViS-user] amavis child dies when received: from is _long_ within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Toni, > we've got the problem that sometimes amavis-nanny reports that > a child went away. ... > after ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2005
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] amavis child dies when received: from is _long_

Toni,

> we've got the problem that sometimes amavis-nanny reports that
> a child went away. ...
> after a longer debugging session i found out that the child dies
> only if a certain kind of message is received. the messages can be
> downloaded from http://stderror.at/amavis/email.txt . as you can
> see the "received: from" line is malicious.


I've seen such messages as well.

The problem is in the way Perl recursively evaluates certain regular
expressions. Please apply the following workaround:

--- amavisd~ Fri Mar 4 16:08:06 2005
+++ amavisd Fri Mar 4 16:08:14 2005
@@ -1857,3 +1857,3 @@
| \[ (?: \\. | [^\]\\] )* \]
- | \\. | .
+ | \\. | [0-9a-z]+ | . # greedy words avoid deep recursion
)+? (?= \(|;|\z|\b(?:from|by|via|with|id|for)\b ) )
-----------

Mark


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:20 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0