From 548dfb250399802d0908fb7e93e24a4656e7e0f2 Mon Sep 17 00:00:00 2001 From: marcelloc Date: Mon, 5 Sep 2011 15:32:33 -0300 Subject: Postfix Forwarder package v2 postfix + postscreen + rbl + spf + ldap search Author: marcelloc --- config/postfix/postfix_acl.xml | 208 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 config/postfix/postfix_acl.xml (limited to 'config/postfix/postfix_acl.xml') diff --git a/config/postfix/postfix_acl.xml b/config/postfix/postfix_acl.xml new file mode 100644 index 00000000..9c59c102 --- /dev/null +++ b/config/postfix/postfix_acl.xml @@ -0,0 +1,208 @@ + + + + + + + + Describe your package here + Describe your package requirements here + Currently there are no FAQ items provided. + postfixacl + 1.0 + Services: Postfix relay and antispam + /usr/local/pkg/postfix.inc + + Postfix Antispam and mail Relay + Configure Postfix Forwarder +
Services
+ pkg_edit.php?xml=postfix.xml&id=0 +
+ + postfix + postfix.sh + master + + + http://www.pfsense.org/packages/config/postfix/postfix.inc + /usr/local/pkg/ + 0755 + + + http://www.pfsense.org/packages/config/postfix/postfix_acl.xml + /usr/local/pkg/ + 0755 + + + http://www.pfsense.org/packages/config/postfix/postfix_recipients.xml + /usr/local/pkg/ + 0755 + + + http://www.pfsense.org/packages/config/postfix/postfix_antispam.xml + /usr/local/pkg/ + 0755 + + + + http://www.pfsense.org/packages/config/postfix/postfix_sync.xml + /usr/local/pkg/ + 0755 + + + http://www.pfsense.org/packages/config/postfix/postfix_view_config.php + /usr/local/www/ + 0755 + + + http://www.pfsense.org/packages/config/postfix/postfix_recipients.php + /usr/local/www/ + 0755 + + + + General + /pkg_edit.php?xml=postfix.xml&id=0 + + + ACLs / Filter Maps + /pkg_edit.php?xml=postfix_acl.xml&id=0 + + + + Valid recipients + /pkg_edit.php?xml=postfix_recipients.xml&id=0 + + + Antispam + /pkg_edit.php?xml=postfix_antispam.xml&id=0 + + + XMLRPC Sync + /pkg_edit.php?xml=postfix_sync.xml&id=0 + + + View config files + /postfix_view_config.php + + + + + Filters while receiving mail + listtopic + + + Header + header_maps + REGEXP filters that are applied to initial message headers(except for the headers that are processed with mime_header_checks Hint:
+ /^Subject: viagra|cialis|levitra|day price:/i REJECT
+ /^From: spammer@myspam.net/i REJECT
+ /^From: *@mytrustdomain OK
+ See http://www.postfix.org/header_checks.5.html for more help]]> +
+ textarea + 80 + 10 + base64 +
+ + MIME + mime_maps + REGEXP filters that are applied to MIME related message headers only. Hint:
+ /^name=[^>]*\.(com|vbs|js|jse|exe|bat|cmd|vxd|scr|hlp|pif|shs|ini|dll)/ REJECT W do not allow files of type "$3" because of security concerns - "$2" caused the block.
+ /^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 + 80 + 10 + base64 +
+ + body + body_maps + REGEXP filters that are applied to all other content, including multi-part message boundaries. Hint:
+ # First skip over base 64 encoded text to save CPU cycles.
+ ~^[[:alnum:]+/]{60,}$~ OK]]> +
+ textarea + 80 + 10 + base64 +
+ + + Client Access List + listtopic + + + CIDR + cal_cidr + + This list is used by postfix/postscreen to check who has access or not to this relay. Hint:
+ 192.168.3.2 OK
spammer.junkdomain.com REJECT]]> +
+ textarea + 80 + 10 + base64 +
+ + REGEXP + cal_regexp + + This list is used by postfix to check who has access or not to this relay.Hint:
+ /.*\.dsl\..*/ REJECT DSLs not allowed
+ /.*\.adsl\..*/ REJECT DSLs not allowed]]> +
+ textarea + 80 + 10 + base64 +
+
+ + postfix_php_install_command(); + + + postfix_php_deinstall_command(); + + + postfix_validate_input($_POST, &$input_errors); + + + sync_package_postfix(); + +
-- cgit v1.2.3