2014-05-08 16:59:35 +00:00
|
|
|
from django.conf import settings
|
|
|
|
|
2015-04-05 22:34:47 +00:00
|
|
|
from orchestra.settings import ORCHESTRA_BASE_DOMAIN
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
LISTS_DOMAIN_MODEL = getattr(settings, 'LISTS_DOMAIN_MODEL',
|
|
|
|
'domains.Domain'
|
|
|
|
)
|
2014-10-09 17:04:12 +00:00
|
|
|
|
|
|
|
|
2015-03-31 12:39:08 +00:00
|
|
|
LISTS_DEFAULT_DOMAIN = getattr(settings, 'LIST_DEFAULT_DOMAIN',
|
2015-04-05 22:34:47 +00:00
|
|
|
'lists.{}'.format(ORCHESTRA_BASE_DOMAIN)
|
2015-03-31 12:39:08 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
LISTS_LIST_URL = getattr(settings, 'LISTS_LIST_URL',
|
2015-04-05 22:34:47 +00:00
|
|
|
'https://lists.{}/mailman/listinfo/%(name)s'.format(ORCHESTRA_BASE_DOMAIN)
|
2015-03-31 12:39:08 +00:00
|
|
|
)
|
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',
|
2015-03-31 12:39:08 +00:00
|
|
|
'/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',
|
2015-03-31 12:39:08 +00:00
|
|
|
'/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',
|
2015-03-31 12:39:08 +00:00
|
|
|
'/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',
|
2015-03-31 12:39:08 +00:00
|
|
|
'/etc/postfix/mailman_virtual_domains'
|
|
|
|
)
|