|SYSTEM INFORMATION||
OS type and version: Ubuntu Linux 20.04.3 || Hosted on Digitalocean droplet
Webmin version: 1.981
Virtualmin version: 6.16
Hi
I have several virtual servers / websites located in my virtualmin n i want to create a local webmail service for 1 virtual server within the same server
i did set up roundcube software in a subfolder like domain/webmail
The software is up and the it’s receiving emails but not sending out any
So what i have to configure to send out emails?
Note that when i tried creating a new sub server called mail.domain.com OR webmail.domain.com to setup roundcube software inside it i couldn’t create the sub-server, it responded with this “failed to create virtual server : domain is already hosted by your Apache web server”
Please simplify your answers as I’m totally new to this server setup world
Virtualmin uses mail.domain.tld.and webmail.domain.tld so you should consider these sub-domains reserved on a Virtualmin system and use some other sub-domain, such as rc.domain.tld, for installing Roundcube.
webmail can be changed, it’s just a redirect to Usermin on port 20000, and changing it is harmless if you don’t use Usermin. mail wouldn’t be easy to repurpose, though.
You don’t have port 25, most likely. Many, many, many, network and hosting providers block port 25 to prevent spam. If you don’t have port 25 you don’t have a mail server (you’ll need a relay). You cannot run a mail server without port 25.
Stopping spam is a constant fight and due to this, your account has restrictions specifically on port 25. However, you are be able to use mail services using ports 587, 993, 995 and 465. You will need to open these ports in your firewall. Here is our guide to common iptables commands:
Even with those ports, you can’t run a mail server without port 25. You’ll still need a relay for outgoing mail. You can control how your clients connect for sending mail, but you can’t control how the rest of the internet wants to be talked to.
So, you still need a relay if you want to be able to send mail without port 25 (relay services like Mailgun, Mailjet, etc. accept mail on those other ports and relay it on your behalf).