From 961e8d78aef26c7468fc40e91e4b0be1ffa49c77 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Mon, 29 Nov 2010 23:22:37 -0700 Subject: Some fixes for the configuration of the postfix forwarder. --- config/postfix/postfix.inc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc index 63add863..f100a937 100644 --- a/config/postfix/postfix.inc +++ b/config/postfix/postfix.inc @@ -33,8 +33,6 @@ require_once("util.inc"); function sync_package_postfix() { global $config; - $myhostname = $config['system']['hostname'] . '.' . $config['system']['domain']; - $mydomain = $config['system']['domain']; $relay_domains = ""; $transport = ""; @@ -51,10 +49,11 @@ function sync_package_postfix() { } $postfix_main = - "myhostname = {$myhostname}\n" . - "mydomain = {$mydomain}\n" . "relay_domains ={$relay_domains}\n" . - "local_recipient_maps =\n"; + "transport_maps = hash:/usr/local/etc/postfix/transport\n" . + "local_recipient_maps =\n" . + "mydestination =\n" . + "mynetworks_style = host\n"; conf_mount_rw(); -- cgit v1.2.3