On 20 Sep 2001, Arkadiusz Miskiewicz wrote:
> I was thinking about some method of executing external programs. For
> example server_condition = ${exec /usr/sbin/authorize_me {$1} {$2}}. Now
> if authorize_me returns 0 then auth ok else auth failed. With
> -rwsr-x--- root.exim /usr/sbin/authorize_me that shouldn't be security
> problem if parameters were properly checked.
>
> Maybe this is Exim 4 thing?
Yes. Exim 4 supports ${run {command args}{yes-string}{no-string}}.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.