On Thu, Jul 23, 2015 at 09:08:53AM -0400, Marvin Renich wrote: > I would like to use something like > > virtual_mailbox_domains = domain1.org domain2.org > virtual_uid_maps = hash:/etc/postfix/virtual_uids > virtual_transposrt = maildrop > > with > > maildrop unix - n n - - pipe > flags=DRhu user=vmail argv=/usr/bin/maildrop -d > ${user_from_virtual_uid_maps} > ${user} ${domain} ${extension} ${recipient} ${nexthop}
Not possible. The virtual_uid_maps parameter is a feature of the virtual(8) not the pipe(8) transport. And it stores a numeric uid, not a login name. You'll need to implement any required lookups in a wrapper program around the underlying maildrop transport. -- Viktor.