Wietse Venema: > Viktor Dukhovni: > > On Sat, Apr 06, 2013 at 12:17:53PM -0700, ixlo...@sent.at wrote: > > > > > Will your patch be added to main source tree at any time, or is it > > > something I'll need to tweak/modify & apply when I upgrade? > > > > My best guess is that Wietse will likely adopt something functionally > > equivalent wrt the compile-time override for DEF_MAIL_OWNER and > > DEF_SGID_GROUP. > > No override is needed. > > You can trivially set these at installation time: > > # make install mail_owner=foo setgid_group=bar ... > # make upgrade mail_owner=foo setgid_group=bar ...
Also (since this thread mentioned installable packages): make package mail_owner=foo setgid_group=bar ... All the above work even without pre-existing main.cf file. > You can even change mail_owner or setgid_group after Postfix > is already installed: > > # postfix set-permissions mail_owner=foo setgid_group=bar ... > > This *is* documented. This, of course does require a pre-existing main.cf file. The only build-time parameter override that's needed is for config_directory. All other parameters can be specified at /upgrade/package time. They are configurable for a reason. Wietse