On 19/11/2021 00:18, Jeremy Harris via Exim-users wrote: > "Received: " > "${if def:sender_rcvhost {from $sender_rcvhost\n\t}" > "{${if def:sender_ident {from ${quote_local_part:$sender_ident} }}" > "${if def:sender_helo_name {(helo=$sender_helo_name)\n\t}}}}"
One thing I personally patch since back in 2006 is the fact that $sender_rcvhost is built in src/host.c and has many if()s. eg. it only prints the helo= if it is different from the PTR. But SA does not parse any HELO if it is not in the Received with helo=. So I basically patched host.c to always include helo= in $sender_fullhost and $sender_rcvhost if $sender_helo_name is available. The patch is trivial. It comments out HEAD:host.c:627/628 I do not remember if this also "fixed" any other sort of SA parsing of Received Headers. Greetings, Wolfgang -- Wolfgang Breyha <wbre...@gmx.net> | https://www.blafasel.at/ Vienna University Computer Center | Austria -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/