Re: php mail() function
| From: | James Prentice | Date: | Sat, 24 Oct 2009 20:00:00 +0000 |
| Subject: | Re: php mail() function | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299305@lists.php.net to get a copy of this message | ||
Thanks, John. I set up the sasl_passwd file as per your instructions
but am still getting status=bounced. I'm wondering, what should the
values in main.cf be for 'myhostname' and 'mydestination'?
These pages give some info on the Shaw mail servers, but I'm not
certain which I should be using:
http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/Email/ServiceDetails.htm
http://www.shaw.ca/en-ca/CustomerCare/InternetSupport/Residential/RoutersandShawServerNames.htm
Also, I notice that in the mail.log file, the 'from:' value is
'www-data@homemade'. The actual 'from:' value is provided to the php
mail() function via a web form, so should be somebody's email address
(e.g. my own in this case).
from=<www-data@homemade>, size=523, nrcpt=1 (queue active)
Oct 24 12:49:40 homemade postfix/error[7530]: B80B7A70109:
to=<xxx@gmail.com>, relay=none, delay=0.04, delays=0.03/0/0/0.01,
dsn=5.0.0, status=bounced (shawmail)