turning off relaying in exim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First of all you need to see why relaying is being allowed.
It is sometimes necessary to accept smtp from localhost because some
muas put messages in like this.
to do relay testing try this:

exim -bh ip.address.not.hostname
helo fully.qualified.domain.name
mail from:email.address at valid.domain
rcpt to:valid.target at domain.name
data
tra la la la
.
Note that the above was a fullstop on a line by itself.
As you run this procedure exim will tell you what cheks are beeing performed.
It tells you which fail which succeed and why relaying works or
doesn't.
relay_domains lets you specify who can relay by fqdn.
sender_accept_relay tells you by networks a nd ip addresses.
the spec.txt has a rather nice section that sets it all out rather nicely;
and it got easier to understand since exim v3.0. I recall 1.61 relay
controls;
sender_accept_relay sender_reject_relay and sender_reject_relay_except or some silliness.
If you have further problems or need clarifications le tme know.

Regards, Kerry.
On Thu, Aug 29, 2002 at 04:37:31PM -0400, Igor Gueths wrote:
> 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!
> 
> 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
> 
> 

-- 
Kerry Hoath:  kerry at gotss.net kerry at gotss.eu.org or  kerry at gotss.spice.net.au
ICQ: 8226547 msn: kerry at gotss.net Yahoo: kerryhoath at yahoo.com.au





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux