Jerry wrote:
On Tue, 06 Jul 2010 18:51:52 +0100 William Blunn <bill+dovecot@blunn.org> articulated:
Perhaps you could make the Sieve program pipe the message into a (shell) program which encapsulates the message as an attachment to a new message which it then pipes into your local e-mail submission program.
It might be easier to just write a new piece of code. Anyway, sieve does use a 'redirect' tag. Not really what I want, however, I might give it a try. I know that there was some talk of sieve employing a 'forward as attachment' scheme a while ago. Perhaps it just died.
I'd rather write a self-contained one page shell program which interfaced by standard IO pipes and command-line arguments, than several pages of C code which had to integrate with an existing code base on its own application programming API interface which I'd first have to spend N days learning about.
Bill