diff options
-rwxr-xr-x | config/postfix/postfix.inc | 3 | ||||
-rw-r--r-- | pkg_config.10.xml | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc index e2b5c7df..fd0832ba 100755 --- a/config/postfix/postfix.inc +++ b/config/postfix/postfix.inc @@ -766,6 +766,8 @@ MASTEREOF2; } if (!file_exists("/etc/mail/aliases")) touch("/etc/mail/aliases"); + if (!file_exists("/etc/aliases")) + @symlink("/etc/mail/aliases", "/etc/aliases"); exec("/usr/local/bin/newaliases"); postfix_start(); @@ -846,6 +848,7 @@ function postfix_php_deinstall_command() { sync_package_postfix(); conf_mount_rw(); unlink_if_exists("/usr/local/etc/rc.d/postfix.sh"); + unlink_if_exists("/etc/aliases"); conf_mount_ro(); } diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 8770843f..269bd1f8 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -464,7 +464,7 @@ <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.4.1</version> + <version>2.4.2</version> <status>Release</status> <required_version>2.2</required_version> <configurationfile>postfix.xml</configurationfile> |