mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
Adding migration for handling incoming messages; adding exim4 scripts for routing messages to django_messages.
--HG-- branch : exim4_pipe
This commit is contained in:
parent
5cf07a1c7b
commit
24c2a98d81
4 changed files with 54 additions and 0 deletions
6
scripts/router
Normal file
6
scripts/router
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
django_mailbox:
|
||||
debug_print = 'R: django_mailbox for $localpart@$domain"
|
||||
driver = accept
|
||||
domains = +local_domains
|
||||
transport = send_to_django_mailbox
|
||||
local_parts = emailaddressusername : anotheremailaddressusername
|
||||
8
scripts/transport
Normal file
8
scripts/transport
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
send_to_django_mailbox:
|
||||
driver = pipe
|
||||
command = /path/to/python /path/to/manage.py processincomingmessage
|
||||
user = www-data
|
||||
group = www-data
|
||||
return_path_add
|
||||
delivery_date_add
|
||||
Loading…
Add table
Add a link
Reference in a new issue