Sahil Tandon: > Joselito wrote: > > > I'm moving an existing domain to virtual mailboxes. All the info is > > stored in a mysql database. Currently all devlivery and alias mapping > > is working correctly; I'm using virtual_mailbox_maps, > > virtual_alias_maps and virtual_mailbox_domains stored in the sql > > backend. > > > > Problem is that aliases that pipe to a command and aren't delivered > > anywhere > > - this is most common for mailing list software like mailman and > > smartlist. Dropping the piped command into the destination side of an > > alias map results in a bounce mail, and the logs show an unknown user > > error. The current workaround that I'm using is to alias to another > > alias in /etc/aliases (obviously a flat file, not an sql backend) which > > is aliased to the pipe. > > You cannot pipe to programs from virtual alias maps; use local aliases > as you currently do, or route to an address that resolves (via > transport_maps) to a pipe transport.
See also examples in http://www.postfix.org/VIRTUAL_README.html for delivery to command. Wietse