Web Hosting Talk







View Full Version : mail relay is open,


need-info
04-18-2001, 06:43 PM
:confused:

I have Vdi based sever and I noticed that the mail relay is open, but I don't know how to close it and make it automaticly add clients when they check their mail.

This is what i need.......

SMTP will only work if you have checked your email within 20 minutes of when you want to send. If you havent you will get an error, and you will need to whack the send/recieve button a few times to get the letter to go out.

If any one here has any suggestions please let me know.

jw
04-18-2001, 06:51 PM
then you will have to add every users ip or hostname to allow them to send mail using their address on your server...its more of a hassle than risking leaving relay open

need-info
04-18-2001, 08:53 PM
any other suggestions please

need-info
04-18-2001, 11:44 PM
I have been reading through older post and it looks like this feature should have been set-up by default.

If there are any VDI host here that can share some info how you resolved this problem it would be greatly appreciated.

AP
04-19-2001, 12:00 AM
What you want is called POP-before-SMTP. What it means is that you have a deamon running which checks for your users when they check their POP e-mail which requires authentication. It then logs the users IP number and lets SMTP know that it can relay from that IP. After a certain amount of time (15, 20 mins or so) it will take that IP out of the authorized relay list for SMTP. SMTP is configured so that it normally does not relay. Your users will therefore have to check their POP e-mail before they are able to send mail, hence the term POP-before-SMTP.

I don't host with VDI, but it is a fairly standard feature with most dedicated server providers. I would see if they will install it for you.

If not there are several ways to implement it yourself. The one I like the best is a little perl program called poprelayd. You can get it at http://poprelay.sourceforge.net/. It's small and simple and requires very little modification to Sendmail (I'm assuming you are using Sendmail), and is reliable. There are others out there, one that comes to mind is DRAC, although I could never get it to work right.

Whatever you do, do NOT leave the relay open. You will be sorry if you do.

Good luck.

AP