Restrict or block Postfix Sender address

This article describes how to configure Postfix to restrict mails from a specific sender or domain. Firstly edit your /etc/postfix/main.cf file, and add the following: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access Next create the file /etc/postfix/sender_access, below is an example: janedoe@acme.local REJECTjohndoe@acme.com OKacme.com REJECT Now you need to create a hash file: sudo…

Continue reading

Configure Munin Bind Plugin

First of all you will need to enable logging and statistics in Bind 9.  To do this, please follow the steps in the article below: http://www.barlow.eu.com/techblog/setup-bind-9-dns-logging-and-statistics/ Munin DNS Logging Now you have this setup in Bind, now you need to enable the plugin: sudo ln -s /usr/share/munin/plugins/bind9 /etc/munin/plugins/bind9 Now we…

Continue reading