From 3a2e05b01f0bef6d7eda4af35266025721d6a006 Mon Sep 17 00:00:00 2001 From: Adam Coddington Date: Tue, 3 Jun 2014 19:51:34 -0700 Subject: [PATCH] Updating documentation to explain exim4 configurations in greater detail. --- docs/topics/polling.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/topics/polling.rst b/docs/topics/polling.rst index 7b52d47..0134104 100644 --- a/docs/topics/polling.rst +++ b/docs/topics/polling.rst @@ -58,8 +58,8 @@ start by adding a new router configuration to your Exim4 configuration like:: django_mailbox: debug_print = 'R: django_mailbox for $localpart@$domain' driver = accept - domains = +local_domains transport = send_to_django_mailbox + domains = mydomain.com local_parts = emailusernameone : emailusernametwo Make sure that the e-mail addresses you would like handled by Django Mailbox @@ -72,6 +72,14 @@ For example, if one of the e-mail addresses targeted at this machine is ``jane@example.com``, the contents of ``local_parts`` would be, simply ``jane``. +.. note:: + + If you would like messages addressed to *any* account *@mydomain.com* + to be delivered to django_mailbox, simply omit the above ``local_parts`` + setting. In the same vein, if you would like messages addressed to + any domain or any local domains, you can omit the ``domains`` setting + or set it to ``+local_domains`` respectively. + Next, a new transport configuration to your Exim4 configuration:: send_to_django_mailbox: