aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2011-09-05 16:12:26 -0300
committermarcelloc <marcellocoutinho@gmail.com>2011-09-05 16:12:26 -0300
commitaf876c2fd45660117752815a774006e4a19e5a07 (patch)
treeb39bd5db09e0cb9b490f911bae5e8862cff4ce6a /config
parent548dfb250399802d0908fb7e93e24a4656e7e0f2 (diff)
downloadpfsense-packages-af876c2fd45660117752815a774006e4a19e5a07.tar.gz
pfsense-packages-af876c2fd45660117752815a774006e4a19e5a07.tar.bz2
pfsense-packages-af876c2fd45660117752815a774006e4a19e5a07.zip
Postfix package version 2.0
postfix + postscreen + rbl + spf + ldap search Author: marcelloc <marcellocoutinho@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/postfix/postfix.inc5
-rw-r--r--config/postfix/postfix_recipients.xml3
2 files changed, 6 insertions, 2 deletions
diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc
index 2a762ae4..3d1ff947 100644
--- a/config/postfix/postfix.inc
+++ b/config/postfix/postfix.inc
@@ -190,6 +190,9 @@ function sync_package_postfix() {
else
$new_sys_log .= $new_line;
}
+ if (!file_exists('/root/system.inc.backup')) {
+ copy ($sys_log_file,'/root/system.inc.backup');
+ }
file_put_contents($sys_log_file,$new_sys_log, LOCK_EX);
#mwexec('/usr/local/bin/php -q /usr/local/www/postfix_syslog.php');
#restart syslog daemon
@@ -594,7 +597,7 @@ function postfix_validate_input($post, &$input_errors) {
function postfix_php_install_command() {
#small freebsd packages for full functional ldap and spf options
system('/usr/sbin/pkg_add -r postfix-policyd-spf');
- system('/usr/sbin/pkg_add -r p5-perl-ldap');
+ #system('/usr/sbin/pkg_add -r p5-perl-ldap');
sync_package_postfix();
}
diff --git a/config/postfix/postfix_recipients.xml b/config/postfix/postfix_recipients.xml
index 4172f2c8..450b6df4 100644
--- a/config/postfix/postfix_recipients.xml
+++ b/config/postfix/postfix_recipients.xml
@@ -128,7 +128,8 @@
<fielddescr>Enable LDAP fetch</fielddescr>
<fieldname>enable_ldap</fieldname>
<type>checkbox</type>
- <description>Extract valid email addresses from Active Directory.</description>
+ <description><![CDATA[Extract valid email addresses from Active Directory.<br>
+ Before using LDAP fetch you must install p5-perl-ldap package(hint: <strong>/usr/sbin/pkg_add -r p5-perl-ldap</strong>)]]></description>
</field>
<field>
<fielddescr>Frequency</fielddescr>