Open mail relay

RingToons

Verified User
Joined
Jul 28, 2003
Messages
51
Hi,

I see on my server open mail relay is active.
How can I block this option, and what is it doing?

Thanks for your help!
 
Hello,

DA doesn't use an open relay. However, the da-popb4smtp program will make it seem to you as through there is an open relay if you've checked your pop account within that last 30 minutes. Your upon sucessful pop checking, your ip is added to /etc/virtual/pophosts. If your ip is in that file, you don't need to authenticate for smtp. Your IP should be removed after 30 minutes.

www.dnsreport.com will do an open mail relay test if you want to be sure.

John
 
What if I want to relay for a certain pool of IP's? How do I set that up? I am an ISP and some of my users host there email elsewhere but still want to relay through me.

Matthew
 
One way would be to make a duplicate file, similar to the /etc/virtual/pophosts file.

Make your own, such as /etc/virtual/relay_ips, then edit the /etc/exim.conf line that says:

hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : 127.0.0.1

to

hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts : /etc/virtual/relay_ips : 127.0.0.1

and restart exim. You'd put each IP on a line in the relay_ips file.

John
 
and restart exim. You'd put each IP on a line in the relay_ips file.

Can I format like this instead?

192.168.1.0/24

I have nearly a 1000 IP's to relay for. It would be nice if this were in the GUI like on the RAQ's and others.

Matt
 
Back
Top