Hello
i try to setup google apps gmail for my server, everything is setup just like instructed.
I've change the MX records, change the cname, edit the TXT record. but it seems postfix cannot find the google MX address because my domain name stuck behind it.
this is the error returned when im sending email :
Host or domain name not found. Name service error for name=aspmx4.googlemail.com.MYDOMAIN.COM type=A: Host not found
how do i remove MYDOMAIN.COM? i suspect its the cause of the problem...
Pref Hostname IP Address TTL
1 ASPMX.L.GOOGLE.COM.MYDOMAIN.com 0.0.0.0 11 hrs SMTP Test Blacklist Check
5 ALT1.ASPMX.L.GOOGLE.COM.MYDOMAIN.com 0.0.0.0 11 hrs SMTP Test Blacklist Check
5 ALT2.ASPMX.L.GOOGLE.COM.MYDOMAIN.com 0.0.0.0 11 hrs SMTP Test Blacklist Check
10 ASPMX2.GOOGLEMAIL.COM.MYDOMAIN.com 0.0.0.0 11 hrs SMTP Test Blacklist Check
10 ASPMX3.GOOGLEMAIL.COM.MYDOMAIN.com 0.0.0.0 11 hrs SMTP Test Blacklist Check
i use Bind to manage my dns records, i input google apps MX records without MYDOMAIN.com.
my bind settings are:
$ttl 38400
@ IN SOA server.myhost.net. root.server.myhost.net. (
1268389339
10800
3600
604800
38400 )
MYDOMAIN.com. IN A 202.59.xxx.xxx
www.MYDOMAIN.com. IN A 202.59.xxx.xxx
localhost.MYDOMAIN.com. IN A 127.0.0.1
webmail.MYDOMAIN.com. IN A 202.59.xxx.xxx
admin.MYDOMAIN.com. IN A 202.59.xxx.xxx
MYDOMAIN.com. IN TXT "v=spf1 include:aspmx.googlemail.com ~all"
MYDOMAIN.com. IN MX 1 ASPMX.L.GOOGLE.COM
MYDOMAIN.com. IN MX 5 ALT1.ASPMX.L.GOOGLE.COM
MYDOMAIN.com. IN MX 5 ALT2.ASPMX.L.GOOGLE.COM
MYDOMAIN.com. IN MX 10 ASPMX2.GOOGLEMAIL.COM
MYDOMAIN.com. IN MX 10 ASPMX3.GOOGLEMAIL.COM
mail.MYDOMAIN.com. IN CNAME ghs.google.com
anything.MYDOMAIN.com. IN CNAME ghs.google.com
ns1.MYDOMAIN.com. IN NS ns1.myhost.net
ns2.MYDOMAIN.com. IN NS ns2.myhost.net
Howdy,
Whenever you add domain names into the DNS system, if it's a fully qualified domain name, it needs to end with a "." character.
That is, when you add domain names using System -> DNS Domain, you can't add "aspmx4.googlemail.com", you actually have to use the name "aspmx4.googlemail.com." (note the . at the end). Otherwise, it'll append your domain name to it.
-Eric
I'm not sure I understand what you mean when you say it's sending "loop mail"... can you describe the problem you're having, and share any errors you're seeing?
As far as the "from" address goes in outgoing email -- what email program are you using? It may be a matter of setting the from address in the preferences of the email program.
-Eric