From 97883d9c11717d4cc86d82a29d01fa6b940613e1 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Mon, 11 Nov 2013 12:50:29 -0200 Subject: postfix - add shortcut inc file and change text fields style on gui --- config/postfix/pkg_postfix.inc | 11 +++++++++++ config/postfix/postfix.inc | 1 + config/postfix/postfix.xml | 5 +++++ config/postfix/postfix_acl.xml | 10 +++++----- config/postfix/postfix_recipients.xml | 17 +++++++++++------ 5 files changed, 33 insertions(+), 11 deletions(-) create mode 100755 config/postfix/pkg_postfix.inc (limited to 'config/postfix') diff --git a/config/postfix/pkg_postfix.inc b/config/postfix/pkg_postfix.inc new file mode 100755 index 00000000..18da1c11 --- /dev/null +++ b/config/postfix/pkg_postfix.inc @@ -0,0 +1,11 @@ + diff --git a/config/postfix/postfix.inc b/config/postfix/postfix.inc index 193ec6c7..cf7cd786 100755 --- a/config/postfix/postfix.inc +++ b/config/postfix/postfix.inc @@ -29,6 +29,7 @@ POSSIBILITY OF SUCH DAMAGE. */ +$shortcut_section = "postfix"; require_once("util.inc"); require_once("functions.inc"); require_once("pkg-utils.inc"); diff --git a/config/postfix/postfix.xml b/config/postfix/postfix.xml index 25f7a81d..33744770 100644 --- a/config/postfix/postfix.xml +++ b/config/postfix/postfix.xml @@ -145,6 +145,11 @@ /usr/local/bin/ 0755 + + /usr/local/www/shortcuts/ + 0755 + http://www.pfsense.org/packages/config/postfix-dev/pkg_postfix.inc + General diff --git a/config/postfix/postfix_acl.xml b/config/postfix/postfix_acl.xml index 4eeda7a4..d704c189 100644 --- a/config/postfix/postfix_acl.xml +++ b/config/postfix/postfix_acl.xml @@ -110,7 +110,7 @@ See http://www.postfix.org/header_checks.5.html for more help]]> textarea - 83 + 80 15 base64 @@ -124,7 +124,7 @@ See http://www.postfix.org/postconf.5.html#smtpd_helo_restrictions for more help]]> textarea - 83 + 80 15 base64 @@ -142,7 +142,7 @@ Note: a result of "OK" in this field is not allowed/wanted for safety reasons(it may accept forged senders as it will not do other spam checks). Instead, use DUNNO in order to exclude specific hosts from blacklists.]]> textarea - 83 + 80 15 base64 @@ -154,7 +154,7 @@ /^Content-(Disposition|Type):\s+.+?(?:file)?name="?.+?\.(386|ad[ept]|drv|em(ai)?l|ex[_e]|xms|\{[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12}\})\b/ REJECT ".$2" file attachment types not allowed]]> textarea - 83 + 80 15 base64 @@ -166,7 +166,7 @@ ~^[[:alnum:]+/]{60,}$~ OK]]> textarea - 83 + 80 15 base64 diff --git a/config/postfix/postfix_recipients.xml b/config/postfix/postfix_recipients.xml index 97e39fb2..2b07bae8 100644 --- a/config/postfix/postfix_recipients.xml +++ b/config/postfix/postfix_recipients.xml @@ -9,7 +9,7 @@ /* postfix_recipients.xml part of the Postfix package for pfSense - Copyright (C) 2011 Marcello Coutinho + Copyright (C) 2011-2013 Marcello Coutinho All rights reserved. */ /* ========================================================================== */ @@ -119,33 +119,38 @@ Before using LDAP fetch you must install p5-perl-ldap package(hint: /usr/sbin/pkg_add -r p5-perl-ldap)]]> - HINTS
Hostname:
dc1.mysite.com

Domain:
dc=mysite,dc=com

Username:
cn=antispam,cn=Users
]]>
none rowhelper + + + on Hostname + Hostname Hint:
dc1.mysite.com]]>
dc input - 20 + 23
Domain + Domain Hint:
dc=mysite,dc=com]]>
cn input - 22 + 25
Username + Username Hint:
Username:cn=antispam,cn=Users]]>
username input - 20 + 24
Password password password - 10 + 12
-- cgit v1.2.3