Send Return-Path to Custom Check Interface

For most mails this should be already in the mail-body IIRC (in the Return-path header)

What's your use-case where this is necessary?
 
Hi Stoiko,

Thank you for your reply. This is all contents of mail sent to my script:
Code:
Received: from source.smtp.local (unknown [10.10.10.10])
    by dest.mx.local (Proxmox) with ESMTP id 30368400F8
    for <receiver@my_domain.com>; Fri, 17 May 2024 14:14:28 +0700 (+07)
From: "sender@other_domain.com" <sender@other_domain.com>
Date: Fri, 17 May 2024 14:14:20 +0700
Subject: test
Message-Id: <8e39559dbbd446e6a6a249fa030ce446@a77f13402ec64ff698cbd472ce59a6c3>
To: "receiver@my_domain.com" <receiver@my_domain.com>
Reply-To: sender@other_domain.com
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=-S4vO5eU0OEh/LrJlPNpAPA=="

--=-S4vO5eU0OEh/LrJlPNpAPA==
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

test=

--=-S4vO5eU0OEh/LrJlPNpAPA==

As you see, Return-path header is missing. I need this header because this is real sender (email after MAIL FROM command)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!