From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CA4871F55B for ; Sun, 10 May 2020 06:21:05 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] header limit and consistency Date: Sun, 10 May 2020 06:21:03 +0000 Message-Id: <20200510062105.1644-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We take most of these limits from postfix, so be consistent with the corresponding option names used by postfix in our internal code. Limiting header scanning serves the same purpose as the new `--max-size' option for -index (and the default matches postfix). Eric Wong (2): eml: enforce a maximum header length eml: rename limits to match postfix names lib/PublicInbox/Eml.pm | 41 +++++++++++++++++++++++++++++++++-------- t/eml.t | 29 +++++++++++++++++++++++++++-- 2 files changed, 60 insertions(+), 10 deletions(-)