I know that trick. My issue is that mail servers on the blocking lists doesn’t get blocked
In the - default - config file is a line:
smtpd_sender_restrictions=reject_non_fqdn_sender,reject_unknown_sender_domain,reject_authenticated_sender_login_mismatch,reject_rhsbl_sender dbl.spamhaus.org
smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,reject_rbl_client zen.spamhaus.org,reject_unlisted_recipient,check_policy_service inet:127.0.0.1:10023
so I should expect it isn’t even offered to spam-assassin
First it’s grey listed - as expected
Mar 10 07:43:04 box postgrey[1044]: action=greylist, reason=new, client_name=episodecostume.shop, client_address=195.133.39.178/32, sender=backyardmiraclefarm@episodecostume.shop, recipient=xxxxx@doofpot.nl
Mar 10 07:43:04 box postfix/smtpd[23107]: NOQUEUE: reject: RCPT from episodecostume.shop[195.133.39.178]: 450 4.2.0 <xxxxx@doofpot.nl>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/doofpot.nl.html; from=<backyardmiraclefarm@episodecostume.shop> to=<xxxxx@doofpot.nl> proto=ESMTP helo=<episodecostume.shop>
a next time, the mail is offered
Mar 10 07:54:58 box postfix/smtpd[24477]: connect from episodecostume.shop[195.133.39.178]
Mar 10 07:54:58 box postfix/smtpd[24477]: warning: restriction `reject_authenticated_sender_login_mismatch' ignored: no SASL support
Mar 10 07:54:58 box postgrey[1044]: action=pass, reason=triplet found, delay=601, client_name=episodecostume.shop, client_address=195.133.39.178/32, sender=backyardmiraclefarm@episodeco
stume.shop, recipient=xxxxx@doofpot.nl
Mar 10 07:54:58 box postfix/smtpd[24477]: AC77DE4D41: client=episodecostume.shop[195.133.39.178]
Mar 10 07:54:58 box postfix/cleanup[24483]: AC77DE4D41: message-id=<2oU906ytqF21mvBk9hZovsc3rYPEs4_l0cIQT_a3m88.RSxpo0mHarLj0hkjA8E8ehMjo6Zh6bf6geK12UqQkoM@episodecostume.shop>
Mar 10 07:54:58 imap(gerard@houdijk.eu): Info: Logged out in=5597 out=13841
Mar 10 07:54:58 box opendmarc[764]: implicit authentication service: box.business-mail.nl
Mar 10 07:54:58 box opendmarc[764]: AC77DE4D41: SPF(mailfrom): backyardmiraclefarm@episodecostume.shop pass
Mar 10 07:54:58 box opendmarc[764]: AC77DE4D41: episodecostume.shop none
Mar 10 07:54:59 box postfix/qmgr[30361]: AC77DE4D41: from=<backyardmiraclefarm@episodecostume.shop>, size=25428, nrcpt=1 (queue active)
Mar 10 07:54:59 lmtp(24542): Info: Connect from 127.0.0.1
Mar 10 07:54:59 box spampd[15838]: processing message <2oU906ytqF21mvBk9hZovsc3rYPEs4_l0cIQT_a3m88.RSxpo0mHarLj0hkjA8E8ehMjo6Zh6bf6geK12UqQkoM@episodecostume.shop> for <xxxxx@doofpot.nl>
Mar 10 07:54:59 box postfix/smtpd[24477]: disconnect from episodecostume.shop[195.133.39.178] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
by the way, I changed the recipient email address