aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-11-29 23:22:37 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-11-29 23:22:37 -0700
commit961e8d78aef26c7468fc40e91e4b0be1ffa49c77 (patch)
tree75cac4b75fcf054cbe15d4d9e664e2188a6457e1 /config
parenta2c93e09384cef66bf588ebc62e6868ad88584d3 (diff)
downloadpfsense-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.inc9
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();