Best documentation to use for setting up a mail server for Plone?

So the next step I anticipate I will be doing in my project is setting up a mail server for user account registrations / password changes... however I am not going to lie, this is my first time configuring an email server so I am already somewhat unfamiliar with the exact steps to do so, and even less familiar with how to set it up properly to interact with Plone.

As such, does anybody know if there are any good guides or references on this topic I can refer to for Plone 6? I found one for Plone 5 I unfortnuately cannot link to, but it looks similar enough to Plone 6 I am thinking it will work, however even this guide seems very much "do it yourself" for getting the actual postfix server running.

As such, I guess these would be my main questions;

  1. Does the "Mastering Plone" video series have instructions for setting up the mail server hidden somewhere within it, and if so at what time stamp? If not is there any other videos I could follow to do this?

  2. When configuring postfix assuming I am operating on a ubuntu server, should I use the ubuntu server documentation and just apt install postfix to install and configure it, or should I follow some other documentation?

  3. Are there in general any Plone 6 specific online guides for this I am missing or should refer to for this?

Thanks for all of your help answering my new user questions so far!

If you have no idea and no experience how to setup a mail server, DON'T DO IT YOURSELF.

Look for a mail managed mail service that provides you with the ability to use their SMTP server - either for free or commercially. The Investment saves you a lot of headache and maintenance. Setting up and running an SMTP server has never need easy and as a n00b, you won't get it right. Mailjet, Sendgrid or Mailgun might be good options. But as said: don't try to maintain a mail server yourself without experience.

I can only agree with @zopyx

Rant: as someone with almost 30 years experience running his own qmail and postfix servers...

Just don't do it, unless your internal infrastructure and requirements absolutely make it essential to run your own. For example security considerations, auditing, filtering based on content, department groups, etc.

If you decide to implement your own and get your server running, expect an uphill battle regarding deliverability, and continuous maintenance overhead; be it anti-spam measures, certificates renewal or the constant dread of someone else having a misconfigured server that requires you to explain to upper management that the other party does not follow the RFC's and that you will not make an exception "because they are a big customer".

Your life will be much easier if none of this is your responsibility.

1 Like

Plone takes any standard compliant mail server for outgoing e-mails. So nothing special on this side.
Setting up a mail server is totally off topic here.