enhanced learn-msg.cgi for trusted networks