Redirecting email to separate mail-server - Are my DNS records set right?

Hello!

I would like to know if my DNS records are set right.
I have set up an email server having certain IP-address. Goal is to redirect emails adressed to mydomain.com (hosted on other server) to this email server.

On the server hosting mydomain.com I have tried to set DNS-records to redirect incoming email.
The records for this are like:


mail            400    A     123.123.123.123
mydomain.com    400    MX    mail

Is this the correct syntax?