Doug Barton:
> > Unlike .forward or files which exist for selected users, injecting
> > envelope data (e.g. user=${user}) into the pipe(8) execution context
> > could allow remote senders to execute code as any user on the system
> 
> Yes, that's what I want to do. :)  Still easily done with a wrapper script.

Use the local(8) delivery agent for delivery as the recipient.
http:://www.postfix.org/postconf.5.html#mailbox_command
http:://www.postfix.org/postconf.5.html#mailbox_command_maps
http:://www.postfix.org/postconf.5.html#forward_path

The pipe(8) delivery agent is for delivery with a fixed role.

        Wietse

Reply via email to