I have Postfix (3.6.3, FreeBSD 12) forward mail for a user to a script

maild: "| /usr/local/sbin/mailsave"

The messages have From and id lines which break Python's (3.7) email.Parser

Can you prevent Postfix from adding these lines?

Thanks,
Juergen

>From [email protected]  Sun Nov 21 19:11:19 2021
Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: by host.my.tld (Postfix, from userid 1001)
id D3DFD783; Sun, 21 Nov 2021 19:11:19 +0100 (CET)
To: [email protected]
Subject: s1
Message-Id: <[email protected]>
Date: Sun, 21 Nov 2021 19:11:19 +0100 (CET)
From: Jürgen Weber <[email protected]>

body

Reply via email to