On 05/01/2013 08:40 PM, Michael Monnerie wrote:
> Am 01.05.2013 14:49, schrieb Paul J Stevens:
>> On 05/01/2013 01:43 PM, Michael Monnerie wrote:
>>
>>> Sorry for the long delay, I had to wait to get a customer report, now I
>>> have it. This time, the mail has an attachment, which show correctly in
>>> squirrelmail, but in Apple Mail, the user sees the attachment as
>>> characters, like this:
>> I don't understand. Did the customer forward the 'broken' message as an
>> attachment? If so, that doesn't help.
> No, I directly logged in to their webmail, moved that message to a test
> folder, and did what you wanted.
Ok, great. From your debug message I gather that there maybe something
wrong with the bodystructure then. I don't know how Apple Mail
constructs the preview pane of a message, but generally the
bodystructure is used to find which parts are to be displayed inline and
which are attachments.
>> Also, I don't see how incorrect displaying of the email address relates
>> to the behavior you describe: incorrect display of an attachment.
The envelope is used to construct the sender, recipient, subject, etc as
used in the list pane. Since the original report mentioned the list pane
IIRC, I asked for the envelope.
>
> Both errors only appear since we changed the mailserver from cyrus to
> dbmail. Before that, there have been no such problems, and the former
> server was in production for 5+ years. So at least there's some ...
> incompatibility between Apple Mail and dbmail 3.0.2, but it happens
> rather seldom. They are about 35 heavy mail users, and only sometimes is
> a mail damaged. Customer has a 2nd PC at home (also Mac), and he said it
> happens he can't read a mail at home but it works in the office... and
> that's puzzling.
Agreed.
Looking at the attachment's headers:
> --=_WtFvmGI2rTzutjLsHAtaeo9sz4Tyl3bIP+ma6GbtGdrwCgva
> Content-Type: application/pdf; name
13_606.pdf;name*=iso-8859-1''%32%30%31%33%5F%36%30%36%2E%70%64%66
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename 13_606.pdf;
> filename*=iso-8859-1''%32%30%31%33%5F%36%30%36%2E%70%64%66
there might be a problem with the Content-Type and Content-Disposition's
display in a BODYSTRUCTURE response. The double-single-quotes and
asterisk might mess up quoting.
So to expand the test commands:
nc imapserver imapserver
x login username password
x select test
x fetch * envelope
x fetch * bodystructure
x fetch * rfc822.header
x logout
where in this case I'm particularly interested in the bodystructure
response.
Also please include the gmime version you use since there have been some
fixes in this area that may be relevant or helpful.
> I'm sorry for the formatting - Thunderbird is new to me.
You can cat the output to a txt attachment. Always works.
--
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin
* Premium Hosting Services and Web Application Consultancy *
www.nfg.nl/[email protected]/+31.85.877.99.97
________________________________________________________________
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail