Re: Making pglister work with exim 4.96+

From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: pgsql-www(at)lists(dot)postgresql(dot)org
Subject: Re: Making pglister work with exim 4.96+
Date: 2025-05-02 14:59:39
Message-ID: d21b840e-dd1d-43b3-b98b-f1394581497c@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Formerly sent patch contained an error in the case of bounce emails.
Attached: corrected patch

(This patch following recommendations from prior discussion has not received a review yet)

On 19/06/2024 13:10, Célestin Matte wrote:
> OK I understand better now how environment variable is a better working solution. I completely removed argparse, since no more parameters are used.
>
> Patch to modify inject.py accordingly attached.
>
> On the exim side, final solution involves:
> - modifying pglister transport to add
> environment = HEADER_MESSAGE_ID=$header_message-id:
> - modifying pgarchives transport to use $local_part_data instead of $local_part

--
Célestin Matte

Attachment Content-Type Size
0001-inject.py-Use-environment-variables-to-pass-values.patch text/x-patch 4.3 KB

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Célestin Matte 2025-05-02 17:15:52 Slight issue in bounce management in PGLister
Previous Message David G. Johnston 2025-05-01 21:25:29 Patch Processing Upgrades - Archives/Commitfest/CFBot