[horde] Mail sent from imp is empty after recent pear upgrade

Kinglok, Fong busywater at gmail.com
Sun Aug 25 13:07:28 UTC 2013


On 25 Aug, 2013, at 6:35 PM, Simon Wilson <simon at simonandkate.net> wrote:

> -----Original Message-----
> From: horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org]
> On Behalf Of Timothy Grondin
> Sent: Sunday, 25 August 2013 2:42 AM
> To: horde at lists.horde.org
> Subject: Re: [horde] Mail sent from imp is empty after recent pear upgrade
> 
> On 08/23/2013 11:43 AM, Kinglok, Fong wrote:
>> Hi,
>> 
>> After the recent pear upgrade (2013.08.22), all the email sent from imp is
> empty.
>> 
>> The amavis log just shows:
>> X-Amavis-Alert: BAD HEADER MIME error: error: unexpected end of 
>> preamble
>> 
>> I've tried bypass the amavis but the email is just empty.
>> 
>> Here comes the full mail with headers of a mail sent from imp.
>> 
>> Kinglok, Fong
>> 
>> =============================================
>> Delivered-To: busyman at biglake.com
>> Received: by 10.220.116.138 with SMTP id m10csp102150vcq;
>>        Fri, 23 Aug 2013 09:36:24 -0700 (PDT)
>> X-Received: by 10.68.238.65 with SMTP id vi1mr525865pbc.152.1377275783772;
>>        Fri, 23 Aug 2013 09:36:23 -0700 (PDT)
>> Return-Path: <postmaster+prvs=0947019f5f at domain.com>
>> Received: from mail.domain.com (058177202098.ctinets.com. [1.2.3.4])
>>        by mx.biglake.com with ESMTP id
> gx9si894189pac.185.1969.12.31.16.00.00;
>>        Fri, 23 Aug 2013 09:36:23 -0700 (PDT)
>> Received-SPF: pass (biglake.com: domain of 
>> postmaster+prvs=0947019f5f at domain.com designates 1.2.3.4 as permitted 
>> sender) client-ip=1.2.3.4;
>> Authentication-Results: mx.biglake.com;
>>       spf=pass (biglake.com: domain of
> postmaster+prvs=0947019f5f at domain.com designates 1.2.3.4 as permitted
> sender) smtp.mail=postmaster+prvs=0947019f5f at domain.com;
>>       dkim=pass header.i=@domain.com;
>>       dmarc=pass (p=NONE dis=NONE) d=domain.com
>> Received: from localhost (localhost [127.0.0.1])
>> 	by mail.domain.com (Postfix) with ESMTP id 4D963FA035C
>> 	for <busyman at biglake.com>; Sat, 24 Aug 2013 00:36:44 +0800 (HKT)
>> Received: from mail.domain.com ([127.0.0.1])  by localhost 
>> (mail.domain.com [127.0.0.1]) (maiad, port 10026) with ESMTP  id 
>> 01876-02 for <busyman at biglake.com>;  Sat, 24 Aug 2013 00:36:44 +0800 
>> (HKT)
>> Received: from localhost (www.domain.com [192.168.107.13])
>> 	by mail.domain.com (Postfix) with ESMTPSA id D4E11FA0349
>> 	for <busyman at biglake.com>; Sat, 24 Aug 2013 00:36:43 +0800 (HKT)
>> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=domain.com;
> s=default;
>> 	t=1377275803; bh=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN/XKdLCPjaYaY=;
>> 	h=Date:From:To:Subject;
>> 	b=CyYBRxSJwJkq8MZPwLZeSRow5kAE8QCiRkC44y1ViNpNeXlMA5rIydE1j8uYVlzJ5
>> 	 qzCte3BzA4Hkc7HpUrUpYMSnOGQn7D7a5rAy+GQ9qEN3zHJIAmyVVpl6roj48FlSVE
>> 	 y5h56OdePdvYpNYyvjL2ndHlSLwO1KGShjJBD/BE=
>> Received: from 014198113045.ctinets.com (014198113045.ctinets.com
>> [14.198.113.45]) by mail.domain.com (Horde Framework) with HTTP; Sat, 
>> 24 Aug
>> 2013 00:36:43 +0800
>> Date: Sat, 24 Aug 2013 00:36:43 +0800
>> Message-ID: 
>> <20130824003643.Horde.9rS3rPS4mGTi1VkSTXEhUw1 at mail.domain.com>
>> From: postmaster at domain.com
>> To: busyman at biglake.com
>> Subject: test
>> User-Agent: Internet Messaging Program (IMP) H5 (6.1.3)
>> Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
>> MIME-Version: 1.0
>> Content-Disposition: inline
>> Content-Transfer-Encoding: 8bit
>> Authentication-Results: mail; dmarc=none header.from=domain.com
>> 
>> 
>> 
>> 
> 
> I just started experiencing this today after a pear upgrade. I can do
> testing and research if anybody has any ideas as to where to start.
> 
> Thank you
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail:
> horde-unsubscribe at lists.horde.org
> 
> I'm having similar issues - after a full pear upgrade yesterday, I just sent
> an email to the imp list about PHP Fatal errors from Images.php, and
> immediately got this notification from my mail server:
> 
> ERROR: Your message could not be delivered.
> Technical error details can be viewed HERE.
> The text of the returned message can be viewed HERE.
> text/plain Text (1 KB)
> Your message WAS SUCCESSFULLY RELAYED to:
>  <imp at lists.horde.org>
> 
> This delivery report was generated by the program amavisd-new at host
> mail.simonandkate.net. Our internal reference code for your message is
> 10982-13/xcfrQN0FNjEr
> 
> INVALID HEADER: BAD MIME HEADER SECTION OR BAD MIME STRUCTURE
> 
>  MIME error: error: unexpected end of preamble
> 
> Return-Path: <simon at simonandkate.net>
> From: Simon Wilson <simon at simonandkate.net>
> Message-ID:
>  <20130825100601.Horde._7sLyTfxCROEpujsmqRCIA9 at mail.simonandkate.net>
> User-Agent: Internet Messaging Program (IMP) H5 (6.1.3)
> Subject: PHP Fatal error from Images.php
> 
> 
> The message is shown in Sent Items as having been sent correctly, but it
> looks like it's been bounced.
> 
> When I try and view it in Imp, "I get a Error when communicating with the
> server"
> 
> And the following error in the Apache log:
> 
> [Sun Aug 25 20:11:15 2013] [error] [client 192.168.1.155] PHP Fatal error:
> Call to a member function getMetadata() on a non-object in
> /var/www/horde/imp/lib/Mime/Viewer/Pgp.php on line 440, referer:
> https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
> 
> When I view it in Outlook all I see is Header, no content:
> 
> --===============0580889834256329594==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> --
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail:
> imp-unsubscribe at lists.horde.org
> --===============0580889834256329594==--
> 
> The mail message was pgp signed. I then sent this (current) email from Imp
> not PGP signed to see if that changes anything, and the message did not
> appear in the mailing lists at all.  
> 
> I can successfully read other pgp signed messages sent previously in Imp.
> 
> I am now sending from Outlook, and this appears to be sending OK. 
> 
> Looks like there are a few having this issue...
> 
> Simon.
> 
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


Hi,

I've been checking my postfix mailog, horde debugging message and apache log.  They all shows nothing about the problem.  I guess it involves the dependency on Horde_Mail to Horde_Mail_Transport_Smtphorde.  In the production server, I have no other way to revert to use sendmail in horde configuration setting.

Kinglok, Fong 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.horde.org/archives/horde/attachments/20130825/7c74c9ed/attachment.bin>


More information about the horde mailing list