Author: Jeremy Harris Date: To: exim-users Subject: Re: [exim] How to add item to whitelist stored in LDAP every time
local user sends mail to extermal address
On 20/04/2020 11:32, Орлов Олег via Exim-users wrote: > The task is to append item to the whitelist of addresses every time a
> local user sends an email out.
> The whitelist is stored in LDAP. I wrote a perl script for writing
> e-mail to properly branch of LDAP tree.
> How to run a script when a local user sends a message out ?
If your exim is built with perl embedded, there is an expansion
which calls a perl function.
Otherwise, there's a "run" expansion, which can call any executable
(eg. perl).
--
Cheers,
Jeremy