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 >