Monday, 24 August 2009

How to stop the open relay for exim

#  telnet yourdomainname,com/xxx.xxx.xxx.xx  25


helo client.server.com


mail from: xxx@somedomain.com


rcpt to: yyy@somedomain.com


If you are getting the error “554 : Relay access denied” then the server is not an openRelay


If not Just pass the command “DATA” sfter the recipient and then enter the message ending with a period ie : “.”


If you get the reply “SUCCESS Relay Accepted – final response code 550?


Then as you feared your server is subjected to open relay and if not enjoy………. It is not


I hope your server is not open relay supporting, but if it is so, as it is a Cpanel Server you can stop it normally using the below scripts


#  /scripts/fixrelayd


#  /etc/rc.d/init.d/antirelayd restart


# service exim restart

No comments:

Post a Comment