Hello,
I can not reproduce this with my development environment but you could try out the following:
Replace
$MAIL_MIME = new Mail_mime();
in program/steps/mail/sendmail.inc with the following line
$MAIL_MIME = new Mail_mime("\n");
This will use "\n" instead of "\r\n" as delimiter for the message headers.
Please report the result of this change.
Regards, Thomas
Grettir Asmundarson wrote:
For some reason, GMail is adding extra linefeeds to the mail headers of messages sent from RoundCube, which really throws mail clients for a loop. For instance, here's a typical RoundCube-originating message
after having passed through GMail:
X-Gmail-Received: 42fd8fa28168e28d022d6c191a6035a5c7c18642 Delivered-To: test@gmail.com Received: by 10.64.199.10 with SMTP id w10cs33178qbf; Sat, 5 Nov 2005 17:54:08 -0800 (PST) Received: by 10.65.234.16 with SMTP id l16mr3839339qbr; Sat, 05 Nov 2005 17:54:08 -0800 (PST) Return-Path: wubba@wubba.com Received: from xxxxx.wubba.com (xxxxx.wubba.com [255.255.255.255]) by mx.gmail.com with SMTP id e17si2975802qba. 2005.11.05.17.54.08; Sat, 05 Nov 2005 17:54:08 -0800 (PST) Received-SPF: neutral (gmail.com: 255.255.255.255 is neither permitted nor denied by best guess record for domain of wubba@wubba.com) Date: Sat, 05 Nov 2005 17:54:08 -0800 (PST) Message-Id: 436d6240.731426fd.0ea8.4b29SMTPIN_ADDED@mx.gmail.com Received: (qmail 66507 invoked by uid 65534); 6 Nov 2005 01:54:08 -0000 To: test@gmail.com Subject: Wubba MIME-Version: 1.0
Date: Sat, 5 Nov 2005 20:54:08 -0500
From: wubba wubba@wubba.com Message-ID: ba361226ac96a6c3cdcd0a19300dfbbe@wubba.com
X-Sender: wubba@wubba.com
User-Agent: RoundCube Webmail/0.1-20051021
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Wubba
The reason I'm blaming GMail for the problem is that no other mail
servers exhibit this same behavior. I've seen some mention of this in the mailing list, but the only solution mentioned is to switch from using the mail() function to using SMTP, which isn't a viable option on my server.Any other ideas on how to solve this?