SOGo - BTS - SOGo
View Issue Details
0003991SOGoWeb Mailpublic2017-01-12 08:052018-03-13 16:45
dani 
ludovic 
normalminoralways
resolvedfixed 
[Server] LinuxRHEL/CentOS7
3.2.5 
 
0003991: Inline images can create too long lines
When we crreate an HTML signature which contains an inline image, like:

src="data:image/png;base64,iVBORw0KGgoAAAANSUhEU..."

SOGo treats it like inline: in the final email, it generates a CID, and adds an attachment with the inline disposition. But, the content of the attachment is added as is, without being split. The result can be a very long line, > 998 chars which is the limit (rfc2822 section 3.5 Overall message syntax). This will be rejected by some servers.

SOGo should split those inline attachments at 78 chars automatically
Create a signature with as inline image, without carriage returns
We can manually split the base64 data in the signature, and everything will work as expected. But as the signature can be changed by the user, we can't expect it to be always correct
No tags attached.
Issue History
2017-01-12 08:05daniNew Issue
2018-03-13 16:45ludovicNote Added: 0012688
2018-03-13 16:45ludovicStatusnew => resolved
2018-03-13 16:45ludovicResolutionopen => fixed
2018-03-13 16:45ludovicAssigned To => ludovic

Notes
(0012688)
ludovic   
2018-03-13 16:45   
That has been fixed a little while ago.