###################################################################### # Runtime configuration file for Exim # ###################################################################### # Include main settings. include /usr/local/etc/exim/100.main.conf # Include settings Greylisting. .include /usr/local/etc/exim/110.greylist.conf ### ACL configuration for incoming mail. begin acl # Start ACL - "working" for the ACL Greylisting .ifdef USE_GREYLIST greylist_acl: .include /usr/local/etc/exim/200.acl-greylist.conf .endif # Verify the HELO. acl_check_helo: accept hosts = +relay_from_hosts drop condition = ${if match{$sender_helo_name}{MY_IP}{yes}{no} } message = "Dropped spammer pretending to be us" drop condition = ${if match{$sender_helo_name}{^[0-9]\.[0-9]\.[0-9]\.[0-9]}{yes}{no} } message = "Dropped IP-only or IP-starting helo" accept # These rules are triggered for each email. acl_check_rcpt: warn set acl_c_lp = $local_part@$domain # Acl_check_rcpt - checking the syntax is correct .include /usr/local/etc/exim/400.acl-check-rcpt-syntax.conf # Acl_check_rcpt - anti-spam - Host and others. .include /usr/local/etc/exim/410.acl-check-rcpt-spam.conf # Acl_check_rcpt - black-lists, delays, etc. .include /usr/local/etc/exim/420.acl-check-rcpt-end.conf # Check the message body. acl_check_content: # Include configuration message body check .include /usr/local/etc/exim/500.acl-check-data.conf # What do we do with the mail. begin routers # Include router configuration. .include /usr/local/etc/exim/600.routers.conf # Start transports - Delivers the mail. begin transports # Include transports. .include /usr/local/etc/exim/700.transports.conf # Configuration of repetition and rewriting. .include /usr/local/etc/exim/800.retry.conf #begin rewrite # Authentication section when sending emails. begin authenticators # Authenticate users. .include /usr/local/etc/exim/900.authenticators.conf