I have a fresh exim4
install without any tweaks on a Debian 8.6
machine.
I use it to send emails from PHP:
; /etc/php5/fpm/conf.d/mail.ini
[mail function]
sendmail_path = /usr/sbin/exim4 -t
mail.add_x_header = On
mail.log = syslog
Recently we began to receive a lot of spam emails, which exim tries to send back, because of inexistent recepients.
So, my question is:
how to completely deny exim4
to receive any external emails?
(Maybe excluding some local emails like cron ones.)
Thank you.
As pointed by @slipeer my Exim already not receiving any external emails. So I created a different question:
Deny some local users (not addresses) to send email from exim4