OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: virtual: Command as adress list

From: Søren Schimkat (schimkatschimkat.dk)
Date: Sun Jan 20 2008 - 04:26:06 CST


Wietse Venema skrev:
S�ren Schimkat:
  
Hi Guys

I have a working virtual file with  lot of redirections. Now I would 
like to do something like this:

some_user@domain.com  /usr/bin/script_that_returns_adresses.pl

The script returns adresses as comma seperated list. Can this be done, 
and what would be the correct syntax in the virtual file?
    

/etc/postfix/main.cf:
    virtual_alias_maps = ... maptype:mapname ...

Execute the command "postconf -m" and execute one of the table
lookup mechanisms that Postfix does support.  Pipe-to-command is
not a supported table lookup mechanism, because that would execute
non-Postfix software with Postfix privileges. This is forbidden by
design.

	Wietse
  
Ok. I will have to a rethink my idea. :-)

Thanks for the reply.

Regards Søren
-- 
mvh Søren Schimkat

www.schimkat.dk