Eddy Ilg: > Dear Postfix Users, > > due to a server migration we need to set group permission bits of our > virtual mailboxes. We are using the virtual MDA. > > With the local MDA there is a mailbox_command option which we could use > as a wrapper for maildrop. With virtual there does not seem to be such > an option. Any suggestions how we could run a script from virtual each > time a mail is delivered?
To deliver mail to command, use the pipe(8) delivery agent. The virtual(8) delivery agent delivers to file only. You can use per-recipient transport map entries to choose the delivery method. Wietse