Subversion Repositories ALCASAR

Rev

Rev 3018 | Rev 3021 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3018 Rev 3020
Line 112... Line 112...
112
					exec("sudo /usr/local/bin/alcasar-mail-install.sh -1 -w $mail_whitelist");
112
					exec("sudo /usr/local/bin/alcasar-mail-install.sh -1 -w $mail_whitelist");
113
				}
113
				}
114
				break;
114
				break;
115
			case '2':
115
			case '2':
116
				if ($admin_enable == "1"){
116
				if ($admin_enable == "1"){
117
					exec("sudo /usr/local/bin/alcasar-mail-install.sh -2 -s $mail_smtp_ip -p $mail_port -r $mail_ip -a $mail_admin -w $mail_whitelist");
117
					exec("sudo /usr/local/bin/alcasar-mail-install.sh -2 -s $mail_smtp_ip -p $mail_port -a $mail_admin -w $mail_whitelist");
118
				}
118
				}
119
				else {
119
				else {
120
					exec("sudo /usr/local/bin/alcasar-mail-install.sh -2 -s $mail_smtp_ip -p $mail_port -r $mail_ip -w $mail_whitelist");
120
					exec("sudo /usr/local/bin/alcasar-mail-install.sh -2 -s $mail_smtp_ip -p $mail_port -w $mail_whitelist");
121
				}
121
				}
122
				break;
122
				break;
123
			case '3':
123
			case '3':
124
				if(($mail_mdp != '') && ($mail_mdp==$mail_mdp2)) {
124
				if(($mail_mdp != '') && ($mail_mdp==$mail_mdp2)) {
125
					switch ($mail_server) {
125
					switch ($mail_server) {