Exim.conf
I found this code online, it is supposed to help reduce spam on your system. To introduce this code open up WHM, go to 'Exim Configuration Editor' and then scroll down and click on the Advanced Editor button. When the page opens up insert the code right after 'begin acl' and then press save.
CODE |
############################################ # FORGED MAIL CHECKS ############################################ deny message = Forged Yahoo mail, connection denied! log_message = Forged Yahoo mail, connection denied! senders = *@yahoo.com condition = ${if match {$sender_host_name}{\Nyahoo.com$\N}{no}{yes}} delay = 3s deny message = Forged hotmail mail, connection denied! log_message = Forged hotmail mail, connection denied! senders = *@hotmail.com condition = ${if match {$sender_host_name}{\Nhotmail.com$\N}{no}{yes}} delay = 3s deny message = Forged MSN mail, connection denied! log_message = Forged MSN mail, connection denied! senders = *@msn.com condition = ${if match {$sender_host_name}{\N(hotmail|msn).com$\N}{no}{yes}} delay = 3s deny message = Forged AOL mail, connection denied! log_message = Forged AOL mail, connection denied! senders = *@aol.com condition = ${if match {$sender_host_name}{\Nmx.aol.com$\N}{no}{yes}} delay = 3s deny message = Forged Netscape Mail, connection denied! log_message = Forged Netscape Mail, connection denied! senders = *@netscape.com condition = ${if match {$sender_host_name}{\Nnetscape.com$\N}{no}{yes}} delay = 3s deny message = Forged Netscape Mail, connection denied! log_message = Forged Netscape Mail, connection denied! senders = *@netscape.net condition = ${if match {$sender_host_name}{\Nnetscape.net$\N}{no}{yes}} delay = 3s deny message = Forged Comcast Mail, connection denied! log_message = Forged Comcast Mail, connection denied! senders = *@comcast.net condition = ${if match {$sender_host_name}{\Ncomcast.net$\N}{no}{yes}} delay = 3s deny message = Forged Comcast Mail, connection denied! log_message = Forged Comcast Mail, connection denied! senders = *@comcast.com condition = ${if match {$sender_host_name}{\Ncomcast.com$\N}{no}{yes}} delay = 3s deny message = Forged Verizon Mail, connection denied! log_message = Forged Verizon Mail, connection denied! senders = *@verizon.com condition = ${if match {$sender_host_name}{\Nverizon.com$\N}{no}{yes}} delay = 3s deny message = Forged Verizon Mail, connection denied! log_message = Forged Verizon Mail, connection denied! senders = *@verizon.net condition = ${if match {$sender_host_name}{\Nverizon.net$\N}{no}{yes}} delay = 3s deny message = Forged Paypal Mail, connection denied! log_message = Forged Paypal Mail, connection denied! senders = *@paypal.com condition = ${if match {$sender_host_name}{\Npaypal.com$\N}{no}{yes}} delay = 3s deny message = Forged Prodigy Mail, connection denied! log_message = Forged Prodigy Mail, connection denied! senders = *@prodigy.com condition = ${if match {$sender_host_name}{\Nprodigy.com$\N}{no}{yes}} delay = 3s deny message = Forged Prodigy Mail, connection denied! log_message = Forged Prodigy Mail, connection denied! senders = *@prodigy.net condition = ${if match {$sender_host_name}{\Nprodigy.net$\N}{no}{yes}} delay = 3s deny message = Forged RoadRunner Mail, connection denied! log_message = Forged RoadRunner Mail, connection denied! senders = *@rr.com condition = ${if match {$sender_host_name}{\Nrr.com$\N}{no}{yes}} delay = 3s deny message = Forged RoadRunner Mail, connection denied! log_message = Forged RoadRunner Mail, connection denied! senders = *@rr.net condition = ${if match {$sender_host_name}{\Nrr.net$\N}{no}{yes}} delay = 3s deny message = Forged Gmail, connection denied! log_message = Forged Gmail, connection denied! senders = *@gmail.com condition = ${if match {$sender_host_name}{\Ngmail.com$\N}{no}{yes}} delay = 3s |