Help - Search - Members - Calendar
Full Version: How to CLOSE the Relay on my Exim Mail Server ...
The Planet Forums > Security > General Security > UNIX Security
TheFuzzyBear
Hi folks,

I just found out from my web hosting service that by default my dedicated RedHat Enterprise Linux server is setup with the Exim Mail Queue with relays OPEN. But I need to CLOSE them in order to prevent spammers from sending email thru my server.

I found a post on the web which partially answered the question and the solution was 3 lines of code.

Close open relay
Posted on Tuesday, October 26 @ 00:24:26 EEST
Topic: Exim
To close the open relay run:

/scripts/fixrelayd
/etc/rc.d/init.d/antirelayd restart
service exim restart

The problem is the last line of code gave an error
That line was

service exim restart

but when I tried to run it from my SSH session I got a command not found error with service.

Anybody know what needs to be done to finish the sequence ?

Christopher
eddy2099
I assume you are using Cpanel/WHM, if so, you can just restart EXIM from WHM itself. It is somewhere at the bottom of the list.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.