MX record on a VPS

I’m running a VPS on OVH (vps403xxx.ovh.net) from which I send emails.
Problem is Spamassassin tells me I should publish a DNS (MX) entry for vps403xxx.ovh.net or my messages go to spam.

I know how to publish a MX record on OVH for usual domains, but it seems there is no way to do it from the OVH interface for VPS.

Any idea how to proceed ?

Thanks

Answer

You are not sending mails for @vpsxxx.ovh.net but for another domain, e.g. example.org. You need to set an MX entry in that domain pointing to vps403xxx.ovh.net. If you send mails for multiple domains, you should do this for all domains ( Setting an MX entry in ovh.net will not be possible anyway).

This is primarily important to be able to receive mails – for spam classification, other methods like SPF records (also pointing to that machine…) are more important.

Attribution
Source : Link , Question Author : maximilien , Answer Author : Sven

Leave a Comment