OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: local delivery fails ((unknown mail transport error) when combined with mailbox_transport_maps

janweitan.org
Date: Sun Jun 13 2010 - 11:00:36 CDT


Hi Wietse,

>> main.cf:
>> + mailbox_transport=smtp:[weitan.org] # forward everything ...
>> + mailbox_transport_maps=hash:/etc/postfix/mailbox_transport_maps # ...
>> except some mails
>>
>> With mailbox_transport_maps:
>> + jan local
>
> You have set up an infinite loop, asking the local delivery agent
> to deliver mail via the local delivery agent.
Ok.

My intention is:

everythingweitan.org relay to weitan.org

which the entry:
 mailbox_transport=smtp:[weitan.org]
does.

Now, how can i tell postfix NOT to relay janweitan.org to weitan.org but
to deliver it locally?
I thought mailbox_transport_maps would be a comfortable solution for this ...

Jan