Prev Previous Post   Next Post Next
  #1  
Old 23rd September 2008, 07:36
cat cat is offline
Member
 
Join Date: Sep 2008
Location: Australia
Posts: 40
Thanks: 9
Thanked 3 Times in 3 Posts
Default php email script www-data

Thanks for a great product, ispconfig is making site management much easer.

I am writing a php script that sends an email to the user who fills in a form, and a copy of the email to the sales department of the site. When the out ward bound email arrives the Recipient/From looks like www-data@mail.myserver.mydomain.com when it should look like sales@mydomain.com and the email that should go to the sales department never arrives.

I have setup the site with two Co-Domains both with DNS: and DNS MX: ticked

ip_address www mydomain.com
ip_address mydomain.com

I have set up two users
user1 user1@mydomain.com
user2 sales@mydomain.com

when I view the mail source of the test email the arrives I see (ip addresses changed to protect the innocent).

From www-data@mail.myserver.mydomain.com Tue, 23 Sep 2008 00:00:51 -0400
Received: from kumquat.safe-mail.net ([0.0.0.])
by tamar.safe-mail.net with smlocal (smtas 1.2);
Tue, 23 Sep 2008 00:01:21 -0400
DomainKey-Status: not-signed (some+real)
X-SMTests: g00nmp0i0b0aR00u
Received: from 0.0.0.0.dynamic.rev.aanet.com.au ([0.0.0.0] helo=mail.myserver.mydomain.com)
by kumquat.safe-mail.net with esmtp (TLSv1/SSLv3:AES256-SHA:256) (smtpd 1.0)
id N1K-PWiIWDsmZX
for myaccount@safe-mail.net; Tue, 23 Sep 2008 00:00:51 -0400
Received-SPF: no-spf
Received: by mail.myserver.mydomain.com (Postfix, from userid 33)
id 15929186C0; Tue, 23 Sep 2008 12:01:02 +0800 (WST)
To: myaccount@Safe-mail.net
Subject: Your Quote Request
MIME-Version: 1.0

Content-type: text/html; charset=iso-8859-1

To: myaccount@Safe-mail.net

From: sales@mydomain.com

Cc:

Message-Id: <20080923040102.15929186C0@mail.myserver.mydomain. com>
Date: Tue, 23 Sep 2008 12:01:02 +0800 (WST)
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Help with Bluetooth PAND josto HOWTO-Related Questions 1 7th August 2007 20:53
Transferring Hard Drive to new System latcarf Installation/Configuration 26 20th February 2007 18:51
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 15:55
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58


All times are GMT +2. The time now is 09:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.