> On Jan 15, 2023, at 12:13 AM, Peter <pe...@pajamian.dhs.org> wrote:
> 
> On 15/01/23 17:34, Viktor Dukhovni wrote:
>> The typical user who wants to lightly censor Received lines is not
>> trying to hide a specific IP address, by far the more common need
>> is to prune IP addresses from received headers add by a submission
>> service.  This will often also take care of hiding various internal
>> IP addresses.  So pruning by hostname is generally more robust.
> 
> Indeed, or to hide the IP address of any client that connects.  The OP seemed 
> to want to hide the server's IP though which is rather unusual.

OP here - just noting that's not what I was after. Just the hop before the 
server (ie: the MUA).

Charles

> 
>> Yeah, this particular IP has an unusual case, and IP matches (made a bit
>> more precise could work, but I'd avoid them).
> 
> I think that the main point I was trying to convey is that he can use a 
> REPLACE action to filter or mask just part of the header, which seems to be 
> what he was asking for.  I was giving a rather simple example which seemed to 
> fit his use case but certainly I figure that he can tweak, modify, whatever 
> the expression to suit his needs once being pointed in the right direction.
> 
> Your example is probably better and now he has more to draw on to accomplish 
> what he's after.
> 
> 
> Peter

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to