Notifications
Clear all

Wordpress emails not being sent (VirtualMin)  

  RSS

(@harold)
Active Member
Joined: 9 months ago
Posts: 9
22/12/2019 9:10 am  

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)
Admin
Joined: 6 years ago
Posts: 226
22/12/2019 9:39 am  

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.

Become a vpsfix.com affiliate and earn up to 10% commissions from your referrals


ReplyQuote
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
22/12/2019 10:57 am  

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)
Admin
Joined: 6 years ago
Posts: 226
23/12/2019 6:45 am  

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

Become a vpsfix.com affiliate and earn up to 10% commissions from your referrals


ReplyQuote
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
23/12/2019 11:36 am  

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
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
24/12/2019 10:15 pm  

Any update?


ReplyQuote
Tharindu
(@tharindu)
Admin
Joined: 6 years ago
Posts: 226
25/12/2019 8:37 pm  
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.

This post was modified 9 months ago by Tharindu

Become a vpsfix.com affiliate and earn up to 10% commissions from your referrals


ReplyQuote
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
26/12/2019 9:46 am  

Thank you!

 


ReplyQuote
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
30/01/2020 5:48 am  

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)
Admin
Joined: 6 years ago
Posts: 226
30/01/2020 7:55 am  

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.

This post was modified 8 months ago by Tharindu

Become a vpsfix.com affiliate and earn up to 10% commissions from your referrals


ReplyQuote
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
30/01/2020 11:37 am  

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)
Admin
Joined: 6 years ago
Posts: 226
30/01/2020 1:30 pm  
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.

Become a vpsfix.com affiliate and earn up to 10% commissions from your referrals


ReplyQuote
(@harold)
Active Member
Joined: 9 months ago
Posts: 9
31/01/2020 10:20 am  

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


ReplyQuote
Share:
Back to top button

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Close