forked from mirror/django-mailbox
Updating documentation to explain exim4 configurations in greater detail.
This commit is contained in:
parent
8741648666
commit
3a2e05b01f
1 changed files with 9 additions and 1 deletions
|
|
@ -58,8 +58,8 @@ start by adding a new router configuration to your Exim4 configuration like::
|
||||||
django_mailbox:
|
django_mailbox:
|
||||||
debug_print = 'R: django_mailbox for $localpart@$domain'
|
debug_print = 'R: django_mailbox for $localpart@$domain'
|
||||||
driver = accept
|
driver = accept
|
||||||
domains = +local_domains
|
|
||||||
transport = send_to_django_mailbox
|
transport = send_to_django_mailbox
|
||||||
|
domains = mydomain.com
|
||||||
local_parts = emailusernameone : emailusernametwo
|
local_parts = emailusernameone : emailusernametwo
|
||||||
|
|
||||||
Make sure that the e-mail addresses you would like handled by Django Mailbox
|
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``,
|
``jane@example.com``,
|
||||||
the contents of ``local_parts`` would be, simply ``jane``.
|
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::
|
Next, a new transport configuration to your Exim4 configuration::
|
||||||
|
|
||||||
send_to_django_mailbox:
|
send_to_django_mailbox:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue