On 02 mai 2020, at 15:13, Bastian Blank <[email protected]> wrote: > > On Sat, May 02, 2020 at 11:40:52AM +0200, Patrick Proniewski wrote: >> It negates the benefit you were writing about as amavisd-milter will drop >> the message on the milter interface (postfix/cleanup[26401]: 87E5316135: >> milter-discard: END-OF-MESSAGE from localhost[127.0.0.1]: milter triggers >> DISCARD action) and re-inject it in an after-queue SMTP with no filtering. >> No big deal for me. > > This sound like you are sending the mail into quarantine. Please check > if there is an X-Envelope-From and X-Envelope-To header. > > If this is true, your config is not correct for your use case. But this > is off-topic here.
Nothing like this. For example, a locally generated email (mail command in the terminal): May 2 17:48:14 rack postfix/pickup[59232]: 43E5A164F8: uid=1001 from=<patpro> May 2 17:48:14 rack postfix/cleanup[72090]: 43E5A164F8: message-id=<[email protected]> May 2 17:48:14 rack opendkim[61106]: 43E5A164F8: DKIM-Signature field added (s=202004-abd9c69a, d=host.name) May 2 17:48:15 rack postfix/smtpd[72472]: connect from localhost[127.0.0.1] May 2 17:48:15 rack postfix/smtpd[72472]: 165C416500: client=localhost[127.0.0.1], orig_queue_id=43E5A164F8, orig_client=localhost[127.0.0.1] May 2 17:48:15 rack postfix/cleanup[72097]: 165C416500: message-id=<[email protected]> May 2 17:48:15 rack postfix/qmgr[4181]: 165C416500: from=<[email protected]>, size=2054, nrcpt=1 (queue active) May 2 17:48:15 rack amavis[68109]: (68109-09) Passed CLEAN {RelayedInbound}, [127.0.0.1] <[email protected]> -> <[email protected]>, Queue-ID: 43E5A164F8, Message-ID: <[email protected]>, mail_id: La_iE098bQhw, Hits: -3.366, size: 1283, queued_as: 165C416500, dkim_sd=202004-abd9c69a:host.name, 703 ms May 2 17:48:15 rack postfix/cleanup[72090]: 43E5A164F8: milter-discard: END-OF-MESSAGE from localhost[127.0.0.1]: milter triggers DISCARD action; from=<[email protected]> to=<[email protected]> May 2 17:48:15 rack postfix/qmgr[4181]: 165C416500: removed headers of the corresponding message: Return-Path: <[email protected]> Delivered-To: [email protected] Received: from my.host.name by my.host.name with LMTP id yCoHBj+WrV7k4QAAsbjT4g (envelope-from <[email protected]>) for <[email protected]>; Sat, 02 May 2020 17:48:15 +0200 Received: from my.host.name (localhost [127.0.0.1]) by my.host.name (Postfix) with ESMTP id 165C416500 for <[email protected]>; Sat, 2 May 2020 17:48:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at host.name X-Spam-Flag: NO X-Spam-Score: -3.366 X-Spam-Level: X-Spam-Status: No, score=-3.366 tagged_above=-6 required=3 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, CRM114_CHECK=-0.4668, URIBL_BLOCKED=0.001] autolearn=disabled X-CRM114-Status: UNSURE ( 3.89 ) Authentication-Results: my.host.name (amavisd-new); dkim=pass (4096-bit key) header.d=host.name Received: from unknown by my.host.name (amavisd-new, unix socket) id La_iE098bQhw for <[email protected]>; Sat, 2 May 2020 17:48:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by my.host.name (amavisd-milter) id 43E5A164F8; Sat, 2 May 2020 17:48:14 +0200 (CEST) (envelope-from [email protected]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=host.name; s=202004-abd9c69a; t=1588434494; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; h=To:Subject:Date:From; b=O1NT/2XAR1YJPctZH5Ojekh4tTLcOFW1SdCg8YKIzqO1r5ObwngBeBXbGS5q7a1uc ../.. a0AcDzE3JjxalhpI4Q6Kk6qU= To: [email protected] Subject: test Message-Id: <[email protected]> Date: Sat, 2 May 2020 17:48:14 +0200 (CEST) From: Patrick Proniewski <[email protected]>
