Hi,
I want add SPF check on incoming email so refuse all email with a custom message who doesn't pass SPF check.
How to do?
I found I have to do this command on SSH
PHP Code
apt-get install spf-tools-perl
Back on-topic, once you have the appropriate supporting package present you can add the following to the file /etc/exim/conf.d/main/00_local_macros, creating that file if necessary:
CHECK_RCPT_SPF=true
Once you've done that, and applied the change, you'll find that SPF-failures will be rejected at SMTP-time.