Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

swist's avatar
Level 11

Reciving and sending mails with forge / digitalocean server using smtp and imap

Hi,

I Have website powered by Forge with Digital Ocean server. Is there any simple way to configure (with Forge maybe) an IMAP and SMTP protocols to use mail with standard e-mail clients?

0 likes
2 replies
noeldiaz's avatar
Level 23

@swist Running a mail server is a pain. I have a few and have been doing it for years. If you are not going to go full blown you might consider using one of the hosted mail providers that can provide incoming and outgoing email services like Mandrill, etc.

Now, if you really want to dig in and run your own, my recommendation is to use iRedMail (http://www.iredmail.org) and set up one on a blank ubuntu server. You could start with the forge one, not sure if the installed packages will interfere with the install script for iRedMail.

I used to set up my servers piece by piece. This makes it a million times easier and you end up with a more secure and reliable server. I have 5 of them in production right now.

theUnforgiven's avatar

Why not get clients to use Google Apps, its a couple of bucks a month and fully managed by Google and takes away the pain from yourself.

Please or to participate in this conversation.