On 09/25/2013 04:19 PM, Pavlo Lavrenenko wrote: > Hello Paul. > > I am probably missing something vital. So according to e0a92b2d commit > message: recursion-depth is limited to 64. Indeed in _mime_retreive() > blist array is now statically allocated for 64 elements but according to > http://www.dbmail.org/mantis/view.php?id=979 its possible to select more > than 64 mimeparts records for a single message (its pretty a corner-case).
There is a very big difference between the number of attachments and the recursions depth of attachments. The number of attachments is and always has been unlimited. Are you telling me that you see recursion depth > 64 in the wild? It's theoretically possible of course, but do such messages actually occur? Keep in mind that many virus/spam scanners don't like very deep mime-structures. If anyone is stuffing attachments inside attachments, inside attachments, etc to a depth of over 64, I'd like to see it. And no, I don't give a f*ck about mail-loops that include the original message as an attachment. Of course my ideas don't rule here. Feel free to compile with with another recursion depth limit -DMAX_MIME_DEPTH=1024 -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/i...@nfg.nl/+31.85.877.99.97 ________________________________________________________________ _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev