Forum Moderators: coopster & phranque

Message Too Old, No Replies

formmail.pl issues

it will send to gmail ok, but not my server...

         

edzillion

12:13 pm on Feb 20, 2008 (gmt 0)

10+ Year Member



I have a form on a website hosted by aplus.net - I have two recipients for the form, someone@gmail & someone@mydomain
The emails to the gmail acct go through instantly, but the @mydomain emals are either very slow or not arriving at all.
I am a little confused as to the path of the @mydomain email.
Here is my setup:
I have a server here running exchange with mx records pointing to it.
I have a site hosted by aplus.net with the form on it.

I looked at the header of the most recent recieved email (when it worked), and noticed that the first server listed is pro28.abac.com which is one of aplus's servers. Here is the header text with the domains and emails changed:

Microsoft Mail Internet Headers Version 2.0
Received: from pro28.abac.com ([66.226.64.29]) by mydomain.com with Microsoft SMTPSVC(6.0.3790.3959);
Tue, 22 Jan 2008 15:44:35 +0000
Received: from pro28.abac.com (localhost. [127.0.0.1])
by pro28.abac.com (8.14.1/8.14.1) with ESMTP id m0MFiUH1043050;
Tue, 22 Jan 2008 07:44:31 -0800 (PST)
(envelope-from someone@pro28.abac.com)
Received: (from someone@localhost)
by pro28.abac.com (8.14.1/8.14.1/Submit) id m0MFiUGw043044;
Tue, 22 Jan 2008 07:44:30 -0800 (PST)
(envelope-from someone)
Date: Tue, 22 Jan 2008 07:44:30 -0800 (PST)
Message-Id: <200801221544.m0MFiUGw043044@pro28.abac.com>
To: info@mydomain.com, someone@gmail.com
From: someone@hotmail.com ()
Subject: purchaseother
X-Spam-Score: 1.123 (FORGED_HOTMAIL_RCVD2,MAILTO_TO_SPAM_ADDR,SPF_HELO_PASS,SPF_PASS)
Return-Path: someone@pro28.abac.com
X-OriginalArrivalTime: 22 Jan 2008 15:44:36.0404 (UTC) FILETIME=[B0E86F40:01C85D0D]

Any ideas?
TIA
Ed

Dabrowski

1:22 pm on Feb 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If gmail is recieving ok then the actual sending code and servers are working fine.

The problem must be on your server, try sending some emails from your gmail account to your someone@mydomain address and see what happens.

edzillion

2:11 pm on Feb 20, 2008 (gmt 0)

10+ Year Member



try sending some emails from your gmail account to your someone@mydomain address and see what happens.

worked instantly
I think I am on to something. The site is hosted by aplus, and originally (before I worked here) the company was using mailboxes on the aplus server and using pop3 to download them. I then set up the exchange server and mx records so that mail would go directly here.
The thing is, I left the mailboxes on the aplus server, as I didn't want to change anything till I was sure there would not be a problem (oh well...)

So I went onto the aplus control panel and deleted the someone@mydomain acct, and then tried submitting the form. It gave me 'Internal Server Error' but does send the form to the gmail account. I recreated the mailbox and submitted the form again - this time it redirected to the 'thankyou for your enquiry' page...

It seems to want to send the mail to the internal mailbox and nowhere else. Is there a way I can make sure it doesent?

Dabrowski

5:30 pm on Feb 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is a hosting issue with your ISP. You'll have to ask them your requirements.

On the plus side, there's nothing wrong with your script! ;)