Sorry to necro this thread, but wanted to chime in with a real world use-case.
This sort of config should absolutely persist across both reboots and upgrades!.
I agree that the Keepalivd SMTP implementation is lacking authentication.