<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>addReceivedHeader() interaction with SpamAssassin trustedpath  </title> 
  <pubDate>Mon, 06 Apr 2026 04:02:57 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/14408</link> 
  <atom:link rel="self" type="application/rss+xml" title="addReceivedHeader() interaction with SpamAssassin trustedpath  " href="https://bugs.horde.org/ticket/14408/rss" /> 
  <description>addReceivedHeader() interaction with SpamAssassin trustedpath  </description> 
 
   
   
  <item> 
   <title>Horde_Pear (2.9.5)
Horde/Mime/Headers/Deprecated.php
funct</title> 
   <description>Horde_Pear (2.9.5)
Horde/Mime/Headers/Deprecated.php
function addReceivedHeader() adds:
Received from ... by ... (Horde Framework) with HTTP; ...

if $_SERVER[&#039;HTTPS&#039;] is &quot;on&quot; adds:
Received from ... by ... (Horde Framework) with HTTPS; ...

This is &quot;correct&quot; but Spamassassin doesnt recognize it as a authenticated user on trusted path
and check message against all remote IP rules.

Q&amp;D workaround:
diff /usr/share/pear/Horde/Mime/Headers/Deprecated.php.orig /usr/share/pear/Horde/Mime/Headers/Deprecated.php
146c146
&lt;             ($is_ssl ? &#039;S&#039; : &#039;&#039;) . &#039;; &#039; . date(&#039;r&#039;)
---
&gt;             ($is_ssl ? &#039;&#039; : &#039;&#039;) . &#039;; &#039; . date(&#039;r&#039;)

I will open a similar bug on Spamassassin:
diff /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Metadata/Received.pm*
408c408
&lt;   if (/ by / &amp;&amp; / with ((?:ES|L|UTF8S|UTF8L)MTPS?A|ASMTP|HTTPU?)(?: |;|$)/i) {
---
&gt;   if (/ by / &amp;&amp; / with ((?:ES|L|UTF8S|UTF8L)MTPS?A|ASMTP|HTTP(S|U)?)(?: |;|$)/i) {

Regards
Valerio Pulese</description> 
   <pubDate>Wed, 22 Jun 2016 13:23:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14408#t90704</link> 
  </item> 
   
  <item> 
   <title>Michael, you introduced this, can you explain the rationale?</title> 
   <description>Michael, you introduced this, can you explain the rationale?</description> 
   <pubDate>Wed, 22 Jun 2016 14:19:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14408#t90705</link> 
  </item> 
   
  <item> 
   <title>&gt; Michael, you introduced this, can you explain the rational</title> 
   <description>&gt; Michael, you introduced this, can you explain the rationale?

Yes, it provides a more complete and accurate audit trail. This helps when the email in question must be shown to be transmitted in a secure manner. For example, email that contains protected health information covered by HIPAA must have an audit trail that shows completely secure transmission (a minimum of TLS security and if webmail is used, SSL is reqiured).</description> 
   <pubDate>Thu, 23 Jun 2016 22:02:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14408#t90707</link> 
  </item> 
   
  <item> 
   <title>So it&#039;s up to SpamAssassin to update their rules.</title> 
   <description>So it&#039;s up to SpamAssassin to update their rules.</description> 
   <pubDate>Fri, 24 Jun 2016 09:25:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14408#t90711</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
