Pages: 1
RSS
Gmail recent mode, delete duplicates
 
I want to use Gmail "Recent mode".
Problem is that for every mail I send I get a copy back. Ending up with duplicates.
So I need to set up a filter that deletes the copy.

Have noticed that the copy contains the header field "Return-Path", the outgoing email does not.

Have created a filter with "Additional params" with "Return-path" equals my email, but it does not match.
 
Have you tried "Header" "Contains" ?
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
No need to use "Additional params" when "Header field" is there, and then you can sel ect the appropriate one fr om a drop-down box.

"Header field" "Return-path" "contains" "..."
 
Thanks.
Maybe I misunderstand, but "Header" does not have any option to test for  "Return-path".
And the Header for the returned copy contains my email address so I have to do a more specific test.

This is what I have tried that does not give a match:

Sender match myemailadress AND Additional params is equal to myemailaddress.
An example, the difference is "Return-Path":

The header for the outgoing mail is:

Date: Thu, 7 May 2026 11:55:43 +0200
From: my name <myemail@domain.com>
Reply-To: my name <myemail@domain.com>
Message-ID: <647527585.20260506115543@domain.com>
To: recipient@domain.com
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The returned copy is:

Return-Path: <myemail@domain.com>
Received: from [10.0.0.100] (cCF2701C3.dhcp.as2116.net. [181.1.14.47])
       by smtp.domain.com with ESMTPSA id 38302c7fdc4ca-39380e7a9aesm44057731fa.30.2026.05.07.02.55.44
       for <recipient@domain.com>
       (version=TLS1_2 cipher=EBDHE-ECASA-AS128-GCM-SHA256 bits=128/128);
       Thu, 07 May 2026 02:55:45 -0700 (PDT)
Date: Thu, 7 May 2026 11:55:43 +0200
From: my name <myemail@domain.com>
Reply-To: my name <myemail@domain.com>
Message-ID: <647527585.20260506115543@domain.com>
To: recipient@domain.com
Subject: test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Edited: bat99 - 07 May 2026 13:39:20
 
Quote
bat99 wrote:
Maybe I misunderstand, but "Header" does not have any option to test for  "Return-path".

Not "Header", but "Header field". Two steps down from "Header", in the same menu.

Unless your version of TB doesn't support "Header field". I have no idea when it was introduced since I never used it. In TB v12.1 it's there.
Pages: 1