Noel Jones wrote: >Andrew Hodgson wrote: >> Hi,
>> I am running Postfix on Ubuntu 9.04. >> I have a primary MX server which does antispam/av etc, and the Postfix >> system which is receiving the messages for the mailing lists etc. >> I want to stop people from sending directly to the Postfix server, and >> only allow connections to the relevant domains from the primary MX servers. >Use a check_client_access map to control what IPs can send >mail to your server. ># main.cf >smtpd_client_restrictions = > check_client_access cidr:/etc/postfix/allowed_clients > # reject all unlisted clients > reject Thanks, that worked for me in the end, though I added in a permit_mynetworks statement to allow the Mailman to relay through the server from localhost. All tested ok, Andrew.