* turning off relaying in exim
@ Igor Gueths
` Raul A. Gallegos
` Kerry Hoath
0 siblings, 2 replies; 4+ messages in thread
From: Igor Gueths @ UTC (permalink / raw)
To: speakup
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off relaying in exim
turning off relaying in exim Igor Gueths
@ ` Raul A. Gallegos
` Igor Gueths
` Kerry Hoath
1 sibling, 1 reply; 4+ messages in thread
From: Raul A. Gallegos @ UTC (permalink / raw)
To: speakup
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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off relaying in exim
` Raul A. Gallegos
@ ` Igor Gueths
0 siblings, 0 replies; 4+ messages in thread
From: Igor Gueths @ UTC (permalink / raw)
To: speakup
Hi Raul. Thanks for the info fixed it
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
On Thu, 29 Aug 2002, Raul A. Gallegos wrote:
> 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@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
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: turning off relaying in exim
turning off relaying in exim Igor Gueths
` Raul A. Gallegos
@ ` Kerry Hoath
1 sibling, 0 replies; 4+ messages in thread
From: Kerry Hoath @ UTC (permalink / raw)
To: speakup
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@valid.domain
rcpt to:valid.target@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@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
--
Kerry Hoath: kerry@gotss.net kerry@gotss.eu.org or kerry@gotss.spice.net.au
ICQ: 8226547 msn: kerry@gotss.net Yahoo: kerryhoath@yahoo.com.au
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
turning off relaying in exim Igor Gueths
` Raul A. Gallegos
` Igor Gueths
` Kerry Hoath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).