On 2014-01-10 11:38, Paul J Stevens wrote:
On 10-01-14 10:17, Peter Milesson wrote:
Hi folks,
I've previously used DBMail 3.0.2 together with Postfix in several
installations, most of them with only minor problems.
Since upgrading or making new installations with DBMail 3.1.8, I've
noticed that message text quite frequently disappears (1 in 10 or so)
messages. Most notably messages sent by iPhones did not display any text
as a rule. However, I updated to 3.1.9, which did not help, and
yesterday I installed Paul's fix from 8 Jan. That fix made the messages
sent by iPhones appear.
Well, that explains it then. Those messages apparently contain a broken
envelope header. If the first line of the first blob starts with a
space, the fix from 8 jan will work around that. Now where those broken
envelope headers were coming from I don't know. Maybe (probably) it was
dbmail-2 or dbmail-3.0, but it may also have been the MTA.
There is another category of messages that definitely contain text, but
nothing is displayed. For example below is a snip from a message, that I
received this morning.
What shows up is the text "No virus found bla bla bla", but the message
text below "Hey you guys!" is just non existent (and there is a long
conversation thread below).
If somebody has got a clue how to fix this, I would be very grateful.
Hard to tell from just one truncated example.
Apparently your client prefers to show the plain-text version over the
html-version. Which is valid since multipart/alternative mime-parts are
supposed to contain different renderings of the same content.
Find out who is responsible for inserting those anti-virus 'footers'.
They need to fix their code. I suspect the original message was
text/html only, and the scanner wants to append a 'No virus found...'
footer, but does so incorrectly. Either that, or the original message
was broken to begin with having an empty text/plain part.
You could try to contact the original sender, and compare the original
messsage with the received message.
If the original message is also multipart/alternative see if the
text/plain part contains data. If it doesn't the sender's client is
broken. If it does and the received message doesn't the virus-scanner is
broken.
If the original message wasn't multipart/alternative, the virus scanner
is also broken.
Hi Paul,
No, it's most probably not the client. The same both with Thunderbird
under Windows, and K-9 mail on Android. In K-9 Mail, there is no
antivirus adding headers. In K-9 Mail NIL is displayed, instead of the
message text. There were no problems of this kind under DBMail 3.0.2.
I'm going to back down to DBMail 3.0.2 on one of the servers, while
keeping the latest Postfix, just to try to reduce the number of error
sources.
Thanks for your work,
Peter
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail