PHP Mail Problem

Discussion in 'Installation/Configuration' started by Hawker, Mar 4, 2007.

  1. Hawker

    Hawker New Member

    I can send mail through SMTP using outlook without any problems. The problems come in when sending an automated email through our shopping cart via PHP.

    Diagnostic-Code: X-Postfix; host[] said: 550 You are not allowed to send (in reply to MAIL FROM command)

    Received: from ( [])
    (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
    (No client certificate requested)
    by (Postfix) with ESMTP id C869E1CCB96
    for <[email protected]>; Sun, 4 Mar 2007 09:01:22 -0500 (EST)
    Received: (from [email protected])
    by (8.13.1/8.13.1/Submit) id l24E1Mu1009247;
    Sun, 4 Mar 2007 09:01:22 -0500

    I assumed this is because of the server name and attempted to change the name in /etc/hostname and using /bin/hostname -F /etc/hostname. That worked fine until reboot and the it changed back to

    Also, it could have been the (from [email protected]) and that indicates message header problems in PHP. However the header is being set properly in the PHP Script.

    Any ideas why the server name would change back?
    Any ideas on an overall fix?
  2. Hawker

    Hawker New Member

    Nevermind... Fixed it with a php_admin_value :)

Share This Page