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.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12th November 2011, 15:58
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Red face ISP Config 2: From POP3/SMTP to GMail/Google

I have fully functional ISP Config 2 server (ubuntu) on one IP/Domain and second IP/Domains for shared hosting.

On second IP(shared) there is Domain (MyDomain.com) that used local mail server (postfix) for years without any problem and with all records set. They want to move mail to GMail/Google. All steps that I know of are in order but mail is not working so I'm missing something. Here is what I have done so far.

1) IPS Manager/Sites/MyDomain Site
Co-Domains:
Domain: MyDomain.com
Options: Mailserver: External Mailserver
2) DNS Manager/MyDomain.com/Records
aspmx.l.google.com.
alt1.aspmx.l.google.com.
alt2.aspmx.l.google.com.
aspmx2.googlemail.com.
aspmx3.googlemail.com.
3) in named.conf there is:
zone "mydomain.com" {
type master;
file "pri.mydomain.com";
};
4) in pri.mydomain.com there is:
$TTL 86400
@ IN SOA not shared IP. mydomain.mydomain.com. (
2011111201 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS IP of server that is not shared IP. ; Inet Address of name server 1
NS nameserver.com. ; Inet Address of name server 2
;

MX 10 aspmx.l.google.com.
MX 20 alt1.aspmx.l.google.com.
MX 20 alt2.aspmx.l.google.com.
MX 50 aspmx2.googlemail.com.
MX 50 aspmx3.googlemail.com.

mydomain.com. A mydomain IP
www A mydomain IP

mydomain.com. TXT "v=spf1 a mx ptr ~all"

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;

5) dig mx mydomain.com gives:
; <<>> DiG 9.4.2-P2.1 <<>> mx mydomain.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33901
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mydomain.com. IN MX

;; ANSWER SECTION:
mydomain.com. 2118 IN MX 10 mail.mydomain.com.

;; Query time: 1 msec
;; SERVER: someIP#53(someIP)
;; WHEN: Sat Nov 12 15:55:41 2011
;; MSG SIZE rcvd: 51

6) local-host-names is:

###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
maindomain.com
localhost.maindomain.com
localhost.com
localhost.localdomain
mail.mydomain.com
forum.mydomain.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####


something is wrong and I cannot see it, although it is probably screaming and jumping in front of me
bold section is problem I know, but dont know where does it came from

Last edited by _X_; 12th November 2011 at 16:12.
Reply With Quote
The Following User Says Thank You to _X_ For This Useful Post:
nflcorbin (19th November 2011)
Sponsored Links
 

Bookmarks

Tags
gmail, google, isp config 2, mail, mx records

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
ISP Config 3 Postfix won't receive external mail pchelp2u Server Operation 18 19th August 2011 15:31
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09


All times are GMT +2. The time now is 05:00.


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