output.print_error("Mail-in-a-Box is outdated. To find the latest version and for upgrade instructions, see https://mailinabox.email/. ")
ifconfig.get("privacy",True):
output.print_warning("Mail-in-a-Box version check disabled by privacy setting.")
else:
output.print_ok("Mail-in-a-Box is up to date. You are running version %s."%what_version_is_this(env))
this_ver=what_version_is_this(env)
latest_ver=get_latest_miab_version()
ifthis_ver==latest_ver:
output.print_ok("Mail-in-a-Box is up to date. You are running version %s."%this_ver)
else:
output.print_error("A new version of Mail-in-a-Box is available. You are running version %s. The latest version is %s. For upgrade instructions, see https://mailinabox.email. "