Mail Help

mobbdeep

New member
Joined
Feb 13, 2020
Messages
8
Hello,

I am a completely new user to DirectAdmin who is currently switching from cPanel. I am using DirectAdmin in place of cPanel on my VPS in which is only hosting my website. I have no use in using DirectAdmin for any other purposes but to manage my single website. That being said, my website consists of Blesta. Part of Blesta, I need to be using outgoing mail at all times for new client registration, etc. My mail server is currently Zoho. I also use CloudFlare as my DNS manager. With all of this being said, how do I go about doing the same thing with DirectAdmin or even if I can have all of my emails using just RoundCube, how do I go about setting it up for outgoing emails? Blesta gives me the option for email configuration with SMTP or PHP.

Thanks!
 
Hello,

Point DNS for domain.com and www.domain.com to a directadmin server you have there, and let the other DNS records without changes. That should not produce any error for you. Outgoing emails can be sent directly from the directadmin server, just correct DKIM, SPF records.

Just keep in mind to disable local delivery for your domain using the guide https://help.directadmin.com/item.php?id=8
 
Hello,

Point DNS for domain.com and www.domain.com to a directadmin server you have there, and let the other DNS records without changes. That should not produce any error for you. Outgoing emails can be sent directly from the directadmin server, just correct DKIM, SPF records.

Just keep in mind to disable local delivery for your domain using the guide https://help.directadmin.com/item.php?id=8

This is what my current DNS records look like in CloudFlare:

QiB7THc.png


This is what it looks like in DirectAdmin logged into my user account > Email Manager > MX Records:

pUt7OBA.png


Do I need to add anything else? Also, how do I go about DKIM and SPF records? Also, since I want outgoing emails to be directly sent from the DirectAdmin server, why would I disable local delivery?
 
You should disable local delivery if you want to keep using Zoho for receiving incoming emails.

Outgoing emails can be sent directly from the directadmin server, just correct DKIM, SPF records.
 
You should disable local delivery if you want to keep using Zoho for receiving incoming emails.

Outgoing emails can be sent directly from the directadmin server, just correct DKIM, SPF records.

I want to use DirectAdmin for incoming and outgoing. Again, I'm not sure what you mean by "correct DKIM, SPF records." Can you please elaborate a bit more? Also, taking a look at my pictures attached, is there something I'm missing?
 
You can use DirectAdmin for incoming and outgoing emails, don't disable local delivery then.

You are advised to set correct SPF and DKIM records. Please search and read docs for instructions. There is no sense to copy/paste them here.

DKIM: https://help.directadmin.com/?query=dkim
SPF: https://help.directadmin.com/?query=spf

In most cases you simply need to copy DNS records from DirectAdmin to CloudFlare to make the things to work correct.
 
You can use DirectAdmin for incoming and outgoing emails, don't disable local delivery then.

You are advised to set correct SPF and DKIM records. Please search and read docs for instructions. There is no sense to copy/paste them here.

DKIM: https://help.directadmin.com/?query=dkim
SPF: https://help.directadmin.com/?query=spf

In most cases you simply need to copy DNS records from DirectAdmin to CloudFlare to make the things to work correct.

I'm still getting outgoing mail errors. I'm going to PM you if you don't mind to show you what I have.
 
We need to see errors from your mail server and/or bounce messages from it. There is no way to guess what errors with sending emails you have.
 
Check firewall on your server and in VPS dashboard from your server provider. It seems you've got 25 port closed for outgoing and incoming connections. If firewall does not block the port, then you might need to contact your VPS provider, as they might restrict new VPS this way.
 
Check firewall on your server and in VPS dashboard from your server provider. It seems you've got 25 port closed for outgoing and incoming connections. If firewall does not block the port, then you might need to contact your VPS provider, as they might restrict new VPS this way.

BuyVM blocks emails by default but I am not receiving emails, only outgoing is working.
 
Also, I am having issues with emails being sent from Blesta to client email addresses on file. I can go directly into Roundcube and send an email to someone, but not from Blesta.
 
You list symptoms only, and they are too ambiguous. We can't guess the reasons and suggest much help relying only on them. If you need more help from us you should help us first to understand more about your issue, provide as much results of your investigation as you can, they usually can be gathered this way:

1. steps to reproduce
2. errors you get (from logs and/or mail service, not symptoms)
3. expected behavior.

And do not mask domains, as whenever we investigate an issue with mails, it's very important to see a source and destination domains. We will check it on our end as well.

If you don't know how to investigate an issue, please search the forums. DirectAdmin has a long history and hundreds of users had probably the same issue as you have now. So the forums already have all possible commands and steps on how to check what is wrong on a server, as well as all possible solutions are already posted here too.

If you don't have time to read existing help pages and forums threads you might consider using paid support from the active members of the forums.

Related:

- https://help.directadmin.com/
- https://www.google.com/search?q=site:forum.directadmin.com+problems+with+sending+mail
- https://www.mail-tester.com/
 
I managed to reconfigure the email system back to Zoho. Everything works good.

Thanks!
 
Back
Top