Re: How to change Postfix config dir without recompilation

2017-08-21 Thread Viktor Dukhovni
On Mon, Aug 21, 2017 at 10:52:25PM +0100, Boris Rybalkin wrote: > As I said it is a package for users to install and use through the UI > and not for sys admins play with the shell :) Whether administration is through a Web interface, or interactive, Postfix is still a very much a system componte

Re: How to change Postfix config dir without recompilation

2017-08-21 Thread Boris Rybalkin
As I said it is a package for users to install and use through the UI and not for sys admins play with the shell :) I must say dovecot looks like does not even provide a way to change prefix at runtime. I have build an isolated Syncloud package (with few paths hard-coded) so it is not relocatable

Re: How to change Postfix config dir without recompilation

2017-08-20 Thread Viktor Dukhovni
> On Aug 20, 2017, at 8:46 PM, Boris Rybalkin wrote: > > Let's say I am packaging all those tools myself and I would like to build a > relocatable package, is it possible to not have null-client? Will Postfix be responsible for delivering locally generated email that is injected not via SMTP,

Re: How to change Postfix config dir without recompilation

2017-08-20 Thread Boris Rybalkin
Let's say I am packaging all those tools myself and I would like to build a relocatable package, is it possible to not have null-client? I have a config regeneration tool which will recreate all the configs with a given new config root. Just to explain why do I need all this. This is all for sync

Re: How to change Postfix config dir without recompilation

2017-08-20 Thread Viktor Dukhovni
> On Aug 20, 2017, at 4:30 PM, Boris Rybalkin wrote: > > I see so it is actually not hard-coded and can be changed if > configured properly. Well, naturally the "default" is hard-coded, but you can use other directories explicitly to run *additional* instances of Postfix. The primary (default)

Re: How to change Postfix config dir without recompilation

2017-08-20 Thread Boris Rybalkin
I see so it is actually not hard-coded and can be changed if configured properly. Thanks On Sun, Aug 20, 2017 at 8:33 PM, Viktor Dukhovni wrote: > >> On Aug 20, 2017, at 3:25 PM, Boris Rybalkin wrote: >> >> As I understand from the documentation to change default config dir I >> need to use DEF

Re: How to change Postfix config dir without recompilation

2017-08-20 Thread Viktor Dukhovni
> On Aug 20, 2017, at 3:25 PM, Boris Rybalkin wrote: > > As I understand from the documentation to change default config dir I > need to use DEF_CONFIG_DIR flag and recompile. > What is the reason to not support ability to change it (cmd param?) > without recomppilation? You can override the de

How to change Postfix config dir without recompilation

2017-08-20 Thread Boris Rybalkin
Hello, As I understand from the documentation to change default config dir I need to use DEF_CONFIG_DIR flag and recompile. What is the reason to not support ability to change it (cmd param?) without recomppilation? -- Boris Rybalkin ribal...@gmail.com