Configure Postfix to allow incoming mails only from one (defined) mail-id

Posted by Saurabh on Server Fault See other posts from Server Fault or by Saurabh
Published on 2014-08-24T06:34:15Z Indexed on 2014/08/24 10:21 UTC
Read the original article Hit count: 189

I have set-up Postfix with Spamassassin on Ubuntu 12.04.5. Fundamental usage of Postfix is to (pipe) trigger a PHP file. Till here I've arrived successfully.

Now, to avoid unneccessary load on the server, and also to avoid unwanted mails triggering my PHP script, I want to configure Postfix to allow mails only from [email protected] and reject everything else.

How to achieve this absolute lock-down on mail server unless mail comes from [email protected]?

© Server Fault or respective owner

Related posts about postfix

Related posts about ubuntu-12.04