But in my case, the mail is delivered as any other mail, without any mark or moved to spam folder.
If a set a *@gmail.com in black list, the rule works and the mail is not delivered.
My spams mail came from *@*.top
Thats what I see in maillog
Mar 3 14:17:05 mydomain qmail-queue[797]: 788302: from=<
[email protected]> to=<
[email protected]>
Mar 3 14:17:05 mydomain qmail-queue[797]: 788302: py-limit-out: stderr: INFO:__main__:No SMTP AUTH and not running in sendmail context (incoming or unrestricted outgoing mail). SKIP message.
Mar 3 14:17:05 mydomain qmail-queue[797]: 788302: py-limit-out: stderr: SKIP
Mar 3 14:17:05 mydomain qmail-queue[797]: 788302: check-quota: stderr: SKIP
Mar 3 14:17:05 mydomain spf[805]: 788302: Error code: (6) Unknown mechanism found
Mar 3 14:17:05 mydomain spf[805]: 788302: Unable to set local policy: Unknown mechanism found near 'spf1 +a +mx '
Mar 3 14:17:05 mydomain spf[805]: 788302: Unable to set local policy: Failed to compile local policy 'spf1 +a +mx +a:mydomain.com -all'
Mar 3 14:17:05 mydomain qmail-queue[797]: 788302: spf: stderr: SKIP
Mar 3 14:17:06 mydomain qmail-queue[806]: scan: the message(drweb.tmp.MJpofr) sent by
[email protected] to
[email protected] is passed
Mar 3 14:17:06 mydomain qmail-queue[797]: 788302: drweb: stderr: PASS
Mar 3 14:17:06 mydomain qmail[20219]: new msg 788302
Mar 3 14:17:06 mydomain qmail[20219]: info msg 788302: bytes 270206 from <
[email protected]> qp 811 uid 2020
Mar 3 14:17:06 mydomain qmail[20219]: starting delivery 1597: msg 788302 to local
[email protected]
Mar 3 14:17:06 mydomain qmail[20219]: status: local 1/10 remote 0/20
Mar 3 14:17:06 mydomain qmail-local[812]: 788302: from=<
[email protected]> to=<
[email protected]>
Mar 3 14:17:06 mydomain spamc[814]: skipped message, greater than max message size (256000 bytes)
Mar 3 14:17:06 mydomain qmail-local[812]: 788302: spam: stderr: PASS
Mar 3 14:17:06 mydomain dk_check[815]: 788302: DKIM verification (d=(null), 0-bit key) failed: domain tag missing
Mar 3 14:17:06 mydomain qmail-local[812]: 788302: dk_check: stderr: PASS
Mar 3 14:17:06 mydomain dmarc[816]: 788302: SPF record was not found in Authentication-Results
Mar 3 14:17:06 mydomain qmail-local[812]: 788302: dmarc: stderr: PASS
Mar 3 14:17:06 mydomain qmail[20219]: delivery 1597: success: did_0+0+2/
Mar 3 14:17:06 mydomain qmail[20219]: status: local 0/10 remote 0/20
Mar 3 14:17:06 mydomain qmail[20219]: end msg 788302
The remote addres here is
[email protected], but the same email can came from similar email (*@*.top), all with the same top domain.