On Sunday, December 10, 2017 7:08:16 PM EST André Rodier wrote: > Hello everyone, > > I have been using Postfix and Dovecot on Debian (Since potato) for my > personal emails for years. > After being tired of reinstalling my personal mail server many times, I > am currently writing some Ansible scripts to do it automatically. > > I obviously checked the other projects, and did not found anything close > to what I am looking for, so I am implementing it now. > > The final goal is to have a box that once online, would setup itself, by > creating the certificates, the DKIM keys and update the appropriate DNS > records. > > This is so far what I have achieved: > - Automatic generation of certificates using LetsEncrypt > - Automatic update of the domain entries: imap, smtp, webmail, etc. > - Automatic generation of a DKIM keys > - Automatic update of specific records (MX, SPF, DKIM, etc.) > - LDAP server for user accounts, with or without system login. > - Installation of Postfix, Dovecot and Roundcube > > Sending DKIM signed emails is working, and the IMAP server is configured > as well, although basic. > > The postfix and dovecot configuration are not yet entirely finished. I > am planing to add an anti spam system, and sieve, amongst other things.
So, I have a very similar problem (I use qmail instead of postfix) and when I upgrade the server, I make a backup of my config files. I then install the software and restore the config files (including certificates). Poof--mail server up and running. What am I missing in your message? Mark