Jaymon / stockton

Quickly setup an email server to forward a personal domain to any email address
Other
4 stars 0 forks source link

add --update to configure receive at least #15

Closed Jaymon closed 8 years ago

Jaymon commented 8 years ago

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