OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: fatal: garbage after "]" > postfix-2.1.4

From: mouss (usebsdfree.fr)
Date: Tue Jan 03 2006 - 19:09:39 CST


Pablo L. Arturi a écrit :
>>>The transport for the destination is:
>>>
>>>smtp:[200.59.45.4],smtp:[200.59.45.4]
>>>
>>>
>>>>transport_maps = mysql:/etc/postfix/mysql-transport.cf
>>>
>>>Your transport table lookup returned two rows.
>>>
>
>
>
> just curious, why it doesn't stops at first match as alias lookup does?
>

It works the same way as alias lookup. with an alias lookup of

fooexample.com foo1example.com, foo2example.com

mail to foo is sent to both foo1 and foo2. soo putting two rows in mysql
that return foo1 and foo2 respectively will result in both being used.

You can add "LIMIT 1" in your mysql query, but it is better to fix the
error.