develop
asamoukin 16 years ago
parent e00acb25fd
commit d9029de3b2

@ -3268,8 +3268,10 @@ in Unix service ...") %str(primaryMail))
fullHostName = "%s.%s"%(self.clVars.Get('os_net_hostname'),
self.clVars.Get('os_net_domain'))
self.clVars.Set("sr_mail_host",fullHostName,True)
self.clVars.Set("sr_mail_send_host",fullHostName)
clientVars = ["sr_mail_host","sr_mail_crypt", "sr_mail_port",
"sr_mail_type","sr_mail_send_crypt","sr_mail_send_port"]
"sr_mail_type","sr_mail_send_crypt","sr_mail_send_port",
"sr_mail_send_host"]
if not self.saveVarsClient(clientVars):
return False
self.clVars.Write("sr_mail_set","on")

@ -154,6 +154,8 @@ class Data:
sr_mail_send_crypt = {'mode':"w",'value':''}
# порт отправки
sr_mail_send_port = {'mode':"w",'value':'25'}
# хост отправки
sr_mail_send_host = {'mode':"w"}
# имя компьютера с настроенным сервисом Samba
sr_samba_host = {}

Loading…
Cancel
Save