Hi, I have LEMP stack on Ubuntu 14.04 with fail2ban configured, which hosts a Wordpress Powered site. I have installed “Contact Form 7” plugin and created a simple form. But that form could not be processed. I then installed postfix on my server and also enabled postfix on fail2ban config file. After this emails can be sent but is unable to receive those emails.
Any Suggestions??
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
check your mail logs /var/log/mail.log see if gmail is blocking it. I added a dkim and spf record and then they stopped blocking and the mail got through. My mail is going to spam…but at least its now being sent through. Don’t know why google picked to block my emails in the first place as I had identical set ups not getting blocked. But this fixed the issue…so check those logs and add that spf dkim.
You might want to check your spam folder to see if the email might be there. If postfix is installed with just the defaults, then the email probably is sent from a <local_system_account>@<hostname_of_the_droplet>, which could register as a spam email and end up in the spam folder.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.