On Thu, Jan 20, 2011 at 05:18:42PM -0800, Vince Wang wrote: > We are using postfix to send html version newsletter, and we found > that the postfix(?) adds spaces into the body.
Only when you fail to abide by email RFCs and generate message bodies with lines longer than ~990 bytes. The correct thing to do when sending long lines is to use the "quoted-printable" content-transfer-encoding. Postfix folding of long lines is substantially more graceful than Sendmail's which not only folds the line but also inserts an extra "!" character into at the end of the folded physical line. The Postfix algorithm is less likely to do damage to text content, but clearly HTML mark-up may not always survive the transformation. The fix is your hands. -- Viktor.