To start with - I have for several days looked for a post describing my problem, but without any luck
The issue: All () incoming emails ending up in the Spam folder
My MIAB was installed a few weeks ago on a VPS. The installation went without any apparent issues and it was initially functioning as expected. I have since upgraded MIAB, as an update was available in the admin panel.
For about a week now i noticed that I stopped receiving emails and that all had gone to the Spam folder. Emails from Google and Microsoft, and even emails from myself and my server notifications.
Here is the redacted source from one
Return-Path: <info@customer-service.tesco.com>
Delivered-To: mail@hostname.co.uk
Received: from box.hostname.co.uk ([127.0.0.1])
by box.hostname.co.uk with LMTP id cKukJvUu9GBAbgAAzS9ZRA
for <mail@hostname.co.uk>; Sun, 18 Jul 2021 14:39:01 +0100
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on box.hostname.co.uk
X-Spam-Level:
X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,HTML_FONT_LOW_CONTRAST,
HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,
SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Report:
* -0.1 SPF_PASS SPF check passed
* -0.1 DMARC_PASS DMARC check passed
* -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [37.148.183.70 listed in wl.mailspike.net]
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at
* https://www.dnswl.org/, no trust
* [37.148.183.70 listed in list.dnswl.org]
* -0.0 SPF_HELO_PASS SPF: HELO matches SPF record
* 0.0 HTML_FONT_LOW_CONTRAST BODY: HTML font color similar or
* identical to background
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
* -1.5 DKIMWL_WL_HIGH DKIMwl.org - High trust sender
X-Spam-Score: -1.8
X-Greylist: delayed 917 seconds by postgrey-1.36 at box.hostname.co.uk; Sun, 18 Jul 2021 14:39:01 BST
Authentication-Results: box.hostname.co.uk; dmarc=pass (p=reject dis=none) header.from=customer-service.tesco.com
Authentication-Results: box.hostname.co.uk; spf=pass smtp.mailfrom=info@customer-service.tesco.com
Authentication-Results: box.hostname.co.uk;
dkim=pass (1024-bit key; unprotected) header.d=customer-service.tesco.com header.i=@customer-service.tesco.com header.b="Ycs7oPER";
dkim-atps=neutral
Received: from webgridb070.emsecure.net (webgridb070.emsecure.net [37.148.183.70])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
(No client certificate requested)
by box.hostname.co.uk (Postfix) with UTF8SMTPS id 2X161XXXXX
for <mail@mhostname.co.uk>; Sun, 18 Jul 2021 14:39:01 +0100 (BST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=customer-service.tesco.com; s=sim; x=1627220340;
i=@customer-service.tesco.com; h=from:to:subject:date:reply-to:
message-id:list-unsubscribe:list-unsubscribe-post:feedback-id:
list-id:mime-version:content-type; bh=oe88Cuyv6umpkJrhnKVUbG3AIX
y4wKOtfJIqCpnAiFc=; b=Ycs7oPERu4X+3NwLgDyl87uLcOGUnf2HS3udLEMrW1
2PbqOHXbXVLYnXwEgxM/nXbwhOf2I7c1mdJH17brd4JtQLzbWv/WD3PXfjKICt1d
rMKi1cftx9jsqmXXBH6Y8LHzX/qfMR6a0iQmBNg3kTnhE/jn6xRuXEHBEUD0jFY8
8=
All is green in the MIAB admin panel.
My score is 10/10 on mail-tester.com as well as on mxtoolbox.com
I have whitelisted in /etc/mail/spamassassin/local.cf
All caught emails have a spam score between -2 and 3
Where should I start looking?
Does anyone recognise/have experienced this behaviour?
Have you verified this is not being done by a client? For example, make a new email account and only log in through Roundcube. Send emails to the account that are going into the Spam folder of other accounts.
I do have a bunch of filters.
As it turns out, I created some of them directly from the emails. A manual “Spam” rule was one of them. I could with ease recreate the issue, as the “To” (my email address) rule is enabled by default. Hence all emails to myself being filtered by this rule.
I’ve now removed all “To” rules and problem was resolved.