FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Google domain applications issue.





mikethm
Hi! I have pointed my domain and all its' possible subdomains to servers with the exceptions of mail.miketoh.com and calendar.miketoh.com. In addition, I pointed my MX records to Googles' servers. My Joomla! based website is on server 2.

However, I have encounter this problem... when I used PHP mail function to send out emails to admin@miketoh.com... Email was not not delivered to miketoh@miketoh.com on googles' mail servers. However, when I used an pop email on my ISP account, the email successfully reached my google domain email account(s).

My question is this. Did the misdirection came about because frihost's PHP server mistakenly believe that since the domain is pointed to server2 by IP, it assumed responsibility for the MX records as well( MX records on my domain provider is pointed to google). Thus the frihost PHP mail function went and use frihost's assumed MX records and thus failed to delivery the mail to the right account( it went to the catch all account I defined on frihost account instead). Does that mean it is possible for some other senders( non frihost users) to end up with the wrong mail delivery path too? How do I resolve this?

Reason why I want to use google domain mail service instead of frihost is because of the 50GB storage offered by google. I would rather save my frihost storage space for website. Oh by the way, another possible issue I have is that I counted that my folders added up to less than 20MB of disk usage but directadmin report my usage as 25MB plus...

Thank you for your attention.
Animal
I use Google Apps for your Domain too and I had a bit of a problem that I believe to be similar:

When I signed up for the Gmail system, I designated my default admin account to be user@domain.com instead of admin@domain.com. This meant that when I logged in to the webmail system as user, if I sent any emails they were delivered from admin. This did not affect the pop/smtp service though, so emails sent from a mail client were still from user@domain.com.

There is something unusual about the admin accounts with Google Apps, so I suggest that you try what I did to solve my problem:

My advice is to create a new admin account called admin@domain.com and set it up as the administrator. You can then delete your original account then re-create it as a standard user (non-admin) account. Once you've done that, you can tell Gmail to forward all emails to admin@domain.com to user@domain.com.

STOP AND READ THIS BEFORE YOU DELETE THE ACCOUNT:
If you delete your original account (miketoh@miketoh.com), you will need to wait 5 days before it can be re-created. You can set up a mail list to accept emails sent to miketoh@miketoh.com and deliver them to admin@miketoh.com - this way you will receive your emails but you won't be able to send them from miketoh@miketoh.com until you re-create the account and have waited the 5 days.
More information is available at this Google help page and this Google help page.

As I said, the problems you're having aren't exactly the same as I had, but I think it could be related to the way Google Apps deals with the admin account - why not give this a try and see if it helps.
badai
if you want to be sure where your PHP point for your domain MX record, run this script

Code:

<?

$YOUR_HOST_HERE="badai.frih.net";

function getmxrrr($hostname, &$mxhosts)
{
   $mxhosts = array();
   exec('nslookup -type=mx '.$hostname, $result_arr);
   foreach($result_arr as $line)
   {
     if (preg_match("/.*mail exchanger = (.*)/", $line, $matches))
         $mxhosts[] = $matches[1];
   }
   return( count($mxhosts) > 0 );
}

if (getmxrrr("$YOUR_HOST_HERE", $MXHost))  {
 for ($i=0; $i < count($MXHost); $i++) {
   echo $MXHost[$i];
   echo "<br />";
 }
} else {
 echo "MX record not found for ";
 echo $YOUR_HOST_HERE;
 echo "<br />";
}
?>


just change badai.frih.net to your domain

see if it goes to google or frih.

my domain beajee.com pointed to google.

you can check here

http://beajee.com/mx.php

beajee.com is in server 2
badai
ya, it think if we already set domain here, the DNS server in server 2 will have MX record pointed to server 2 and exim will just deliver it locallly. my php script also fail to deliver mail outside.
mikethm
Thanks Animal and Badai.

@Animal, nah it is not google. Only email sent from Frihost seem not to be able to reach the google mail.

@Badai,

Ya, the MX records appear to point to google servers but frih mail delivery system still send the mail to its' squirrel mail system instead.
mathiaus
Before the mail is actually sent, try adding this line, changing the IP to the same as your MX record.
Code:
ini_set('SMTP', '***.***.***.***');
badai
doesn't work.

and the strange thing is, there is extra line in e-mail body:

Quote:
localhost


mathiaus wrote:
Before the mail is actually sent, try adding this line, changing the IP to the same as your MX record.
Code:
ini_set('SMTP', '***.***.***.***');
badai
smtp work in windows only?

http://my2.php.net/manual/en/ref.mail.php#ini.smtp
mathiaus
badai wrote:
smtp work in windows only?

Embarassed Yeah sorry. I was comparing to issues I had on my local server. Just ignore that suggestion.
badai
this is what i did

apply free subdomain from no-ip.com

set the MX record in no-ip.com

create domain alias in google

now all my php script will send e-mail to user@domain.alias
Related topics
Google Hacked?
Google Registers A Few New Domain Names
Domain Name Issue
When do you estimate the end of M$ products?
xxx@domainin.com Ţeklinde 2gb Mail (100 tane)
Blogger on Frihost
E-mails together with your domain name (read more)
Want to show my love for frihost
google maps
Funny domains
Pixlr : an online photo editor
Issue with connecting to the internet
Free Hosting
350 points exchange
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.