turning off relaying in exim

Raul A. Gallegos raul at asmodean.net
Thu Aug 29 17:06:02 EDT 2002


Igor Gueths said the following on Thu, Aug 29, 2002 at 04:37:31PM -0400:
> Hi all. Recently when testing some avenues into my system, I came across
> the fact that I was relaying mail from my domain to anywhere on the
> internet. I wanted to disable this, so I went into /etc/exim.conf and
> commented out relay_domains. However after restarting exim, relaying still
> seems to be turned on. Does anyone know how to turn it off or whether or
> not there are other files where relaying could be turned on? Thanks!

Don't comment it out.  Instead leave it as is but don't put any domains
in the line after the equal sign.

Also, check the line:

local_domains = localhost

So that only your host can relay though.

One more setting, host allow line like this:

host_accept_relay = "127.0.0.1:192.168.1.0/7"

So that you can allow specific ips to relay.  if you only specify
localhost then that is all that is allowed.
 Good luck.

> 
> microsoft dialogue
>    This company has performed an illegal operation and will be shut down.
>    If the problem persists, delete winblows and install linux
>    close button
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Yesterday is history, tomorrow is a mystery, today is a gift.
Enjoy that gift, that's why it's called the present.
Raul A. Gallegos http://www.asmodean.net/contact.html




More information about the Speakup mailing list