Success stories

I would appreciate if you leave a comment here telling others if your mail server is running. Perhaps even a word about the purpose of the mail server and the number of users you have. That allows others to see that their time is well-spent and indeed leads to a working mail server. Thanks for your feedback.

(Have I mentioned the donation button at the bottom? ๐Ÿ™‚ )

21 thoughts on “Success stories

  • 2018-01-22 at 00:09
    Permalink

    Just another excelent guide.
    Thank you for that.

    Regards

    Ludek

    Reply
  • 2018-01-23 at 12:53
    Permalink

    The transfer from the “old” Jessie server to a new Stretch server was very smooth. As usual the guide was very well written and the description would also help a “newbie”.

    I’m looking forward to the additions (encryption, mitigations, …) in the future!

    Pizza and beer are on their way!

    Regards,
    Thomas

    Reply
    • 2018-01-23 at 21:43
      Permalink

      Thanks for the donation. Already working on the next page. ๐Ÿ™‚

      Reply
  • 2018-01-24 at 19:05
    Permalink

    Everything worked on the first attempt on an older installation of Stretch. I was surprised by the complexity involved of running an email server, and having all the pieces put together in this guide was quite useful.

    I later saw the amount of rogue requests to the server – which I guess is expected when running any kind of public service – so it was good to know all the authentication steps were covered. I’m looking forward to any later additions to the guide.

    Right now it’s just me using the server, but I will likely expand this. In fact my motivation for creating my own mail server was the higher amount of storage space. The “good” email services (read, with a sensible privacy policy and no income from ads) in my area tend to be limited to a few gigabytes, unless you pay exorbitant fees.

    P.S: I’d gladly donate but me and Paypal are not exactly best friends… let me know if there’s an alternative means of donation available.

    Reply
  • 2018-01-25 at 14:41
    Permalink

    The Installation was very smooth, beside a dumb mistake on my side (missing localhost in /etc/hosts). Spam detection is GREAT now with rspamd, compared to the jessie tutorial!

    I’m looking forward to the DKIM and ham/spam learning on message move, Thank you very much!

    Reply
  • 2018-01-26 at 20:26
    Permalink

    Thanks for this guide. Just a few hours to set up a new server and get it running…. DNS update takes longer than following this instruction.

    Reply
  • 2018-01-27 at 20:47
    Permalink

    Hi Christoph,
    Thank you for this guide, your previous ones, and all the work you put into them. I used your previous guide starting about 6 weeks ago or so (first time finding this site) and I was able to use it to set up my environment, despite the version differences. I reviewed this updated guide and primarily pulled in the fail2ban piece to add to my existing configuration. I have 3 servers involved in my configuration: one dedicated web server (hosting multiple websites and the roundcube instance), 1 dedicated mysql server, and 1 dedicated mail server. I broke it out as such mainly for the learning experience. And a learning experience it has been! I think the hardest part for me was getting the certificates all worked out for both the web and mail servers.

    Keep up the good work!

    Reply
  • 2018-02-02 at 12:25
    Permalink

    Finally done, works perfect, thanks again for this amazing guide ๐Ÿ™‚
    Already excited to go live with the new system after implementing the virus scanning part ๐Ÿ˜‰
    Regards,
    Hampe

    Reply
  • 2018-02-09 at 13:13
    Permalink

    I’ve followed your tutorials for a few years now (Sarge maybe?) – you’ve done an amazing job.

    Anyway, thought you’d like to know that our current largest install runs on a Stretch VM that links to a FreeNAS NAS for storage. We use the free BitDefender for servers milter (http://frams.bitdefender.com/download.php#) for spam control as we found spamassassin poor even after a few thousand spam and ham submissions and BitDefender has a great webGUI to tweak settings and lists.

    Currently we have 25 domains on that install with 2179 mailboxes and several million mail items going back at least 5 years. We tweak the security slightly differently (phpmyadmin is on a random string such as domain.co.uk/slhfklshfkwkwlg instead of domain.co.uk/phpmyadmin, we use a high-priv user that isn’t called root or admin with those names disabled and we also limit access to it by IP range) and we have our own control panel, but all of the work ‘under the hood’ is from this guide.

    Would love per-user mailbox size controls and a DKIM tutorial (we use SPF at the moment), but I’ll figure those out on a testing VM at some point.

    Reply
  • 2018-02-17 at 23:17
    Permalink

    Absolutely fantastic tutorial, made the process easy while letting me learn what’s going on under the hood — and is giving me plenty of fodder for followup projects! Thanks for all the hard work that went into this.

    Reply
  • 2018-03-20 at 19:05
    Permalink

    After a 3-year run with iRedMail, it feels awesome to have a fully-functional, from-scratch mail server, and even more so now that I understand what’s going on under the hood. ๐Ÿ™‚

    I opted to go with a remote Postgres instance instead of running MySQL on localhost. I set up Roundcube on a separate web server connected to that same DB server. Everything working flawlessly at the moment.

    Thanks for this incredible guide — your work was *enormously* helpful!

    Reply
  • 2018-03-27 at 11:23
    Permalink

    I am following these tutorials for years now, since debian wheezy. Thank you so much for this excellent work.

    Reply
  • 2018-04-02 at 03:24
    Permalink

    Been using your guides since forever. Though I do them on Ubuntu servers, but this has rarely been an issue. Every couple of years, I revamp my mail server, start it from scratch. Out of boredom, out of wanting it following newer technology, and out of wanting to learn more.

    Thanks a lot for these guides ๐Ÿ™‚

    Reply
  • 2018-04-14 at 18:49
    Permalink

    love it, using it for several years now.

    any change you will add mail encryprion for mails that are saved on the server?
    like with dovecot mail_crypt or something else?

    Reply
  • 2018-04-28 at 16:38
    Permalink

    I have set up an email server on a Raspberry Pi 3 following your instructions. There is no packaged binary for rspadm for armhf yet, so I used spamassasin instead, although I otherwise followed the stretch instructions.

    There are a few niggles to sort, the main being Thunderbird refuses to sent emails via the server, complaining about being “unable to establish a link with the SMTP server using STARTTLS since it doesn’t advertise that feature”. When I telnet in on port 587 the server does advertise that STARTTLS. The webclient, and other email clients work OK, so this must be a Thunderbird glitch.

    Reply
  • 2018-04-30 at 18:42
    Permalink

    Hi Christoph,

    I just wanted to say thank you, even though I do not believe that is enough!
    My knowledge in regards to setting up a mail server started with the following article years ago:
    https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto
    This was more of a “copy/paste” tutorial to get a functioning mail server without actually knowing what anything meant.

    Your guides take it one step further and actually makes it more of a course in setting up a mail server.
    You go into detail and with passion in your writing, that makes it both entertaining and a fantastic learning experince at the same time.
    In my honest opinion, this is something that you could charge money for even getting access to, as a company could save a bunch of money setting up a server themselves in a couple of days following your instructions.

    I’ve setup a server by following all of your instructions and have gained a lot of knowledge in the process, while also diving even deeper (as my comment spam in your guide probably suggests, sorry :P)

    I will make sure to throw a donation in your direction as soon as I can afford it!
    For now, I hope that this is better than nothing! ๐Ÿ™‚

    Keep up the awesome work, you got yourself a follower… nay… a fan! ๐Ÿ˜€

    Reply
    • 2018-05-02 at 09:23
      Permalink

      Thanks for the very kind feedback. I’m not doing it for the moneyโ€ฆ it just pays for the server. A user less using freemail providers is a soul saved. And noโ€ฆ I’m not religious. Just paranoid. ๐Ÿ™‚

      Reply
  • 2018-06-27 at 08:21
    Permalink

    Thank you so much for this great tutorial!

    In your opinion, what kind of backup strategy and tools would you recommend for this ISPmail setup? Backup for mailboxes, database, roundcube, rspamd and other components?

    Reply
    • 2018-06-27 at 14:04
      Permalink

      Actually it’s pretty simple to do a backup. Run “mysqldump mailserver” from cron to backup your control database. All relevant configuration is located in /etc so just back up that directory. And the users’ emails are located in /var/vmail. It’s not problematic if new emails are coming in or the users delete emails. Dovecot can handle that well. So you do not necessarily need any kind of snasphotting mechanism.

      The simplest solution is probably to use “rsnapshot” and backup the files to another computer.

      Reply
      • 2018-06-28 at 02:56
        Permalink

        How about Roundcube? Is it sufficient to just backup the /roundcube directory?

        Let’s say for example if a user would like to get back a particular email he/she deleted a few days ago, how do I recover that particular email? Is it as simple as lookup the email in the backup of /var/vmail and copy paste it over?

        Reply
        • 2018-06-28 at 08:33
          Permalink

          The Roundcube setup just consists of configuration in /etc/roundcube and the Apache virtual host configuration. So if you backup /etc then you have a copy of everything you need.

          Every email is just a file in /var/vmail/DOMAIN/USER/Maildir/โ€ฆ
          By just copying back the file(s) from a certain time range you can restore them.
          Looking at the struggle that my fellow M$ Exchange administrators have that’s just fun. ๐Ÿ™‚

          Reply

Leave a Reply

Your email address will not be published. Required fields are marked *