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.

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!
<b>“If you’re on a system where dovecot is modularised”</b>
What does that mean? Is Ubuntu 12.04 such a system?
It would be way better if you included postfixadmin in tutorial for managing domains and mail accounts
Pablo - if you run “apt-cache show dovecot” it will tell you that dovecot is a virtual package, and you will have dovecot-core, dovecot-common, dovecot-imapd etc. as separate packages. In the old, non-modularised setup, there is just one dovecot package that contains all dovecot modules. I don’t know how Ubuntu does it but I’d wager they’ve also moved to modularised.
amar - Maybe another day. Personally I think it’s important to do a mail server setup “by hand”. Cookie-cutter solutions like postfixadmin restrict what you can do and usually break if you want to do something like the lmtp setup in this tutorial. And if they aren’t walled off from the internet, they are usually an open door to getting your box hacked - and most people don’t want to set up tunneling or a VPN to do that.
Gave me an error: The message could not be sent because the connection to SMTP server “mail.domainname.com” timed out. Try again or contact your network administrator. What can be wrong?
@nandor: Did you create proper DNS records for mail.domainname.com? Both MX and A records.
Yes, and after applying your first tutorial the mail server was working very well. Only this part is not ok for me.
I tried the above on a CentOS 6 system instead, and everything seems to work accept for when I try a remote IMAP connection to the server. I then get the following error:
Jan 13 20:32:42 dovecot: auth: Fatal: No passdbs specified in configuration file. PLAIN mechanism needs one Jan 13 20:32:42 dovecot: master: Error: service(auth): command startup failed, throttling
Any idea what part I missed or mistyped?
@mark: Please pastebin dovecot’s config file. Make sure you try restarting it first in case it didn’t catch a config file edit or something.
Hi Kamal, I checked the log and realized I just mistyped one thing. So it’s working very well. :) And thanks a lot in the name of many people. You are one of the people who gave us a really working config and explanation as well. We are waiting for the 3rd part of the config. :) When checking the mail.log I saw many attempt from different IPs. I would lovely read an another very useful tutorial how to make the server more secure. Thanks a lot! :)
@nandor: Glad you managed to get it working!
P.S.: <a href=“https://twitter.com/learlyman”>Lukas Erlacher</a> wrote this article, not me. :]