From: http://tmda.sourceforge.net/cgi-bin/moin.cgi/TmdaTipsAndTricks
On Ubuntu 9.04, open the /etc/exim4/exim4.conf.template file as Superuser. Find the "acl_check_rcpt:" string and add the following rule.
# ACL Section:
acl_check_rcpt:
# Block spoofed addresses
deny condition = ${if eq {$sender_address_domain}{$domain}{yes}{no}}
hosts = !+relay_from_hosts
message = Spammers not welcome - go away.
log_message = Spam from sender $sender_address at $sender_fullhost
Save the file and run the following command: dpkg-reconfigure exim4-config
No comments:
Post a Comment