DoLink(GlobalDir, OutDir, "mail-whitelist")
GenCDB(OutDir + "user-forward.cdb", filter(lambda x: IsInGroup(x), PasswdAttrs), 'emailForward')
GenCDB(OutDir + "batv-tokens.cdb", filter(lambda x: IsInGroup(x), PasswdAttrs), 'bATVToken')
+ GenCDB(OutDir + "default-mail-options.cdb", filter(lambda x: IsInGroup(x), PasswdAttrs), 'mailDefaultOptions')
# Compatibility.
DoLink(GlobalDir, OutDir, "forward-alias")
"mailDisableMessage": ".*",
"mailGreylisting": "^(TRUE|FALSE)$",
"mailCallout": "^(TRUE|FALSE)$",
+ "mailDefaultOptions": "^(TRUE|FALSE)$",
"VoIP": ".*",
"gender": "^(1|2|9|male|female|unspecified)$",
"mailContentInspectionAction": "^(reject|blackhole|markup)$",
"mailRHSBL": None,
"mailWhitelist": None,
"mailDisableMessage": None,
+ "mailDefaultOptions": None,
"VoIP": None,
"mailContentInspectionAction": None,
};
by * none
# owner writeable, debian readable, authenticated user readable
-access to attrs=c,l,loginShell,ircNick,labeledURI,icqUIN,jabberJID,onVacation,birthDate,mailDisableMessage,gender,emailforward,mailCallout,mailGreylisting,mailRBL,mailRHSBL,mailWhitelist,mailContentInspectionAction
+access to attrs=c,l,loginShell,ircNick,labeledURI,icqUIN,jabberJID,onVacation,birthDate,mailDisableMessage,gender,emailforward,mailCallout,mailGreylisting,mailRBL,mailRHSBL,mailWhitelist,mailContentInspectionAction,mailDefaultOptions
by group="cn=LDAP Administrator,ou=users,@@DN@@" write
by dn="uid=sshdist,ou=users,@@DN@@" write
by self write
# .12 - RHS RBL
# .13 - whitelist
# .14 - bATVToken
+# .15 - mailDefaultOptions
# Public attribute types
attributetype ( 1.3.6.1.4.1.9586.100.4.2.1
EQUALITY caseExactMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+attributetype ( 1.3.6.1.4.1.9586.100.4.4.15
+ NAME 'mailDefaultOptions'
+ DESC 'Whether or not to use a default set of anti-spam options'
+ EQUALITY booleanMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
+
attributetype ( 1.3.6.1.4.1.9586.100.4.2.38
NAME 'mailContentInspectionAction'
DESC 'what to do on content inspection hits'
jabberJID $ keyFingerPrint $ latitude $ longitude $ mn $
onVacation $ privateSub $ sshRSAAuthKey $ supplementaryGid $
access $ gender $ birthDate $ mailCallout $ mailGreylisting $
- mailRBL $ mailRHSBL $ mailWhitelist $ VoIP $ mailContentInspectionAction $ bATVToken
+ mailRBL $ mailRHSBL $ mailWhitelist $ VoIP $ mailContentInspectionAction $
+ bATVToken $ mailDefaultOptions
) )
objectclass ( 1.3.6.1.4.1.9586.100.4.3.2
SUP account STRUCTURAL
MAY ( emailForward $ supplementaryGid $ allowedHost $ labeledURI $
mailCallout $ mailGreylisting $ mailRBL $ mailRHSBL $
- mailWhitelist $ dnsZoneEntry $ mailContentInspectionAction $ bATVToken
+ mailWhitelist $ dnsZoneEntry $ mailContentInspectionAction $
+ bATVToken $ mailDefaultOptions
) )