summaryrefslogtreecommitdiff
path: root/Mailman/GatewayManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/GatewayManager.py')
-rw-r--r--Mailman/GatewayManager.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/Mailman/GatewayManager.py b/Mailman/GatewayManager.py
index 931a67dec..1bba6e36b 100644
--- a/Mailman/GatewayManager.py
+++ b/Mailman/GatewayManager.py
@@ -34,20 +34,25 @@ class GatewayManager:
self.gateway_to_mail = 0
def GetConfigInfo(self):
+ WIDTH = mm_cfg.TEXTFIELDWIDTH
+
return [
'Mail-to-News and News-to-Mail gateway services.',
- ('nntp_host', mm_cfg.String, 50, 0,
+ ('nntp_host', mm_cfg.String, WIDTH, 0,
'The Internet address of the machine your News server '
'is running on.',
'The News server is not part of Mailman proper. You have to '
'already have access to a NNTP server, and that NNTP server '
'has to recognize the machine this mailing list runs on as '
'a machine capable of reading and posting news.'),
- ('linked_newsgroup', mm_cfg.String, 50, 0,
+
+ ('linked_newsgroup', mm_cfg.String, WIDTH, 0,
'The name of the Usenet group to gateway to and/or from.'),
+
('gateway_to_news', mm_cfg.Toggle, ('No', 'Yes'), 0,
'Should posts to the mailing list be resent to the '
'newsgroup?'),
+
('gateway_to_mail', mm_cfg.Toggle, ('No', 'Yes'), 0,
'Should newsgroup posts not sent from the list be resent '
'to the list?')