so --configure-recv makes a copy of the base /etc/postfix/main.cf file, which other commands use to make sure they "reset" themselves correctly, this means though, that I can't modify the recv command and re-run it and stay in sync with all the other commands, so what I'm proposing is an update flag, if you run with that flag, it will not only update the real main.cf file but the backup one also, so further commands down the pipeline will continue to work.
So without --update, do what it currently does, but with the --update flag, change both main.cf and the backup if it exists, if the backup doesn't exist, of course create it like normal
so
--configure-recv
makes a copy of the base/etc/postfix/main.cf
file, which other commands use to make sure they "reset" themselves correctly, this means though, that I can't modify the recv command and re-run it and stay in sync with all the other commands, so what I'm proposing is an update flag, if you run with that flag, it will not only update the real main.cf file but the backup one also, so further commands down the pipeline will continue to work.So without
--update
, do what it currently does, but with the--update
flag, change both main.cf and the backup if it exists, if the backup doesn't exist, of course create it like normal