pipe to a program with mysql virtual users

2009-07-27 Thread Alejandro Vargas
I am using postfix+mysql virtual domains/users+dovecot+sieve. I am using virtual domains, users, and aliases in mysql. How can I create a pipe to a program like "test: |/usr/local/bin/test". If I insert an a record in aliases tables, postfix tries to deliver the mail to "|/usr/local/bin/t...@mydoma

Re: pipe to a program with mysql virtual users

2009-07-27 Thread Magnus Bäck
On Monday, July 27, 2009 at 11:00 CEST, Alejandro Vargas wrote: > I am using postfix+mysql virtual domains/users+dovecot+sieve. I am > using virtual domains, users, and aliases in mysql. How can I create > a pipe to a program like "test: |/usr/local/bin/test". If I insert > an a record in al

Re: pipe to a program with mysql virtual users

2009-07-27 Thread Alejandro Vargas
2009/7/27 Magnus Bäck : >> I am using postfix+mysql virtual domains/users+dovecot+sieve. I am >> using virtual domains, users, and aliases in mysql. How can I create >> a pipe to a program like "test: |/usr/local/bin/test". If I insert >> an a record in aliases tables, postfix tries to deliver the

Re: pipe to a program with mysql virtual users

2009-07-27 Thread Magnus Bäck
On Monday, July 27, 2009 at 11:55 CEST, Alejandro Vargas wrote: > Thank you very much. For the record, the solution was this: > 1) in /etc/postfix/main.cf: > > ensure alias_maps = hash:/etc/postfix/aliases > ensure mydestination = localhost > transport_maps = hash:/etc/postfix/transport >

Re: pipe to a program with mysql virtual users

2009-07-27 Thread Alejandro Vargas
2009/7/27 Magnus Bäck : > On Monday, July 27, 2009 at 11:55 CEST, >     Alejandro Vargas wrote: > >> Thank you very much. For the record, the solution was this: >> 1) in /etc/postfix/main.cf: >> >> ensure  alias_maps = hash:/etc/postfix/aliases >> ensure mydestination = localhost >> transport_maps