Notifications
Clear all

Wordpress emails not being sent (VirtualMin)

13 Posts
2 Users
0 Likes
24 Views
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Hi, I used your amazing guide to install Virtualmin LEMP and I installed Wordpress using the virtualmin script. I am facing 2 problems:

Firstly, Emails are not being sent from the website. I am talking about Wordpress emails, Contact form emails, etc.

Secondly, I am getting errors in console saying: Failed to load resource: the server responded with a status of 403 () /wp-admin/admin-ajax.php

 

Any idea on how I can solve these?

 

Thanks!


   
Quote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 307
 

Hi Harold,

Did you complete the Domain Specific Emails tutorial for Virtualmin? You should complete it for better deliverability. And after you complete that, I suggest creating a mailbox like noreply@domain.com and integrate it with WordPress using a free plugin like WP Mail SMTP. Let me know if you still have issues after doing that. Also don't forget to check your spam folder.

About the second issue. This can be a plugin or theme conflict. Nginx error log should have helpful information.


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Thanks, I will try that tutorial!

I am assuming I have to do that for every domain on my server, right? Is there any way for this to be automatic when creating new virtual servers?

Thanks!


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 307
 

Yes, some steps need to be done for every domain.


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Thanks. If I have more than one domain in virtualmin on my DO droplet, how do I configure the reverse dns? Also, what is the reason why I have to create a alias server? I can't use my regular server?

 

Thank you


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Any update?


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 307
 
Posted by: @harold

Thanks. If I have more than one domain in virtualmin on my DO droplet, how do I configure the reverse dns? Also, what is the reason why I have to create a alias server? I can't use my regular server?

 

Thank you

Reverse DNS doesn't have to be set for all domains. It should match your server hostname.

You don't have to create another server in DigitalOcean for alias. It's a Virtualmin feature.


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Thank you!

 


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Hi again,

 

Do I have to complete this tutorial:  Domain Specific Emails tutorial for Virtualmin for every domain vps that I have on my server? Do I need to create an alias for every domain? 

Also, Let's say my virtualmin is installed at vmin.domain.com, do I have to create a virtual server for that domain too? I don't need email for that domain.

 

Thank you!


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 307
 

That tutorial needs to be done only for the mail domain. But make sure SPF and DKIM records are added to other domains.

You'll have to create a virtual server for vmin.domain.com.


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Thanks!

I would love (and I'm sure others would too!) if you can write a tutorial on how to setup emails for multiple vps servers! 🙂

I am still not totally sure what to do...

Virtualmin is installed on vmin.domain.com.  Should I create the alias server as mail.vmin.domain.com or mail.domain.com?

 

Also I'm not managing my dns with virtualmin, but rather with cloudflare. How do I set up the SPF and DKIM records?

Also, what do you mean by "But make sure SPF and DKIM records are added to other domains."

 

Thanks so much!

 


   
ReplyQuote
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 307
 
Posted by: @harold

Thanks!

I would love (and I'm sure others would too!) if you can write a tutorial on how to setup emails for multiple vps servers! 🙂

I am still not totally sure what to do...

Virtualmin is installed on vmin.domain.com.  Should I create the alias server as mail.vmin.domain.com or mail.domain.com?

 

Also I'm not managing my dns with virtualmin, but rather with cloudflare. How do I set up the SPF and DKIM records?

Also, what do you mean by "But make sure SPF and DKIM records are added to other domains."

 

Thanks so much!

 

I'll try to write a tutorial. But I don't have much time these days.

I would add mail.vmin.domain.com as an alias. About the DNS, you just need to copy these records from Virtualmin to CloudFlare.


   
ReplyQuote
(@Anonymous 1082)
Active Member
Joined: 4 years ago
Posts: 9
Topic starter  

Thanks! I'm looking forward! Your virtualmin tutorials are the best on the web! Very clear!


   
ReplyQuote
Share:
Back to top button