Thursday, November 4, 2010

Properly Rejected Invalid Emails

Just read the method given below to resolve this issue :-

Mail queue fill up with bounce messages to non-existant spammer email addresses, By default. If an email comes into your server addressed to an invalid recipient, Exim will accept the message from the delivering agent, and then generate a return email to them explaining that the address is invalid, With this little tweak, you can make exim tell the delivering agent,Tthat address is invalid at the time the message is being delivered.

********************************************************************

Method <1>
. Open WHM and click on Exim Configuration Editor

. Click on the Switch to Advanced Mode button.
. Scroll down until you see the section on ACL's. You'll see three boxes. In the middle box, locate the section that reads - See Section A:
--------------------------------------------------------------------------------------------

Method <2> Recommended

. Login into SSH and su to root.

. pico /etc/exim.conf

. Ctrl + W and type in: accept  domains , Notice the two spaces. Look for something like this below.


Section A :-

accept  domains = +local_domains
accept  domains = +relay_domains
accept  hosts = +relay_hosts
accept  condition = ${perl{checkrelayhost}{$sender_host_address}}

Between

accept domains = +local_domains

&

accept domains = +relay_domains

add the following:

endpass
message = unknown user
verify = recipient

Make sure each line lines up,You might need to add two spaces before each line, The final section will look like this. :-

accept domains = +local_domains
endpass
message = unknown user
verify = recipient
accept domains = +relay_domains
accept hosts = +relay_hosts
accept condition = ${perl{checkrelayhost}{$sender_host_address}}

Scroll all the way to the bottom and click on Save.

--------------------------------------------------------------------------------------------

No comments:

Post a Comment