Roundcube Community Forum

 

Doubled To: Subject: headers.

Started by Darland, September 07, 2015, 02:45:44 PM

Previous topic - Next topic

Darland

Hi,

I'm strugling with quite an unpleasant issue with yahoo mailservers, and they seem to be right this time. I checked the message sent from Roundcube and see that To: and Subject: headers are duplicated.

...
To: "user" <[email protected]>
Subject: Test

X-PHP-Originating-Script: 1014:rcube.php

MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_2a5b0094597d18722a74778e1c598633"
Date: Mon, 07 Sep 2015 20:02:15 +0200
From: "user2" <[email protected]>
To: "user" <[email protected]>
Subject: Test

Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: Roundcube Webmail/1.1.1


Red part is generated by Roundcube (I checked it in Sent), while the green one is added "on-the-fly".

When I'm sending the same message from Outlook using SMTP headers are OK:

From: "user2" <[email protected]>
To: "user2" <[email protected]>
Subject: Test 2
Date: Mon, 7 Sep 2015 20:03:33 +0200
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/alternative;
   boundary="----=_NextPart_000_006E_01D0E9A8.46DCAFF0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdDpl4CByrL4cN0SQ0W7FqfEi0Cq8A==
Content-Language: ru

SMTP server is Postfix.
Those duplicate headers cause an error:
host mta6.am0.yahoodns.net[66.196.118.36] said: 554
    Message not allowed - Headers are not RFC compliant[291] (in reply to end
    of DATA command)


Would be grateful for any help!

Dimitriy

SKaero

Try configuring Roundcube to use SMTP instead of PHP mail.

Darland


alec

What Roundcube version and Mail_mime package version?

Darland

User-Agent: Roundcube Webmail/1.1.1
pear/Mail_Mime                                 1.9.0

alec

That explains the issue. For Mail_Mime-1.9.x incoming Roundcube 1.1.3 is required.