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',
|
2023-10-24 16:59:02 +00:00
|
|
|
'/var/log/mailman3/smtp'
|
2015-04-27 14:54:17 +00:00
|
|
|
)
|
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',
|
2023-10-24 16:59:02 +00:00
|
|
|
'/var/lib/mailman3'
|
2015-04-27 14:54:17 +00:00
|
|
|
)
|
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',
|
2023-10-24 16:59:02 +00:00
|
|
|
'/etc/postfix/mailman3_virtusertable'
|
2015-04-27 14:54:17 +00:00
|
|
|
)
|
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',
|
2023-10-24 16:59:02 +00:00
|
|
|
'/etc/postfix/mailman3_virtdomains'
|
2015-04-27 14:54:17 +00:00
|
|
|
)
|