In exim4, I use following pipe to send a message to a python script, process it, and upload it to django:
send_to_django_mailbox:
driver = pipe
command = /usr/local/bin/python /etc/exim4/conf.d/transport/send_mail.py $message_body $message_headers_raw
return_path_add
delivery_date_add
instead of passing in $message_body
and $message_headers_raw
I would like to pass in the very raw message, without any substitution. How can I achieve it? I cannot find a variable message_raw
or similar.