I want to create a mail server and want to create mail like mail@mydomain.com, mail2@mydomain.com to sending and receiving mail. The last thing I want to do is sent mail from my Laravel application and for that, I need to config this below thing in Laravel
MAIL_MAILER=smtp MAIL_HOST=mailhog MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS=null MAIL_FROM_NAME=“${APP_NAME}”
I already have 2 droplets over here. one for testing and one for production. I don’t want to screw my production droplet (Laravel hosted droplet). I will buy another droplet for email hosting. So I need a proper solution for it. my domain is https://ghorerrannabd.com/
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
You could follow the steps on how to set up an email server here:
This would include Postfix for sending out emails and Dovecot for the inbound emails.
However, keep in mind that running your own mail server could be quite challenging as described here:
https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server
Alternatively, you could use a control panel like cPanel which comes with an email server pre-setup and a graphical interface where you will be able to create and manage your email accounts. You can install it with One-Click via this link here:
https://marketplace.digitalocean.com/apps/cpanel-whm
Hope that this helps! Best, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.