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@xxxxxxxxx>, relay=none, delay=0.04, delays=0.03/0/0/0.01, dsn=5.0.0, status=bounced (shawmail) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php