AW: Strange encoding of attachment filname

Bernd Probst b.probst at pcom.de
Thu Nov 15 16:37:21 CET 2012


Hi,

Zarafa is an Exchange replacement which is usually used in combination with postfix as MTA.
I'm using it myself. Maybe I can help by sending testmails?

MfG/Best Regards
Bernd Probst
b.probst at pcom.de

pcom - Internet Dienste e.K.
Gündenhausen 33     Tel: +49 7622 669874 
79650 Schopfheim    Fax: +49 7622 669876
info at pcom.de        http://www.pcom.de

Firmensitz: Schopfheim
Registergericht Freiburg i.Br. HRA 670396

Umsatzsteuer-Identifikationsnummer gemäß § 27 a  Umsatzsteuergesetz: DE182875525




> -----Ursprüngliche Nachricht-----
> Von: amavis-users [mailto:amavis-users-
> bounces+b.probst=pcom.de at amavis.org] Im Auftrag von Ralf Hildebrandt
> Gesendet: Donnerstag, 15. November 2012 16:03
> An: amavis-users at amavis.org
> Betreff: Re: Strange encoding of attachment filname
> 
> * Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> > Today a user reported that he received a mail without attachment.
> >
> > Turns out that there *IS* an attachment, but it's strangely named.
> >
> > Looking at the raw mail we find:
> >
> > MIME-Version: 1.0
> > Content-Type: multipart/mixed;
> >         boundary="=_v1cFiJlk+hCgpTYQg6SrNjzrUErl8abdUWfJ88KLUInW8C9C"
> >
> > ...
> > --=_v1cFiJlk+hCgpTYQg6SrNjzrUErl8abdUWfJ88KLUInW8C9C
> > Content-Type: application/pdf; name*0*=
> >         "iso-8859-
> 1"%41%6E%66%6F%72%64%65%72%75%6E%67%65%6E%5F%53%7A%31%5F
> %53";
> >         name*1*="%7A%32%2E%70%64%66"
> > Content-Transfer-Encoding: base64
> > Content-Disposition: attachment;
> > 	filename*0*="iso-8859-
> 1"%41%6E%66%6F%72%64%65%72%75%6E%67%65%6E%5F%53%7A%31";
> > 	filename*1*="%5F%53%7A%32%2E%70%64%66"
> >
> >
> JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PAovUHJvZHVjZXIgKFBERi1YQ2hhbmdl
> IDMuNj
> > Au
> > ...
> >
> > If we interpret the numbers as HTML entitities, we get:
> > Anforderungen_Sz1_Sz2.pdf
> > which looks fairly normal.
> >
> > Is this encoding ok? I know it's OK to encode special characters like
> > Umlaut characters. But all of it?
> >
> > Also I have never seen this "line continuation" of the filename/name
> > field. Is that legit?
> >
> > I've never seen this stuff before...
> 
> It's ZARAFA 7.0.9
> X-Mailer: Zarafa 7.0.9-36358
> 
> --
> Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
> ralf.hildebrandt at charite.de        Campus Benjamin Franklin
> http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
> Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155



More information about the amavis-users mailing list