Using mail.local with Exim is quite straightforward. The following example illustrates the definition of appropriate transport and director in exim.conf:
# transport mail_local_pipe: driver = pipe command = /usr/local/libexec/mail.local $local_part return_path_add delivery_date_add envelope_to_add # director mail_local: driver = localuser transport = mail_local_pipe