> From Erik Schorr on Tuesday, June 26, 2007 10:51 PM
>
> What I'd like to do is send messages with recipients that are
> "forward users" (as picked up by the sql_aliases router shown
> below) through a pipe, so the pipe can check and add some
> headers, and then re-inject into the queue as a new outbound
> message. Procmail will NOT be used for local deliveries
> (there should be no local deliveries on this system, as it's
> only used to forward mail)
>
> command = "forward_prog -f '$header_from' -r
> '[EMAIL PROTECTED]' -t '${lookup mysql {SELECT alias
> FROM email_virtuser WHERE user='$local_part' AND
> domain='$domain' AND is_alias='Y' AND active='Y'}{$value}}'"
I don't really know the direct answer to your question, but what does
forward_prog actually do? You might be able to do the same thing within Exim
without calling an external program. Exim can add, remove, and change headers.
If it's just rewriting addresses, it can do that too, very easily.
David
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/