Is whitelisting automatic?

Does moving a message from JUNK to INBOX whitelist the sender? Thank you!

No. There is a bayesian thingamajig called sa-learn that some day will figure out what you want without you having to tell it what to do.

well I am being spammed repeatedly with close to the same advertisement. most of them are being blocked but some are leaking through. any suggestions?

If you post the email headers, especially the spamscore and authentication-results, that would be easier for helping with this.

Received: from ([])
by with LMTP id EMt4H+I5omHndgAAMoO61A
for; Sat, 27 Nov 2021 06:00:02 -0800
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
X-Spam-Level: *
X-Spam-Status: No, score=1.7 required=10.0 tests=DKIM_SIGNED,DKIM_VALID,
autolearn_force=no version=3.4.2
* -0.1 DMARC_PASS DMARC check passed
* -0.1 SPF_PASS SPF check passed
* 0.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs
* [URI: (xyz)]
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
* provider (allisonstalberg[at]
* (upamanyu.das5[at] (hovansong201[at]
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [ listed in]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at
*, no trust
* [ listed in]
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author’s domain
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* 2.0 PYZOR_CHECK Listed in Pyzor
* (Welcome to Pyzor’s documentation! — Pyzor 1.0 documentation)
* 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted
* Colors in HTML
* 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
* lines
X-Spam-Score: 1.7
Received: from ( [])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))
(No client certificate requested)
by (Postfix) with ESMTPS id 48FDA3E8F9
for; Sat, 27 Nov 2021 06:00:02 -0800 (PST)
Authentication-Results:; dmarc=pass (p=none dis=none)
Authentication-Results:; spf=pass
dkim=pass (2048-bit key; unprotected) header.b=“RF0HXanu”;
Received: by with SMTP id ay21so24153175uab.12
for; Sat, 27 Nov 2021 06:00:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20210112;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20210112;
X-Gm-Message-State: AOAM533wpcyeuXkLJnX5AKgMOLhhmsYjDtLeecjoxwh1IJxrlzCCmHPx
X-Google-Smtp-Source: ABdhPJw8y7P2nRWxvScMajFQAEZRh75wAySV17aowS6FmFLKf+/kV8WDl+qrZisTFU1Rny9Som5JB0R57fdgsZ0L56I=
X-Received: by 2002:a67:301:: with SMTP id 1mr23137202vsd.11.1638021601276;
Sat, 27 Nov 2021 06:00:01 -0800 (PST)
Received: from 1046791429235 named unknown by with
HTTPREST; Sat, 27 Nov 2021 06:00:00 -0800
Received: from 1046791429235 named unknown by with
HTTPREST; Sat, 27 Nov 2021 05:59:59 -0800
MIME-Version: 1.0
Date: Sat, 27 Nov 2021 06:00:00 -0800
Subject: Let’s Go Brandon Shirt
To: undisclosed-recipients:;
Content-Type: multipart/alternative; boundary=“000000000000adb86d05d1c59f3b”

I apologize, but I read your request backward. I thought you were wanting something being classified as spam to go to your inbox.

Other than moving from Inbox to Spam folder like 1000 more times to get sa-learn to understand you don’t want email from this dufus, you can edit one of the few files on the server that will not be overwritten with an update to MiaB.

Spamassassin will read any file in the path and format /etc/spamassassin/*.cf. You can create /etc/spamassassin/, or anything else that suits you, and put in the following:


This will add 100 points of spamscore to all messages from, so every message from this address will end up in the spam folder.

Alternatively, if you do not even want this user in a spam folder, you can use the blacklist features of postfix, as described here:

But note that changes in that tutorial will be overwritten whenever MiaB makes a change to

I haven’t figured out all of the options for us small server admins to declare email as spam to the various blacklists, but it is possible to declare it through Also on that site you can add your server, which can help in some small ways to improve inboxing for your server and confirmed domains.

I actually find that the bulk of the worst spam to make it to my inbox comes from gmail, but good luck getting them listed at Spamhaus.

Thank you for all your help!

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.