diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-11-29 23:22:37 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-11-29 23:22:37 -0700 |
commit | 961e8d78aef26c7468fc40e91e4b0be1ffa49c77 (patch) | |
tree | 75cac4b75fcf054cbe15d4d9e664e2188a6457e1 /config | |
parent | a2c93e09384cef66bf588ebc62e6868ad88584d3 (diff) | |
download | pfsense-packages-961e8d78aef26c7468fc40e91e4b0be1ffa49c77.tar.gz pfsense-packages-961e8d78aef26c7468fc40e91e4b0be1ffa49c77.tar.bz2 pfsense-packages-961e8d78aef26c7468fc40e91e4b0be1ffa49c77.zip |
Some fixes for the configuration of the postfix forwarder.
Diffstat (limited to 'config')
-rw-r--r-- | config/postfix/postfix.inc | 9 |
1 files 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(); |