From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29363 invoked from network); 22 Mar 2023 17:28:12 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 22 Mar 2023 17:28:12 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pf2Fs-001QmE-T1 for ml@inbox.vuxu.org; Wed, 22 Mar 2023 12:28:08 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1pf2Fs-001wrA-1V for ml@inbox.vuxu.org; Wed, 22 Mar 2023 12:28:08 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1pf2Fo-001wr4-2h for ding@lists.math.uh.edu; Wed, 22 Mar 2023 12:28:04 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pf2Fm-001QlD-5j for ding@lists.math.uh.edu; Wed, 22 Mar 2023 12:28:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mTXV9MxmJ6r5qYAa6i7scWjv5hfRJKdnUttg71XkKy8=; b=Mw8t2tIvwbfOv6r9ypD5HD6Ad/ /i0CityRi3lfeyei+i0CERyHW/C7OPXYst1m0zSjK3OejhGcPUjLKpv5gj0AR+rufZKv8jztfi1JG o1VAtoAk7d0EhotNB8o+gBCk1baGT5557lPWo27MIxDYkJtp1UIdB3ZlUKVYdyb5sVo0=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pf2Fe-00058v-S4 for ding@gnus.org; Wed, 22 Mar 2023 18:27:57 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pf2Fc-00091u-JG for ding@gnus.org; Wed, 22 Mar 2023 18:27:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: Re: Handling spam Date: Wed, 22 Mar 2023 18:27:47 +0100 Message-ID: <87h6uchf1o.fsf@a16n.net> References: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:N6aKxn4yXmK7+Nr3vt3VmJpHNL4= List-ID: Precedence: bulk On Wed, Mar 22 2023, Christian Lynbech wrote: > So, any ideas or recommendations? A bit OT, but perhaps a valuable advice: Whatever you do, IMHO the sender should be informed, when his message won't be read because of the filtering. Here is my way doing that: fetchmail (IMAP) -> procmail -> Gnus (nnml) And in ~/.procmailrc I have something like this: --8<---------------cut here---------------start------------->8--- :0fw * < $SPAM_MAX_SIZE | spamassassin :0 * 1^1 ^X-Spam-Flag: YES * -10^0 ^Subject:.*no-spam * -3^0 ^Content-Type: .*signed * -3^0 ^To:.*special@address-1 * -3^0 ^From: Special * -1^0 ^List-Id: { :0 ch | (formail -r -t -A"From: $NOREPLY" \ -A"Content-Type: text/plain; charset=utf-8"; \ cat $SPAMMSG $SIG) | $SENDMAIL -r $NOREPLY -t :0: spam.spool } --8<---------------cut here---------------end--------------->8--- And in $SPAMMSG: --8<---------------cut here---------------start------------->8--- Your message has been rejected and won't be read, because it appears to be spam. If this is not the case, please prepend `no-spam' to the beginning of the subject field and send again. --8<---------------cut here---------------end--------------->8--- Cheers, -- Peter