some fixes for apache and postfix and import export