diff --git a/src/mailmanweb/forms.py b/src/mailmanweb/forms.py index b5638b0..98f8f0b 100644 --- a/src/mailmanweb/forms.py +++ b/src/mailmanweb/forms.py @@ -511,6 +511,12 @@ #linked_newsgroup = forms.CharField( #label = _('Linked newsgroup'), #) + mail_host = forms.CharField( + label = _('Mail Host'), + error_messages = {'required': _('Please a domain name'), + 'invalid': _('Please enter a valid domain name.')}, + required = True + ) #max_days_to_hold = forms.IntegerField( #label = _('Maximum days to hold'), #error_messages = { @@ -828,7 +834,8 @@ # just a really temporary layout to see that it works. -- Anna layout = [ ["List Identity", "real_name", "include_list_post_header", - "include_rfc2369_headers", "description", "reply_goes_to_list"], + "include_rfc2369_headers", "description", "reply_goes_to_list", + "mail_host"], #"info", "list_name", "host_name", "list_id", "fqdn_listname", #"http_etag", "volume", "web_host" ["Automatic Responses", "autorespond_owner",