Running vexim2 from master as of 16/08/2015 on a Centos 7 with Apache 2.4 and Maria DB mariadb-server-5.5.41-2
The install process is fine as normal, the database is a clean database created from the sql script at the time of the git clone.
when I try to add a user to a domain there is no error, the screen just refreshes back as it was before I add a user to a domain.
I am running the web server with a valid SSL certificate from a trusted third party.
in the http log vexim I see the following error when adding a user
[quote]
[Tue Aug 11 21:08:00.198830 2015] [:error] [pid 13713] [client
192.168.24.10:53208] PHP Notice: Undefined index: spam_drop in /var/www/html/adm/mail/adminuseraddsubmit.php on line 141, referer:
https://mailtest.local/adm/mail/adminuseradd.php[/quote]
The code block in question is as follows - I've hilighted line 141
$success = $sth->execute(array(':localpart'=>$_POST['localpart'],
':localpart'=>$_POST['localpart']
':username'=>$_POST['localpart'].'@'.$_SESSION['domain'],
':domain_id'=>$_SESSION['domain_id'],
':crypt'=>crypt_password($_POST['clear']),
':smtp'=>$smtphomepath,
':pop'=>$pophomepath,
':uid'=>$_POST['uid'],
':gid'=>$_POST['gid'],
':realname'=>$_POST['realname'],
':type'=>$_POST['type'],
':admin'=>$_POST['admin'],
':on_avscan'=>$_POST['on_avscan'],
':on_piped'=>$_POST['on_piped'],
':on_spamassassin'=>$_POST['on_spamassassin'],
':sa_tag'=>((isset($_POST['sa_tag'] )) ? $_POST['sa_tag'] : 0),
':sa_refuse'=>((isset($_POST['sa_refuse'] )) ? $_POST['sa_refuse'] : 0),
':spam_drop'=>$_POST['spam_drop'], ':maxmsgsize'=>$_POST['maxmsgsize'],
':enabled'=>$_POST['enabled'],
':quota'=>$_POST['quota'],
));
From my basic understanding of PHP (and it is basic) it this suggests that the form submitting does not have a valid index identifier for the field "spam_drop" when it's submitting it to eh web server.
Is anyone running a version of vexim with this code that works ? if so what's required to get this running ?
thanks,
Matt