2009/4/2 Nathan Huesken <[email protected]>:
> Hi,
>
> I share my exim mail server with other users.
> Whenever I send a mail (I can be identified by my authentication) I
> would like to put the "To" header in my addressbook using an external
> command.
>
> To test it, I tried this:
> acl_check_data:
> warn authenticated = [email protected]
> message = ${run{echo $h_To >> /tmp/local}}
>
> [email protected] is my smtp login name.
> But /tmp/local does not appear when I send a mail.
>
As is noted in the docs for ${run, if you need a shell you have to
arrange it yourself, eg
${run{/bin/bash -c echo ....
Peter
--
Peter Bowyer
Email: [email protected]
Follow me on Twitter: twitter.com/peeebeee
--
## List details at http://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/