Hi i have a domain which registrar/webpage hosting/email hosting service were kept with a company. however, i now wish to host my own emails, but let the company continue hosting our company's webpage. please help as i am new to this.
what i did:
1) subscribe custom dns and sendlabs service with dyndns
2) get the company to point the name server of my domain to dyndns
3) on the dyndns website, point the mx records to dyndns as well.
4) download and installl dyndns updater client on my server
5) on the dyndns website, point
www.example.com to the webhosting company but point example.com and mail.example.com to my server
please see below picture:

problems i faced:
mails does not come in, but went to the webhosting company's server instead. are there any other settings beside pointing the nameservers to dyndns?
According to the DNS information, emails to your domain will be primarily sent to mx1.mailhop.org. The mx1.mailhop.org is configured to relay the email to your server mail.example.com. Where the example.com is pointing has no effect on email and it does not technically matter if there is no IP for that at all. However, in practice it does: you can type word 'example' the URL box of your Internet Explorer and it will possibly try to add suffix .com to the address. If your example.com points to your website, the browser can access your website. Otherwise the person needs to type www.example.com.