Strange encoding of attachment filname

Ralf Hildebrandt Ralf.Hildebrandt at
Thu Nov 15 15:30:59 CET 2012

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;

Content-Type: application/pdf; name*0*=
Content-Transfer-Encoding: base64
Content-Disposition: attachment;

If we interpret the numbers as HTML entitities, we get:
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...

Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at        Campus Benjamin Franklin              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155

More information about the amavis-users mailing list