View Single Post
  #1  
Old 12th November 2011, 16: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 17:12.
Reply With Quote
Sponsored Links