• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How do I forward MX request to external IP?

M

Morphe

Guest
I have a mail server. My hosting server is using plesk. I want to forward my MX Record to my mail server. How do I configure my DNS records with Plesk DNS interface?

Ilker

Thank you..
 
Make an A record that points to the IP of the mail server, then have the MX point to that A record.
 
Hi again,

Thank you for answer. My DNS conf. is here;

Host Record type Value
yakacikvalf.com.tr. NS ns.yakacikvalf.com.tr.
mail.yakacikvalf.com.tr. A 217.195.205.114
ns.yakacikvalf.com.tr. A 217.195.205.114
yakacikvalf.com.tr. A 217.195.205.114
webmail.yakacikvalf.com.tr. A 81.213.77.234
ftp.yakacikvalf.com.tr. CNAME yakacikvalf.com.tr.
www.yakacikvalf.com.tr. CNAME yakacikvalf.com.tr.
yakacikvalf.com.tr. MX (10) webmail.yakacivalf.com.tr.
217.195.205.114 / 24 PTR yakacikvalf.com.tr.

I can see my mail server's web mail service with webmail.yakacikvalf.com.tr address. It's OK. But mails are failed. This is a error;

'ozgur.oner@yakacikvalf.com.tr',01.09.2005 14:00
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
 
You need to ensure that the recieving server has your domain enabled in its mailserver settings...

The error is because you're not allowed to relay mail throu that server...
 
Originally posted by Morphe
Hi again,

Thank you for answer. My DNS conf. is here;

Host Record type Value
yakacikvalf.com.tr. NS ns.yakacikvalf.com.tr.
mail.yakacikvalf.com.tr. A 217.195.205.114
ns.yakacikvalf.com.tr. A 217.195.205.114
yakacikvalf.com.tr. A 217.195.205.114
webmail.yakacikvalf.com.tr. A 81.213.77.234
ftp.yakacikvalf.com.tr. CNAME yakacikvalf.com.tr.
www.yakacikvalf.com.tr. CNAME yakacikvalf.com.tr.
yakacikvalf.com.tr. MX (10) webmail.yakacivalf.com.tr.
217.195.205.114 / 24 PTR yakacikvalf.com.tr.

I can see my mail server's web mail service with webmail.yakacikvalf.com.tr address. It's OK. But mails are failed. This is a error;

'ozgur.oner@yakacikvalf.com.tr',01.09.2005 14:00
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

if you use external mx servers you need also to remove that domain from the local qmail config ;)

remove the domains you want to use external mx services from these files:

/var/qmail/control/rcpthosts
/var/qmail/control/virtualdomains

;)
 
mail.yakacikvalf.com.tr. A 217.195.205.114
He should also point this to the external IP address.

I would have done it a slightly different way: more like a backup MX / store and forward for the domain.

Turn off Mail services for the domain in Plesk.

Put the domain into
/var/qmail/control/smtproutes
(single line: domain.tld:ipaddress:25)
(tells qmail where to send the mail for the domain)

Leave the domain.tld in rcpthosts
(so qmail will still accept mail for the domain)

Remove the domain.tld in virtualdomains
(tells qmail it's not a local domain)
 
Back
Top