Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th September 2006, 02:30
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 187
Thanks: 3
Thanked 3 Times in 3 Posts
Default External mail server with gmail MX service

Hi.
I'm tryng to use external mail service offered by Gmail setting how MX the 5 mail server of Gmail.

i have a problem making this....

I have setting on my domain the option "external mail server" on the host www.mysite.com and host mysite.com

When setting up the host "mail.mysite.com" in dns manager i have added IP address of my machine, and have hadded 5 mail server of Gmail in the MX section of DNS manager.

Quering host mail.mysite.com:

Getting MX record for mail.mysite.com (from local DNS server, may be cached)... Got it!

Host Preference IP(s) [Country]
alt1.aspmx.l.google.com. 10 72.14.205.27 [US]
alt2.aspmx.l.google.com. 20 64.233.167.114 [US]64.233.167.27 [US]

This test see correctly the MX address of Gmail server....

But.......
when send an email to test@mysite.com form email address hosted on the same server, it return this error postfix message:

The Postfix program

<test@mysite.com>: mail for mysite.com loops back to
myself

Postfix tryng to send this mail at host mail.mysite.com with my ip...
But host mail.mysite.com have different external Gmail mail server.

I can not add to host mail.mysite.com an IP...because Gmail mail server not offer a static ip to associate to my host mail.mysite.com

He is obvious that host mail.mysite.com try to send mail at ip address associated to host mail.mysite.com

How can solve this Issue!?!?!
I can not use Gmail external mail service?!
https://www.google.com/a/
Reply With Quote
Sponsored Links
  #2  
Old 10th September 2006, 03:01
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 187
Thanks: 3
Thanked 3 Times in 3 Posts
Default

My dns is autoritative for this domain and have waith for 48 hour..........
Reply With Quote
  #3  
Old 10th September 2006, 14:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

What is the output of:

hostname -f
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 10th September 2006, 16:58
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 187
Thanks: 3
Thanked 3 Times in 3 Posts
Default

output is:
server3.myserver.org (my server...not my site)
Reply With Quote
  #5  
Old 10th September 2006, 17:55
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 187
Thanks: 3
Thanked 3 Times in 3 Posts
Default

Hi.
I have added mail server ASPMX.L.GOOGLE.COM
to /etc/postfix/local-host-names and restart postfix..

I will receive mail in next the 48 hours ??!!

Thanks.
Josef
Reply With Quote
  #6  
Old 10th September 2006, 18:34
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 187
Thanks: 3
Thanked 3 Times in 3 Posts
Default

after adding the gmail mail server to local host name i have the same error:
The Postfix program

<test@mysite.com>: mail for mysite.com loops back to
myself

Reply With Quote
  #7  
Old 11th September 2006, 09:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,715
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Please post an excerpt of your mail.log
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 11th September 2006, 13:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by adrenalinic
after adding the gmail mail server to local host name i have the same error:
The Postfix program

<test@mysite.com>: mail for mysite.com loops back to
myself

Add mysite.com to the end of /etc/postfix/local-host-names and restart Postifx.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 11th September 2006, 14:19
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 187
Thanks: 3
Thanked 3 Times in 3 Posts
Default

Hi.
I have see a courious problems....i have tryed to send mail from webmail with squirrel mail from email hosted on the same server but is a different domain, to domain which point to google mail server.
When send this mail....is sended whit mail postmaster@example.com and not postmaster@mydomain.com!!!!!!
I have see in the virtual user table and not exist any instance whit example.com!!

Reply With Quote
  #10  
Old 12th September 2006, 17:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by adrenalinic
When setting up the host "mail.mysite.com" in dns manager i have added IP address of my machine, and have hadded 5 mail server of Gmail in the MX section of DNS manager.

Quering host mail.mysite.com:

Getting MX record for mail.mysite.com (from local DNS server, may be cached)... Got it!

Host Preference IP(s) [Country]
alt1.aspmx.l.google.com. 10 72.14.205.27 [US]
alt2.aspmx.l.google.com. 20 64.233.167.114 [US]64.233.167.27 [US]

This test see correctly the MX address of Gmail server....

But.......
when send an email to test@mysite.com form email address hosted on the same server, it return this error postfix message:
I think what you want is an MX record for mysite.com instead of mail.mysite.com. Have a look at these two tutorials, and a lot of things should be clearer: http://www.howtoforge.com/ispconfig_dns_godaddy
http://www.howtoforge.com/traditional_dns_howto
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
Can't get MX for external mail server to work semmelbroesel Installation/Configuration 4 25th November 2005 17:48


All times are GMT +2. The time now is 13:51.


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