D
D
Draug2014-10-16 23:13:09
gmail
Draug, 2014-10-16 23:13:09

How to set up MX records for a domain?

Hi all.
There is a domain, let's call it xyz.com, it is linked to Google Apps and letters are sent to [email protected]
MX records are in order by type:

ASPMX.L.GOOGLE.COM. 1
ALT1.ASPMX.L.GOOGLE.COM.	5
ALT2.ASPMX.L.GOOGLE.COM.	5
ASPMX2.GOOGLEMAIL.COM.	10
ASPMX3.GOOGLEMAIL.COM.	10

Froxlor is also installed on the server , Postfix / Courier is installed through it and the [email protected] address is created, but now there is a problem.
How to distribute values ​​correctly so that both Google and your client do not swear and work with each other.
What did I do.
Since I don’t understand much about this, I decided to give
MX xyz.com 1 3600
it and put 2ku
MX ASPMX.L.GOOGLE.COM 2 3600
But then everything went wrong ... Google stopped receiving mail, but it can send. And Postfix works as it should.
So here's the question. How to configure all this porridge so that it works?
PS
The domain is taken from inwx (there may already be clients)
P.SS.
If you messed up something with the terms, do not kick.
Many thanks in advance to everyone!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
microphone, 2014-10-17
@DraugDev

1) usually, according to feng shui,
they create in the dns first type "SOA"
if your services are on the same server, write briefly and beautifully like this:
@ IN A 11.22.33.44
@ IN MX 10 mail
www IN CNAME xyz.com.
ftp IN CNAME xyz.com.
mail IN CNAME xyz.com.
then you need to familiarize yourself with the types of DNS records at least "MX" and its parameters,
(MX xyz.com 1 3600)
there are server priorities, you accordingly need to CORRECTLY display which of the servers by priority messages should fly to, to your server or to one of Google's in case your
2) it is worth noting that changes in dns do not occur instantly.
3) in advance it is worth making sure that the mail server is correctly configured so that letters go in both directions.
4) what's the point of raising your mailer if you can use Google's? + In the same place it is possible to forward all mail to other box for example as an option.
5)

How to distribute values ​​correctly so that both Google and your client do not swear and work with each other.

What does your client mean? Email client (Mozil's zinderbird || outglitch || the bat ..)? So set up to connect to Google's servers and let the letters go there. e.g. for IMAP protocol

G
Glueon, 2014-10-17
@Glueon

I have not dealt with this registrar. You are asked to change MX records for your domain name and are provided with a list of google server pairs and priority.
Accordingly, if we consider the record ASPMX.L.GOOGLE.COM. 1, somehow you need to add a record at the registrar by selecting "xyz.com" as the domain. (or "@") type "MX", priority "1", as value/data "ASPMX.L.GOOGLE.COM.".
And so for everyone else. Notice the dot at the end of the domains. They should be. However, some registrars can add them themselves, so they swear if they are.
If it doesn't work out, get in touch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question