Re: postfix with PHP on Mac OS X

From: Date: Thu, 22 Jul 2004 21:03:43 +0000
Subject: Re: postfix with PHP on Mac OS X
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191568@lists.php.net to get a copy of this message
One way to reduce the amount of spam your server receives is to have it validate the domain of the sender. In this case, the mail server tried to lookup the domain rahul.local, which of course doesn't exist, so your mail was rejected. Read up on the mail() command, specifically the additional headers where you can specify the MAIL FROM. http://us2.php.net/manual/en/function.mail.php One thing that helped me in understanding how the mail process worked was to walk through it manually from the terminal. It's ridiculously simple what goes on in transferring a message to another mail server. Which explains why some viruses have there own mail servers built-in. On Jul 22, 2004, at 4:49 PM, PHP Junkie wrote:
Astrum Et Securis I tried using the "mail" command at the Terminal Window.... In fact it did have all my sent messages recorded there, but they are all giving an error... Which is something like this: __________ Content-Description: Delivery error report Content-Type: message/delivery-status Reporting-MTA: dns; rahul.local Arrival-Date: Thu, 22 Jul 2004 16:39:14 -0400 (EDT) Final-Recipient: rfc822; myemail@nycap.rr.com Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; host nymx-1.nyroc.rr.com[24.92.226.31] said: 553
    5.1.8 <www@rahul.local>... Domain of sender address www@rahul.local does
    not exist (in reply to MAIL FROM command)
__________ And then the content of the Email follows. The name of my server (localhost) is "rahul.local" I'm not sure what this error is trying to tell me... Any help will be greatly appreciated. Thanks, Rahul S. Johari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577


« previous php.general (#191568) next »