[horde] imp: the generated Received header

Michael J Rubinsky mrubinsk at horde.org
Sat Apr 2 16:09:19 UTC 2016


Quoting A. Schulze <sca at andreasschulze.de>:

> Hello,
>
> messages created with IMP always contain a Received line like this:
>
>   Received: from webclient.example.org (webclient.example.org  
> [2001:db8::1]) by
>    horde.example.org (Horde Framework) with HTTP; Fri, 01 Apr 2016 21:42:42
>    +0200
>
> It mention HTTP even if HTTPS was used.
> Attached a patch to be more precise.
>
> BTW:
> there are two locations that generate Received header:
> $pear_php_dir/Horde/Mime/Headers/Deprecated.php (which I had to modify) and
> $pear_php_dir/Horde/Core/Mime/Headers/Received.php
>
> The code look very similar. Any reason for duplicate code?

Yes, the code in Deprecated.php is there for BC reasons.

>
> Andreas



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20160402/6738b074/attachment.bin>


More information about the horde mailing list