SCENERIO
- -add a virtual domain to the server.
- -configure external domain name provider (in this case, ENOM) to point to server.
- -configure external domain name provider to point MX records to gmail.
- -check MX records.
1.
dig -t mx domain.tld
2.
3.
;; ANSWER SECTION:
4.
domain.tld. 1800 IN MX 10 ASPMX.L.GOOGLE.com.
5.
domain.tld. 1800 IN MX 20 ALT1.ASPMX.L.GOOGLE.com.
6.
domain.tld. 1800 IN MX 30 ALT2.ASPMX.L.GOOGLE.com.
7.
domain.tld. 1800 IN MX 40 ASPMX2.GOOGLEMAIL.com.
8.
domain.tld. 1800 IN MX 50 ASPMX3.GOOGLEMAIL.com.
- -send an email from primary domain to virtual domain.
- -get a bounce basically saying "Recipient unknown"
SOLUTION
-added MailServer setting to domain
1.
db domains setprop domain.tld <b>MailServer</b> a.b.c.d
2.
signal-event email-update