diff options
Diffstat (limited to 'mailman/docs/domains.txt')
| -rw-r--r-- | mailman/docs/domains.txt | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/mailman/docs/domains.txt b/mailman/docs/domains.txt deleted file mode 100644 index b71689520..000000000 --- a/mailman/docs/domains.txt +++ /dev/null @@ -1,46 +0,0 @@ -Domains -======= - -Domains are how Mailman interacts with email host names and web host names. -Generally, new domains are registered in the mailman.cfg configuration file. -We simulate that here by pushing new configurations. - - >>> config.push('example.org', """ - ... [domain.example_dot_org] - ... email_host: example.org - ... base_url: https://mail.example.org - ... description: The example domain - ... contact_address: postmaster@mail.example.org - ... """) - - >>> domain = config.domains['example.org'] - >>> print domain.email_host - example.org - >>> print domain.base_url - https://mail.example.org - >>> print domain.description - The example domain - >>> print domain.contact_address - postmaster@mail.example.org - >>> print domain.url_host - mail.example.org - - -Confirmation tokens -------------------- - -Confirmation tokens can be added to either the email confirmation address... - - >>> print domain.confirm_address('xyz') - confirm-xyz@example.org - -...or the confirmation url. - - >>> print domain.confirm_url('abc') - https://mail.example.org/confirm/abc - - -Clean up --------- - - >>> config.pop('example.org') |
