Re: Rebuilding mail server from scratch

2017-12-30 Thread Voytek
On Sun, December 31, 2017 1:55 am, Wietse Venema wrote: >> hmm, I am not sure I have done 'postfix upgrade-configuration" >> >> can I run it possibly second time ? > > You can run it many times (the operation is idempotent). > > >> does it only if need changes main.cf ? > > It adds or updates some

Re: Rebuilding mail server from scratch

2017-12-30 Thread Wietse Venema
Voytek: > On Sat, December 30, 2017 3:51 am, Wietse Venema wrote: > > > You should be able to build the new Postfix, use the old config > > files, do 'postfix upgrade-configuration", and look for warnings while > > Postfix handles email for several days, about things that > > might break when you

Re: Rebuilding mail server from scratch

2017-12-29 Thread Voytek
On Sat, December 30, 2017 3:51 am, Wietse Venema wrote: > You should be able to build the new Postfix, use the old config > files, do 'postfix upgrade-configuration", and look for warnings while > Postfix handles email for several days, about things that > might break when you were to set compatib

Re: Rebuilding mail server from scratch

2017-12-29 Thread Wietse Venema
Viktor Dukhovni: > > > > On Dec 29, 2017, at 11:51 AM, Wietse Venema wrote: > > > > I think the biggest break is smtpd_relay_restrictions because that > > was introduced before the compatibility_level safety net. You may > > have to explictly set smtpd_relay_restrictions to empty. > > The defa

Re: Rebuilding mail server from scratch

2017-12-29 Thread Viktor Dukhovni
> On Dec 29, 2017, at 11:51 AM, Wietse Venema wrote: > > I think the biggest break is smtpd_relay_restrictions because that > was introduced before the compatibility_level safety net. You may > have to explictly set smtpd_relay_restrictions to empty. The default is: smtpd_relay_restriction

Re: Rebuilding mail server from scratch

2017-12-29 Thread Wietse Venema
Stephen Satchell: > So, a question: is there a best-practices guide, manual, or book that > describes how to set up all the modern goodies like DKIM and TLS? What > I found thus far: You should be able to build the new Postfix, use the old config files, do 'postfix upgrade-configuration", and