@ -3755,8 +3755,12 @@ for user %s in 'Replicatinon/Mail' branch ...") %userName)
self . printERROR ( _ ( " You used four attempts, \
if you want to continue to run the program again " ))
return False
# Установка переменной доступные сети
self . clVars . Set ( " sr_mail_host " , correctHostname ( hostname ) , True )
# Установка имени хоста
fullHostName = correctHostname ( hostname )
if not " . " in fullHostName :
fullHostName = " %s . %s " % ( fullHostName ,
self . clVars . Get ( ' os_net_domain ' ) )
self . clVars . Set ( " sr_mail_host " , fullHostName , True )
return True
def setupMailServer ( self , options ) :
@ -3837,6 +3841,9 @@ if you want to continue to run the program again"))
self . clVars . Get ( ' os_net_domain ' ) )
if options . has_key ( " host " ) :
fullHostName = options [ ' host ' ]
if not " . " in fullHostName :
fullHostName = " %s . %s " % ( fullHostName ,
self . clVars . Get ( ' os_net_domain ' ) )
self . clVars . Set ( " sr_mail_host " , fullHostName , True )
mailType = " imap "
if options . has_key ( " t " ) :
@ -4518,6 +4525,9 @@ class servJabber(shareLdap):
self . clVars . Get ( ' os_net_domain ' ) )
if options . has_key ( " host " ) :
fullHostName = options [ ' host ' ]
if not " . " in fullHostName :
fullHostName = " %s . %s " % ( fullHostName ,
self . clVars . Get ( ' os_net_domain ' ) )
self . clVars . Set ( " sr_jabber_host " , fullHostName , True )
if options . has_key ( " history " ) :