Source

iredapd / libs / __init__.py

Full commit
Zhang Huangbin e85694f 
Zhang Huangbin 922bc7b 
Zhang Huangbin e85694f 
Zhang Huangbin 6a6022a 




Zhang Huangbin 3cd5f78 
Zhang Huangbin fe6d0df 
Zhang Huangbin 5a6a8ce 
Zhang Huangbin 8a60712 
Zhang Huangbin 5a6a8ce 
Zhang Huangbin 8a60712 
Zhang Huangbin 5a6a8ce 
Zhang Huangbin 8a60712 
Zhang Huangbin 5a6a8ce 
Zhang Huangbin 8a60712 
Zhang Huangbin 5a6a8ce 
Zhang Huangbin 56e4d63 
Zhang Huangbin 5a6a8ce 
Zhang Huangbin 8a60712 
__author__ = 'Zhang Huangbin <zhb@iredmail.org>'
__version__ = '1.4.1'

SMTP_ACTIONS = {
    'default': 'DUNNO',
    'accept': 'OK',
    'reject': 'REJECT Not authorized',
}

# Mail list access policies.
# Unrestricted
MAILLIST_POLICY_PUBLIC = 'public'
# Only users under same domain are allowed
MAILLIST_POLICY_DOMAIN = 'domain'
# Only users under same domain and sub domains are allowed
MAILLIST_POLICY_SUBDOMAIN = 'subdomain'
# Only members are allowed
MAILLIST_POLICY_MEMBERSONLY = 'membersonly'
# Only moderators/allowed are allowed
MAILLIST_POLICY_ALLOWEDONLY = 'allowedonly'
# Only members and moderators are allowed
MAILLIST_POLICY_MEMBERSANDMODERATORSONLY = 'membersandmoderatorsonly'