On Wed, Apr 25, 2007 at 06:13:41AM +0800, Jeremy A wrote:
> # Advertisement to insert in each mail header:
> header_info = X-Sanitizer: Advosys mail filter
I'd change this, and put in an own id
> file_list_1 += |mim|uue|uu|b64|bhx|hqx|xxe))\s*
I'd rather have '$' instead of '\s*' - that RE is supposed to catch filename
*ending* with (...)
> file_list_2 += |[ch](pp|\+\+)?|s|inc|asm|patch|java|php\d?|jsp|bas)
same here, add '$'
but, I've used this config as posted, made a msg with jpeg attachment,
glued in your very MIME header you posted earlier, and the filterd msg
coming off sanitizer is *not* mangled:
!--MIMEStream=_0+254859_1299451191057_63111789172
!Content-Type: application/applefile; name="Odyssey_OurPeopleAdd.jpg"
!Content-Transfer-Encoding: base64
!Content-Disposition: attachment; filename="Odyssey_OurPeopleAdd.jpg"
So, either this wasn't your config or there's something special with that
msg or somewhere else in your delivery chain.
-- paolo