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

-- 
## 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