6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14408] addReceivedHeader() interaction with SpamAssassin trustedpath
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__ . .. . |\/||\ |[__)|\ || | | || \|[__)| \||__|
Comment
> Horde_Pear (2.9.5) > Horde/Mime/Headers/Deprecated.php > function addReceivedHeader() adds: > Received from ... by ... (Horde Framework) with HTTP; ... > > if $_SERVER['HTTPS'] is "on" adds: > Received from ... by ... (Horde Framework) with HTTPS; ... > > This is "correct" but Spamassassin doesnt recognize it as a > authenticated user on trusted path > and check message against all remote IP rules. > > Q&D workaround: > diff /usr/share/pear/Horde/Mime/Headers/Deprecated.php.orig > /usr/share/pear/Horde/Mime/Headers/Deprecated.php > 146c146 > < ($is_ssl ? 'S' : '') . '; ' . date('r') > --- >> ($is_ssl ? '' : '') . '; ' . date('r') > > I will open a similar bug on Spamassassin: > diff > /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Message/Metadata/Received.pm* > 408c408 > < if (/ by / && / with ((?:ES|L|UTF8S|UTF8L)MTPS?A|ASMTP|HTTPU?)(?: > |;|$)/i) { > --- >> if (/ by / && / with >> ((?:ES|L|UTF8S|UTF8L)MTPS?A|ASMTP|HTTP(S|U)?)(?: |;|$)/i) { > > Regards > Valerio Pulese
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers