J?rgen Weber: > 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)
The "id" line should start with tab or space. That's how Postfix creates the line. > 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]> Non-ASCII header text should be encoded with RFC 2o47. > Can you prevent Postfix from adding these lines? Use egrep. If Python's email.Parser can't handle non-ASCII headers, then you should not use it for real email management. Wietse
