Zhang Huangbin avatar Zhang Huangbin committed d9a3769

Mark Debian ARM platform and Respberry Pi as supported.

Comments (0)

Files changed (3)

iRedMail/conf/global

 
 # LDAP server
 export LDAP_SERVER_HOST="${LOCAL_ADDRESS}"
+export LDAP_SERVER_PORT='389'
 # MySQL server
 export MYSQL_SERVER="${LOCAL_ADDRESS}"
 export MYSQL_SERVER_PORT='3306'
 case $arch in
     i[3456]86) export ARCH='i386' ;;
     x86_64|amd64) export ARCH='x86_64' ;;
+    armv6l)
+        # Debian ARM platform and Raspberry Pi.
+        export ARCH='armhf' ;;
     *)
         echo "Your architecture is not supported yet: ${arch}."
         echo "Both i386 and x86_64 are supported by ${PROG_NAME}."

iRedMail/conf/openldap

 export OPENLDAP_VERSION='2.4'
 
 # LDAP service info.
-# LDAP_SERVER_HOST is configured in conf/global
-export LDAP_SERVER_PORT='389'
+# LDAP_SERVER_HOST, LDAP_SERVER_PORT are defined in conf/global
 export LDAP_USE_TLS='NO'
 export LDAP_BIND='yes'
 export LDAP_BIND_VERSION='3'

iRedMail/samples/cluebringer_extra.sql

--- References: http://wiki.policyd.org/
+-- Reference: http://wiki.policyd.org/
 
 -- Priorities (Lower integer has higher priority):
---  6 Whitelist 
---  7 No greylisting
---  8 Blacklist
+--  priority=6  Whitelist
+--  priority=7  Blacklist
+--  priority=20 No greylisting
 
 -- Cluebringer default priorities:
---  0 Default
---  10 Default Inbound
---  10 Default Outbound
+--  priority=0  Default
+--  priority=10 Default Inbound
+--  priority=10 Default Outbound
 
 -- ------------------------------
 -- Whitelists (priority=6)
 -- Per-domain and per-user greylisting
 -- ------------------------------------
 INSERT INTO policies (Name, Priority, Disabled, Description)
-    VALUES ('no_greylisting', 7, 0, 'Disable grelisting for certain domain or users');
+    VALUES ('no_greylisting', 20, 0, 'Disable grelisting for certain domain and users');
 INSERT INTO policy_groups (Name, Disabled) VALUES ('no_greylisting', 0);
 INSERT INTO policy_members (PolicyID, Source, Destination, Disabled)
     SELECT id, '!%internal_ips,!%internal_domains', '%no_greylisting', 0
     FROM policies WHERE name='no_greylisting' LIMIT 1;
 -- Disable greylisting for %no_greylisting
-INSERT INTO greylisting (PolicyID, Name, UseGreylisting, Track, UseAutoWhitelist, UseAutoBlacklist, Disabled)
-    SELECT id, 'no_greylisting', 0, 'SenderIP:/32', 0, 0, 0
+INSERT INTO greylisting (PolicyID, Name, UseGreylisting, Track, UseAutoWhitelist, AutoWhitelistCount, AutoWhitelistPercentage, UseAutoBlacklist, AutoBlacklistCount, AutoBlacklistPercentage, Disabled)
+    SELECT id, 'no_greylisting', 0, 'SenderIP:/32', 0, 0, 0, 0, 0, 0, 0
     FROM policies WHERE name='no_greylisting' LIMIT 1;
 
 -- Disable greylisting for certain domain/users:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.