Thank you to all who answered. I learnt from each of the three emails. My config file was seriously wonky (I have become a spam reader -- oh and aparrently spam sender) so it took some persuading but at least for now this particular dragon is slain.
Wietse, you belong on Mount Olympus. Best wishes and thanks to all Eric Wietse Venema previously_wrote on Wed-02-Jun 21 7:34PM > Eric Smith: > > Dear fixers, > > > > My postfix ability has dissapated over many years without use :-( > > > > I tried and failing to REJECT an unwanted domain from accessing postfix > > through this in main.cf > > > > smtpd_recipient_restrictions = permit_mynetworks, > > Postfix won't reject mail from your network. > > > permit_sasl_authenticated, > > Postfix won't reject mail from an authenticated client. > > > check_sender_access > > hash:/etc/postfix/sender_access, > > This applies only if the client did not match permit_mynetworks > and did not match permit_sasl_authenticated. > > Wietse > > > reject_unauth_destination, > > reject_rbl_client zen.spamhaus.org, > > reject_rhsbl_reverse_client dbl.spamhaus.org, > > ... > > > > > > <END >/etc/postfix/sender_access > > example2.org REJECT > > unwelcome.tld REJECT > > END > > > > % postmap /etc/postfix/sender_access > > > > % ls /etc/postfix/sender_access* > > sender_access sender_access.db > > > > % sudo postfix restart > > > > > > I wonder if there are any clues here to what I am doing wrong or where I > > might try to fix this. > > > > Thank you in advance and best wishes > > Eric > >