0 votes
by Rookie

First many thanks for Webinoly. 

I was a ee fan but now I love webinoly.

Everything works great and I have a VPS (Linode) setup.

I am trying to send an email via my contact form in WP. It is not working and I am not receiving nothing despite the queue (mailq) being empty.

1) I have port 25 and SSL unable via ufw

2) echo "test-body" | mailx -s "test-subject2" henrik@example.com

     sends the email fine.

3) However when I want to send an email via the contact form...nothing happens even though my contact form says it sent it fine.

Nothing on my gmail spam

Nothing major on my mail.log

So my question:

is webinoly setup to send email via Wordpress?

if so how can I reset this

by Talented

Do you have a plugin installed on your WordPress and a transactional service configured to send emails?

You can configure your SMTP service directly from Webinoly using this command sudo webinoly -smtp

by Rookie
Hi Sidney, Thanks for the help.

I have a plugin that I removed since I figured postfix can do the job by itself.

I do not know what a transactional service is or how to set it up.

I tried sudo webinoly -smtp and it askes me for my SMTP host? where can I find that? also it asks me for my domain... I run multiple websites on my server so what do I enter?

by Rookie
Ok the documentation was not clear.

You simply have to purge the SMTP (sudo webinoly -smtp -purge) to get back to the original Webinoly/postfix setup and it works.

don't forget to look at your logs and open the required ports.

Wasted a few hours but now understanding what the hell an SMTP server is.
by Talented
You must connect with your SMTP service, you can use Amazon SES, Mailgun, Sendgrid, each SMTP provider has its own settings.
by Rookie
I am able to send email directly via postfix (no username/no password). I also installed Amazon SES but don't understand why I need it. Both send email via smtp. What is the difference and why should I use Amazon SES.

Please log in or register to answer this question.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.


Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.