Page 1 of 1

vestacp + wordpress + contact form 7

Posted: Mon Oct 01, 2018 12:35 am
by fxtoofaan
Hello folks, I want to send email from contact form installed on wordress which is running on vestacp and using centos 7. the website domain is hosted on wordpress in linode but the mx records are hosted on clients email server inhouse. I want to use vestacp as just a mail relay or send email from contact form 7 to the customers inhouse mail server. the contact form is used by customers of my client, they are a restaurant, their customers make a reservation using this contact form and then reservation then gets emailed to my client using a email distribution list which then goes to the restaurant employees.

So how can I setup vestacp to just send email, I dont want to host email on vestacp. Also I want vestacp to restrict email to be only sent from its own wordpress or IP, meaning I want to make sure its not a open relay.

contact form -> wordpress -> vestacp -> centos 7 -> email sent via internet -> recieved by clients mail server using MX record.

the website domain where wordpress is hosted is same as the email server inhouse but the website A record and cname for www point to wordpress and the mx records point to the exchange server inhouse.

Anyone can help me with this? thanks,

Re: vestacp + wordpress + contact form 7

Posted: Tue Oct 02, 2018 7:16 pm
by rhyker2u
no need to involve the server config or DNS settings. You can just use: