function sasl_save() { if ($_GET["PostfixEnableSubmission"] == 1) { $_GET["save_auth"] = 1; } $socks = new sockets(); $socks->SET_INFO('PostfixEnableSubmission', $_GET["PostfixEnableSubmission"]); $socks->SET_INFO('PostFixSmtpSaslEnable', $_GET["save_auth"]); $socks->SET_INFO('TrustMyNetwork', $_GET["TrustMyNetwork"]); $socks->SET_INFO("PostFixMasterCertificate", $_GET["PostFixMasterCertificate"]); if (isset($_GET["PostfixEnableMasterCfSSL"])) { $socks->SET_INFo('PostfixEnableMasterCfSSL', $_GET["PostfixEnableMasterCfSSL"]); } }