Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Website Form not sending mail (PHP mail)

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
sebasira
Posts: 3
Joined: Thu May 19, 2016 1:50 am

Website Form not sending mail (PHP mail)
  • Quote

Post by sebasira » Wed Jun 29, 2016 2:37 pm

Hello everyone! I've move my site to my vestacp installation, and now form mails are not being send. They used to work on the other hosting they were.

I'm sending mails with PHP mail() function. I've no idea how to solve this. Can anyone help me?

Someone suggest me to look in /var/log/exim4/mainlog there are some lines that says something like message frozen and unroutable address [email protected]

Thank you! I'm completely new to all of this so treat me as if I know nothing.
Thanks again!
Last edited by sebasira on Wed Jun 29, 2016 3:02 pm, edited 1 time in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Website Form nos sending mail (PHP mail)
  • Quote

Post by skurudo » Wed Jun 29, 2016 2:42 pm

You can use this checklist:
0) Blocked port or not?
1) PTR - hosting provider do this thing or in hoster CP.
2) SPF - TXT-record in DNS
3) If you're use IPv6, than PTR/SPF for this too. if don't, disable ipv6 in exim.
4) /etc/resolf.conf -- correct public dns servers like google or yandex
Top

sebasira
Posts: 3
Joined: Thu May 19, 2016 1:50 am

Re: Website Form not sending mail (PHP mail)
  • Quote

Post by sebasira » Wed Jun 29, 2016 3:22 pm

Thank you skurudo, I'll check that and let you know. Before doing that, I want to tell you that I have configured mail as [email protected] and that address is working correctly from roundcube web mail and also as an alias on my Gmail account. I'm telling you that because I think that covers a lot on your checklist. Or that has nothing to do with it?
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password