ud-mailgate: use subprocess.Popen instead of os.popen.