Hello,
first I'm not suscriber of this list, can you CC reply to me ...
I wanted to stop any JPEG's in my incomings mails. So I put :
$bypass_decode_parts = 0;
$banned_filename_re = new_RE(
qr'.\.(jpg|jpeg)$'ix,
qr'^image/'i);
Just fine when amavis stop it.
I was happy so I decided to stop all mails with a MIME-type that is not
known :
qr'^application/octet-stream$'i,
I tried and obtained that I want.
Right, *but* sometime jpeg's attachements with another extension pass
and some well known types like sxw's OOo don't pass.
This behaviour seems to come from the non-use of file and the second
behaviour arise only with a MUA, OutLook, that don't put the right MIME
type on the mail.
It leave me a bit confused about the recognition of MIME type by amavis.
Is there a option I missed about the use of file ?
Thanks for any enlightment.
--
David Dumortier
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/