On Monday, July 27, 2009 at 11:55 CEST,
     Alejandro Vargas <alejandro....@gmail.com> 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
> 
> 2) in /etc/postfix/transport:
> localhost       local:
> 
> 3) in /etc/postfix/aliases
> test: |/usr/local/bin/test
> 
> Then adding a virtual alias from t...@my.domain to t...@localhost

No need for a transport table entry if the domain is listed in
mydestination.

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to