[horde] imp: the generated Received header

A. Schulze sca at andreasschulze.de
Fri Apr 1 20:06:23 UTC 2016


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?

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imp-submission-protocol.patch
Type: text/x-diff
Size: 889 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20160401/689edc13/attachment.bin>


More information about the horde mailing list