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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ISP Block?

Status
Not open for further replies.

EEYooper

Technical User
Jan 18, 2005
11
US
I am new to sendmail.

My company webserver is A. (My company email server is B. (mail.somedomain.com where A and B have different IPs but same ISP).
My home email server is C. (mail.anotherdomain.com where A and B and C have different IPs but same ISP)

When I use sendmail (php 'mail()' command) to send a message to my work address (from A to B), the postmaster on server A gets an error reply message stating, "Diagnostic-Code: SMTP; 550 you are not allowed to send mail to <myworkaddress>"

When I use sendmail to send a message to myself@Yahoo.com (from A to Yahoo.com), the message flies through without any problems.

When I use sendmail to send a message to my home address (from A to C), the postmaster on A gets the error message again - "Diagnostic-Code: SMTP; 550 you are not allowed to send mail to <Myhomeaddress>"

What sendmail configuration changes do I need to make to avoid this problem? The ISP will not help with sendmail configuration changes.
 
To solve this I would try telneting from A->B on port 25 and try to send mail.

I would also do this for A->C.

Error 550 is a relay error. It might be that the iprange from which the webserver is on is not allowed to relay through sendmail.

You might need to add the server to the relay file to allow it to send mail.

Gb0mb

........99.9% User Error........
 
Thanks for the help.

When I try to telnet from A->B on port 25, I get...

Trying <Server B IP address>...
Connected to <mail.somedomain.com>.
Escape character is '^]'.
Connection closed by foreign host.

The same is true when I try to telnet from A->C on port 25.

What exactly is "Escape character is '^]'" telling me?
 
it is saying you hit cntr+] to close the session.

so do this.

telnet ip.of.server 25
helo mail (helo not misspelled)
mail from: test@yahoo.com
rcpt to: test@test.com (use an actual local account the mail server receives for)
data
(says enter data till . on empty line)
This is a test
.

then it should say mail sent or give you an error why.

You are manually doing what is usually automated.

It seems that you are not accepting mail from certain ips or it is checking the domain of you mail acct vs ur IP.

Does your company mail server currently accept mail for your company?

Gb0mb

........99.9% User Error........
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top