aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/postfix/postfix.inc2
-rwxr-xr-xconfig/postfix/postfix_queue.php3
-rw-r--r--config/postfix/postfix_view_config.php4
-rw-r--r--pkg_config.10.xml5
4 files changed, 10 insertions, 4 deletions
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc
index eb5499aa..e2b5c7df 100755
--- a/config/postfix/postfix.inc
+++ b/config/postfix/postfix.inc
@@ -36,7 +36,7 @@ require_once("pkg-utils.inc");
require_once("globals.inc");
$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
-if (is_dir('/usr/pbi/postfix-' . php_uname("m"))) {
+if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('POSTFIX_LOCALBASE', '/usr/pbi/postfix-' . php_uname("m"));
} else {
define('POSTFIX_LOCALBASE','/usr/local');
diff --git a/config/postfix/postfix_queue.php b/config/postfix/postfix_queue.php
index a737340e..740640d3 100755
--- a/config/postfix/postfix_queue.php
+++ b/config/postfix/postfix_queue.php
@@ -34,7 +34,8 @@ $uname=posix_uname();
if ($uname['machine']=='amd64')
ini_set('memory_limit', '250M');
-if (is_dir('/usr/pbi/postfix-' . php_uname("m"))) {
+$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
+if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('POSTFIX_LOCALBASE', '/usr/pbi/postfix-' . php_uname("m"));
} else {
define('POSTFIX_LOCALBASE','/usr/local');
diff --git a/config/postfix/postfix_view_config.php b/config/postfix/postfix_view_config.php
index a844ce65..f23937d4 100644
--- a/config/postfix/postfix_view_config.php
+++ b/config/postfix/postfix_view_config.php
@@ -29,7 +29,9 @@
*/
$shortcut_section = "postfix";
require("guiconfig.inc");
-if (is_dir('/usr/pbi/postfix-' . php_uname("m"))) {
+
+$pfs_version = substr(trim(file_get_contents("/etc/version")),0,3);
+if ($pfs_version == "2.1" || $pfs_version == "2.2") {
define('POSTFIX_LOCALBASE', '/usr/pbi/postfix-' . php_uname("m"));
} else {
define('POSTFIX_LOCALBASE','/usr/local');
diff --git a/pkg_config.10.xml b/pkg_config.10.xml
index bf3d860b..ab5c2a5d 100644
--- a/pkg_config.10.xml
+++ b/pkg_config.10.xml
@@ -455,6 +455,7 @@
</package>
<package>
<name>Postfix Forwarder</name>
+ <internal_name>Postfix_Forwarder</internal_name>
<website>http://www.postfix.org/</website>
<descr><![CDATA[Postfix mail forwarder acts as a relay server for your domain.<br />
It can do first and second line antispam combat before sending incoming mail to local mail servers.<br />
@@ -463,10 +464,12 @@
<pkginfolink>https://forum.pfsense.org/index.php/topic,40622.0.html</pkginfolink>
<config_file>https://packages.pfsense.org/packages/config/postfix/postfix.xml</config_file>
<depends_on_package_pbi>postfix-2.11.3_2-##ARCH##.pbi</depends_on_package_pbi>
- <version>2.11.3_2 pkg v.2.4.1</version>
+ <version>2.4.1</version>
<status>Release</status>
<required_version>2.2</required_version>
<configurationfile>postfix.xml</configurationfile>
+ <port_category>mail</port_category>
+ <run_depends>libexec/postfix/bounces:mail/postfix</run_depends>
<build_pbi>
<port>mail/postfix</port>
</build_pbi>