-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/23/09 16:33, Michael Monnerie wrote: > Ah, this was soooo close. What a pity. > Maybe there's another way? > What about a postfix milter? > I just need a sieve that can call an external program to deliver mails. > Is that really not existing? Why don't you just call the "external program" for the delivery as you call sieve. In my systems we call dovecot's deliver like this:
dovecot unix - n n - - pipe flags=DRhu user=v:v argv=/usr/libexec/dovecot/deliver -d ${recipient} That means the using dovecot as the virtual delivery transport will pass the mesage to the piped program (deliver in this case) through it's standard input, with the parameters passed on the command line, in this case using ${recipient} as substitute parameter for the real message recipient. I can't see the need for going through hoops into sieve for just calling a program with the message piped into it when it can just be done over the pipe mechanism. - -- Victoriano Giralt Systems Manager Central ICT Services University of Malaga SPAIN -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Remi - http://enigmail.mozdev.org/ iD8DBQFKaH5fV6+mDjj1PTgRAsv+AJ9mWB7ARa8ZgjtxYxFjMXGIg7RzNgCfU+JF PFtSzDj8B1s4sUy3ygOWemw= =wJnq -----END PGP SIGNATURE-----