Mail Server Fixed

changed the php.ini file to read:

sendmail_path = /usr/sbin/postfix -t -i

postfix actually changes over the “sendmail” binary I think.

There is a test doc up at:

https://beta.ine.uaf.edu/mailTest.php it contains a simple time function and mail() call. Just edit the email address there to have it send to you.

I test this out and it survives a restart.

Interesting mail headers from that message:

From: daemon@beta.ine.uaf.edu

Subject: testing php mail()

Date: October 12, 2009 2:07:22 PM GMT-08:00

To: dan.lasota@alaska.edu

Delivered-To: dlasota@alaska.edu

Received: by 10.140.173.9 with SMTP id v9cs319497rve; Mon, 12 Oct 2009 15:07:29 -0700 (PDT)

Received: by 10.114.237.19 with SMTP id k19mr10918455wah.69.1255385249483; Mon, 12 Oct 2009 15:07:29 -0700 (PDT)

Received: from volkmar.alaska.edu (volkmar.alaska.edu [137.229.10.181]) by mx.google.com with ESMTP id 28si11598981pzk.61.2009.10.12.15.07.29; Mon, 12 Oct 2009 15:07:29 -0700 (PDT)

Received: from beta.ine.uaf.edu (beta.ine.uaf.edu [137.229.113.143]) by volkmar.alaska.edu (8.14.1/8.14.1) with ESMTP id n9CM7Rb5996140 for <dan.lasota@alaska.edu>; Mon, 12 Oct 2009 14:07:28 -0800 (AKDT)

Received: from beta.ine.uaf.edu (beta.cem.uaf.edu [127.0.0.1]) by beta.ine.uaf.edu (Postfix) with ESMTP id C8D845EBE7 for <dan.lasota@alaska.edu>; Mon, 12 Oct 2009 14:07:22 -0800 (AKDT)

Received: (from daemon@localhost) by beta.ine.uaf.edu (8.13.8/8.13.8/Submit) id n9CM7MHH003934; Mon, 12 Oct 2009 14:07:22 -0800

Return-Path: <daemon@beta.ine.uaf.edu>

Received-Spf: pass (google.com: best guess record for domain of daemon@beta.ine.uaf.edu designates 137.229.113.143 as permitted sender) client-ip=137.229.113.143;

Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of daemon@beta.ine.uaf.edu designates 137.229.113.143 as permitted sender) smtp.mail=daemon@beta.ine.uaf.edu

Message-Id: <200910122207.n9CM7MHH003934@beta.ine.uaf.edu>