django-orchestra-test/orchestra/contrib/lists/settings.py

39 lines
858 B
Python
Raw Normal View History

2014-05-08 16:59:35 +00:00
from django.conf import settings
from orchestra.settings import BASE_DOMAIN
2014-05-08 16:59:35 +00:00
LISTS_DOMAIN_MODEL = getattr(settings, 'LISTS_DOMAIN_MODEL',
'domains.Domain'
)
2014-10-09 17:04:12 +00:00
LISTS_DEFAULT_DOMAIN = getattr(settings, 'LIST_DEFAULT_DOMAIN',
'lists.{}'.format(BASE_DOMAIN)
)
LISTS_LIST_URL = getattr(settings, 'LISTS_LIST_URL',
'https://lists.{}/mailman/listinfo/%(name)s'.format(BASE_DOMAIN)
)
2014-07-11 14:48:46 +00:00
2014-10-23 15:38:46 +00:00
2014-07-11 14:48:46 +00:00
LISTS_MAILMAN_POST_LOG_PATH = getattr(settings, 'LISTS_MAILMAN_POST_LOG_PATH',
'/var/log/mailman/post'
)
2014-10-09 17:04:12 +00:00
2014-10-15 12:47:28 +00:00
LISTS_MAILMAN_ROOT_PATH = getattr(settings, 'LISTS_MAILMAN_ROOT_PATH',
'/var/lib/mailman/'
)
2014-10-15 12:47:28 +00:00
2014-10-09 17:04:12 +00:00
LISTS_VIRTUAL_ALIAS_PATH = getattr(settings, 'LISTS_VIRTUAL_ALIAS_PATH',
'/etc/postfix/mailman_virtual_aliases'
)
2014-10-09 17:04:12 +00:00
2014-10-15 12:47:28 +00:00
LISTS_VIRTUAL_ALIAS_DOMAINS_PATH = getattr(settings, 'LISTS_VIRTUAL_ALIAS_DOMAINS_PATH',
'/etc/postfix/mailman_virtual_domains'
)