Hi,
i have a php script that is sending mails using groupwise. To do this i
entered our GW-server as relayhost in my postfix/main.cf.
The mail is build comletely by my script, not using any mail class or
anything. This script worked without problems. But lately I had problems
with the attachments names in my mails (sent with this script):
GW-Client did no longer show the attachment names but only part.000,
part.001 and so on.
After searching and trying around for a while, i found the error today:
when adding an attachment to the mail (mutlipart/mixed), i add a new
header with the content-type, the transfer encoding and the content
disposition.
Following RFC 2183 (
http://www.faqs.org/rfcs/rfc2183), 2.3, the filename
parameter is added to the content-disposition header
Content-Disposition: attachment; filename=genome.jpeg;