On Donnerstag 23 Juli 2009 Victoriano Giralt wrote: > 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.
With this way, you have postfix -> dovecot, calling dovecot deliver to deliver the mail to a local mailbox. We don't have local mailboxes, those are stored on another server. You'd need to call an external program from deliver, which isn't possible. Now if you can tell me the way to get the e-mail out of that "deliver" program again into postfix, with the recipient rewritten to user+mail...@x.y, then you made my day. mfg zmi -- // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4
signature.asc
Description: This is a digitally signed message part.