Beispiel #1
0
function BodyChecks()
{
    $main = new maincf_multi("master", "master");
    $datas = $main->body_checks();
    if ($datas != null) {
        postconf("body_checks", "regexp:/etc/postfix/body_checks");
    } else {
        postconf("body_checks", null);
    }
}
function BodyChecks()
{
    $main = new maincf_multi("master", "master");
    $datas = $main->body_checks();
    if ($datas != null) {
        if (preg_match("#(.+?)=(.+)#", $datas, $re)) {
            $datas = $re[2];
        }
        postconf("body_checks", $datas);
    } else {
        postconf("body_checks", null);
    }
}