I use $run to convey data to a PHP script (programme).

> warn    message   = ${run{SHELL -c "PHP PMAIL 'A' $sender_address \
>                     $local_part@$domain ${primary_hostname} \
>                     '[SNC24] Sender unauthorised' \
>                     'Subject : ' '$h_subject:'"}}

It works reliably.

Can the 'warn' and 'message' be substituted for other terms ?

Regards,

Paul.



Notes:

PMAIL is a predefined Exim constant containing the PHP script's details.
SN is another predefined Exim constant.



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to