prosodyctl
changeset 5617 783078bc111c
parent 5616 a79c6717ee2b
child 5619 6a87b75aedd5
equal deleted inserted replaced
5616:a79c6717ee2b 5617:783078bc111c
   821 				print("    You need to move the following option"..(n>1 and "s" or "")..": "..table.concat(it.to_array(misplaced_options), ", "));
   821 				print("    You need to move the following option"..(n>1 and "s" or "")..": "..table.concat(it.to_array(misplaced_options), ", "));
   822 			end
   822 			end
   823 			local subdomain = host:match("^[^.]+");
   823 			local subdomain = host:match("^[^.]+");
   824 			if not(is_component) and (subdomain == "jabber" or subdomain == "xmpp"
   824 			if not(is_component) and (subdomain == "jabber" or subdomain == "xmpp"
   825 			   or subdomain == "chat" or subdomain == "im") then
   825 			   or subdomain == "chat" or subdomain == "im") then
       
   826 			   	print("");
   826 			   	print("    Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to");
   827 			   	print("    Suggestion: If "..host.. " is a new host with no real users yet, consider renaming it now to");
   827 			   	print("     "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host..".");
   828 			   	print("     "..host:gsub("^[^.]+%.", "")..". You can use SRV records to redirect XMPP clients and servers to "..host..".");
   828 			   	print("     For more information see: http://prosody.im/doc/dns");
   829 			   	print("     For more information see: http://prosody.im/doc/dns");
   829 			end
   830 			end
   830 		end
   831 		end