PHP mail() doesn't get out

software development

#1

I’m running PHP as CGI and trying to send mail via mail() in PHP. I didn’t receive my test messages, so I checked the mail queue and see that they’re being rejected. Any reason why this would be happening? Oddly, it’s rejecting the recipient address that’s hosted by DH…

This is the first time I’ve tried to send mail through DH from PHP, since I just recently signed up.

Cheers,
Jonathan

B2D31603BE 708 Wed Nov 16 16:17:22 vaxocentric@flower.dreamhost.com
(host smarty.dreamhost.com[66.33.216.24] said: 450 ######@tamu.edu: Recipient address rejected: Policy Rejection: Please try later. (in reply to RCPT TO command))
######@tamu.edu

B3CAC603C2 740 Wed Nov 16 16:28:38 vaxocentric@flower.dreamhost.com
(host smarty.dreamhost.com[66.33.216.24] said: 450 ######@JScottKelley.com: Recipient address rejected: Policy Rejection: Please try later. (in reply to RCPT TO command))
######@JScottKelley.com


#2

I’m having same problem. Got messages earlier today, but all has stopped now on all domains.

The mail function passes, as I put a check in the script (just in case)

How do you check mail queue?

Hope to solve this soon
Steve

Steve

=========================
Click for [color=#CC0000]Dreamhost Server Options[/color]


#3

‘mailq’ at the CLI (you must SSH to the server)


#4

Maybe it was just coincidental that there was just a temporary problem when I tried that… three hours later, my mail finally kicked out of the queue.

If anyone is interested, here’s the headers:

Received: from smarty.dreamhost.com (smarty.dreamhost.com [66.33.216.24])
by spoon.dreamhost.com (Postfix) with ESMTP id 688FE12DAAF
for ######@JScottKelley.com; Wed, 16 Nov 2005 19:01:27 -0800 (PST)

Received: from flower.dreamhost.com (flower.dreamhost.com [######.110.12])
by smarty.dreamhost.com (Postfix) with ESMTP id 09CA513FD77
for ######@JScottKelley.com; Wed, 16 Nov 2005 18:52:38 -0800 (PST)

Received: by flower.dreamhost.com (Postfix, from userid 111682)
id B3CAC603C2; Wed, 16 Nov 2005 16:28:38 -0800 (PST)


#5

About the same time as you (3am here) my test emails for a new form all came through. System glitch maybe?

Steve

=========================
Click for [color=#CC0000]Dreamhost Server Options[/color]


#6

I’ll attribute it to Server Gnomes (cousins of the Door Ding Gnomes)