Skip to content

Commit 1e02b50

Browse files
author
Richard Jones
committed
Try to clarify mail_domain config setting
1 parent 7c86000 commit 1e02b50

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ are given with the most recent entry first.
55
Fixed:
66
- Fix bug introduced in 1.4.5 in RDBMS full-text indexing
77
- Make URL matching code less matchy
8+
- Try to clarify mail_domain config setting
89

910

1011
2008-08-19 1.4.5

roundup/configuration.py

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Roundup Issue Tracker configuration support
22
#
3-
# $Id: configuration.py,v 1.50 2007-11-14 14:57:47 schlatterbeck Exp $
3+
# $Id: configuration.py,v 1.51 2008-09-01 02:30:06 richard Exp $
44
#
55
__docformat__ = "restructuredtext"
66

@@ -478,12 +478,16 @@ def str2value(self, value):
478478
"specified above. If this option is not set, all static\n"
479479
"files are taken from the TEMPLATES directory"),
480480
(MailAddressOption, "admin_email", "roundup-admin",
481-
"Email address that roundup will complain to"
482-
" if it runs into trouble."),
481+
"Email address that roundup will complain to if it runs\n"
482+
"into trouble.\n"
483+
"If no domain is specified then the config item\n"
484+
"mail -> domain is added."),
483485
(MailAddressOption, "dispatcher_email", "roundup-admin",
484486
"The 'dispatcher' is a role that can get notified\n"
485487
"of new items to the database.\n"
486-
"It is used by the ERROR_MESSAGES_TO config setting."),
488+
"It is used by the ERROR_MESSAGES_TO config setting.\n"
489+
"If no domain is specified then the config item\n"
490+
"mail -> domain is added."),
487491
(Option, "email_from_tag", "",
488492
"Additional text to include in the \"name\" part\n"
489493
"of the From: address used in nosy messages.\n"
@@ -538,7 +542,8 @@ def str2value(self, value):
538542
"that is required to get to the home page of the tracker.\n"
539543
"You MUST include a trailing '/' in the URL."),
540544
(MailAddressOption, "email", "issue_tracker",
541-
"Email address that mail to roundup should go to."),
545+
"Email address that mail to roundup should go to.\n"
546+
"If no domain is specified then mail_domain is added."),
542547
(NullableOption, "language", "",
543548
"Default locale name for this tracker.\n"
544549
"If this option is not set, the language is determined\n"
@@ -606,7 +611,12 @@ def str2value(self, value):
606611
"Allowed values: DEBUG, INFO, WARNING, ERROR"),
607612
)),
608613
("mail", (
609-
(Option, "domain", NODEFAULT, "Domain name used for email addresses."),
614+
(Option, "domain", NODEFAULT,
615+
"The email domain that admin_email, issue_tracker and\n"
616+
"dispatcher_email belong to.\n"
617+
"This domain is added to those config items if they don't\n"
618+
"explicitly include a domain.\n"
619+
"Do not include the '@' symbol."),
610620
(Option, "host", NODEFAULT,
611621
"SMTP mail host that roundup will use to send mail",
612622
["MAILHOST"],),

0 commit comments

Comments
 (0)