2015-05-04 19:52:53 +00:00
|
|
|
from orchestra.contrib.settings import Setting
|
|
|
|
from orchestra.settings import ORCHESTRA_BASE_DOMAIN
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
LISTS_DOMAIN_MODEL = Setting('LISTS_DOMAIN_MODEL',
|
|
|
|
'domains.Domain',
|
2015-04-27 12:24:17 +00:00
|
|
|
validators=[Setting.validate_model_label]
|
2015-03-31 12:39:08 +00:00
|
|
|
)
|
2014-10-09 17:04:12 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
LISTS_DEFAULT_DOMAIN = Setting('LISTS_DEFAULT_DOMAIN',
|
|
|
|
'lists.{}'.format(ORCHESTRA_BASE_DOMAIN),
|
|
|
|
help_text="Uses <tt>ORCHESTRA_BASE_DOMAIN</tt> by default."
|
|
|
|
)
|
2015-03-31 12:39:08 +00:00
|
|
|
|
|
|
|
|
2015-04-26 13:53:00 +00:00
|
|
|
LISTS_LIST_URL = Setting('LISTS_LIST_URL',
|
2015-04-27 14:54:17 +00:00
|
|
|
'https://lists.{}/mailman/listinfo/%(name)s'.format(ORCHESTRA_BASE_DOMAIN),
|
|
|
|
help_text="Uses <tt>ORCHESTRA_BASE_DOMAIN</tt> by default."
|
2015-03-31 12:39:08 +00:00
|
|
|
)
|
2014-07-11 14:48:46 +00:00
|
|
|
|
2014-10-23 15:38:46 +00:00
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
LISTS_MAILMAN_POST_LOG_PATH = Setting('LISTS_MAILMAN_POST_LOG_PATH',
|
|
|
|
'/var/log/mailman/post'
|
|
|
|
)
|
2015-03-31 12:39:08 +00:00
|
|
|
|
2014-10-09 17:04:12 +00:00
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
LISTS_MAILMAN_ROOT_DIR = Setting('LISTS_MAILMAN_ROOT_DIR',
|
|
|
|
'/var/lib/mailman'
|
|
|
|
)
|
2014-10-15 12:47:28 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
LISTS_VIRTUAL_ALIAS_PATH = Setting('LISTS_VIRTUAL_ALIAS_PATH',
|
|
|
|
'/etc/postfix/mailman_virtual_aliases'
|
|
|
|
)
|
2014-10-09 17:04:12 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
LISTS_VIRTUAL_ALIAS_DOMAINS_PATH = Setting('LISTS_VIRTUAL_ALIAS_DOMAINS_PATH',
|
|
|
|
'/etc/postfix/mailman_virtual_domains'
|
|
|
|
)
|