I'm new to server configuration, I have used rented webservers a lot, but I tried venturing myself with a VPS to run my own web/email server.
All is good, I installed VestaCP to help me with dealing with everything related, and I set up the DNS records on my
.ovh domain (OVH manage panel) as follows (text format, replaced Server ip for
[server_ip] and domain name for
[my_domain], I kept the dots after the domain name though, so you know I'm using them [eg.:
$TTL 3600 @ IN SOA dns109.ovh.net. tech.ovh.net. (2015082409 86400 3600 3600000 300) IN NS dns109.ovh.net. IN NS ns109.ovh.net. IN MX 10 [my_domain]. IN A [server_ip] IN TXT "1|www.[my_domain]" _imaps._tcp IN SRV 0 0 993 [my_domain]. _submission._tcp IN SRV 0 0 465 [my_domain]. ftp IN CNAME [my_domain]. pop IN CNAME [my_domain]. smtp IN SRV 0 0 25 [my_domain]. smtp IN SRV 0 0 587 [my_domain]. www IN MX 10 [my_domain]. www IN A [server_ip] www IN TXT "3|welcome" www IN TXT "l|pt"
Most of the configurations are default, I only set an A record to my server ip, and as I was trying to get email to work, I set an MX record priority 10 to point to my domain, which then points to my server because of the A record (at least that is what I understand...).
As of now, the email works and I am able to send and receive email through roundcube, what I can not do is use POP3/IMAP and SMTP to use a different email client...
I never really had to change DNS settings, so I dont even know what to look for when I search for help...
If any extra information is needed, just ask for it :)