Matteo Niccoli:
> Wietse Venema ha scritto:
> > Look at the virtual(8) delivery agent. It uses lookup tables
> > to map a recipient to a pathname, and to look up the UID/GID
> > information. Such tables can be generated programmatically.
> > 
> > http://www.postfix.org/virtual.8.html
> > http://www.postfix.org/VIRTUAL_README.html
> 
> So is not possible attach a simple script that receive as stdin
> the email address, return on stdout the mailbox pathname, so
> the virtual deliver agent write on that path? I have to generate
> these tables with cron or something else? I'm worried about
> number of active mailboxes I'm running now.

You could fork-and-exec a "postmap" command to query the databases
and read stdout from that command, but that would be inefficient.

        Wietse

Reply via email to