Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Commit

Permalink
Symlink /etc/aliases -> /etc/mail/aliases and silence errors. Bump pa…
Browse files Browse the repository at this point in the history
…ckage version
  • Loading branch information
rbgarga committed Apr 27, 2015
1 parent f8dc79a commit 7c10d40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/postfix/postfix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion pkg_config.10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 7c10d40

Please sign in to comment.