Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email open relay

Status
Not open for further replies.

red2000

Programmer
Joined
Sep 20, 2000
Messages
2
Location
NZ
I've got a couple of scripts that send email. When the recipient tries to reply to them he is getting an open relay error. What does this mean? How do I get around the problem? [sig][/sig]
 
two questions:

1) can the recipient usually send email?

2) How are you sending it? Net::SMTP? It might well be the return address you're specifying that's causingthe problem.. [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>Making mistakes, so you don't have to. &lt;grin&gt;[/sig]
 
I've just found out the problem.

My customer has an email address at his hosting company called user@domain.com. Email comes from the site addressed to him. This isn't his email address - his real address is real@otherdomain.com. But when he replies, he wants to send it as user@domain.com so as not to confuse his customer.

When he sends the mail he gets the open relay error because he's not using the real email address. This is a valid security message from his hosting company (his checking stops spammers). What he needs to do is check for incoming email before he sends any - this way his hosting company has his IP address and knows that it is valid (because he's used a username and password).

He's now set his email program (Eudora) to automaticall check for mail before sending so all is now well.

This is not a perl problem so sorry for cluttering up this forum with it.

Later.

[sig][/sig]
 
Not at all -- and thanks for posting the solution Red, see you again. [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>Making mistakes, so you don't have to. &lt;grin&gt;[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top