Web Hosting Talk







View Full Version : Email error.


toma1708
11-29-2002, 12:59 PM
Hi,

I receive regularly this kind of message:

SMTP error from remote mailer after end of data:
host abc.com [216.180.0.0]: 550 rejected:
cannot route to sender <nobody@abc.xyz.com>

All errors are coming from PHP scripts sending mail (phpBB, etc).

What should be done in order to avoid this ?

Thank you very much.

MotleyFool
11-30-2002, 10:19 AM
This is most probably if you dont have carriage returns in place in your SMTP message.

RFC 821 says a line should be a max of 1000 characters including the terminator. Your script is probably piping a lot of text to the mail

toma1708
11-30-2002, 10:41 AM
So this is finally a script problem, correct ?

And this one also ?

vili@electrica.rdsct.ro
SMTP error from remote mailer after RCPT TO:<vili@electrica.rdsct.ro>:
host mail.rdsct.ro [212.93.137.18]: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

MotleyFool
11-30-2002, 11:37 AM
The second one happens in two cases,

1. the sender's email doesn't have a pop account on the server [in case you have enabled pop-before-smtp which is nowadays
the standard]

2. the sender's IP has changed or if the cron job clearing the authenticated IP's has just run.

In case 1 you cant do any thing [better not cos he may be spamming you]. In case 2 ask him/her to first recieve from a pop account and then send