2009/7/27 Magnus Bäck <mag...@dsek.lth.se>:
> 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.

In my case, local delivery is made by dspam+dovecot. Transport was
needed to avoid it and let postfix deliver the mail by itself.

Reply via email to