[Mimedefang] name file lenght

Marco Berizzi pupilla at hotmail.com
Sat May 25 07:25:13 EDT 2002


I'm reposting with a more detailed report.

I'm using MD 2.6 with sendmail 8.12.3
My filter allow .ppt. This is the relevant section of the
filter.

  if
(re_match_ext($entity,'^\.(mpp|pcx|pps|xls|rtf|doc|ppt|zip|gz|tgz|Z|rar|
arj)$')){
return action_accept();
    }

All other thing is reject (I bounce the entire message).

I have an attachment named "marchio società del gruppo AIVE.ppt" and MD
is rejecting this because I suppose it doesn't understand that is a "dot
ppt". My MUA is outlook 98/2000SR1.
I have taken a look a the source of the message and I have found the
following:

This is KO. MD rejects the the message:

------_=_NextPart_000_01C203BD.35AFEA7E
Content-Type: application/vnd.ms-powerpoint;
 name="=?iso-8859-1?Q?marchio_societ=E0_del_gruppo_AIVE=2Epp?=
 =?iso-8859-1?Q?t?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="=?iso-8859-1?Q?marchio_societ=E0_del_gruppo_AIVE=2E?=
 =?iso-8859-1?Q?ppt?="

This is OK. MD accept the message. In this situation I have renamed the
file from: "marchio società del gruppo AIVE.ppt" to "marchio società del
gruppo  AIVE.ppt" (two space between "gruppo" and "AIVE").

------_=_NextPart_000_01C203BC.B54B87DA
Content-Type: application/vnd.ms-powerpoint;
 name="=?iso-8859-1?Q?marchio_societ=E0_del_gruppo__AIVE=2Ep?=
 =?iso-8859-1?Q?pt?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="=?iso-8859-1?Q?marchio_societ=E0_del_gruppo__AIVE?=
 =?iso-8859-1?Q?=2Eppt?="

Last is OK. MD accept the message. In this situation I have renamed the
file from: "marchio società del gruppo AIVE.ppt" to "marchio società del
gruppoAIVE.ppt" (no space between "gruppo" and "AIVE").

------_=_NextPart_000_01C203BD.B12C6858
Content-Type: application/vnd.ms-powerpoint;
 name="=?iso-8859-1?Q?marchio_societ=E0_del_gruppoAIVE=2Eppt?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="=?iso-8859-1?Q?marchio_societ=E0_del_gruppoAIVE=2E?=
 =?iso-8859-1?Q?ppt?="

What should I do to correct this strange behaviour?
TIA.



More information about the MIMEDefang mailing list