OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Catchall-Feature not working as expected

From: 767 (767gmx.net)
Date: Thu Nov 17 2005 - 16:28:50 CST


Magnus Bäck wrote:

>>I've tried adding a mydomain.com to the alias-table - but now,
>>blamydomain.com never gets any mail?!
>>
>>
>
>That's because a catch-all really is a catch-all, unless you have more
>specific alias entries that get hit first. Postfix stops the recursive
>alias lookups when it encounters a lookup result that is identical to
>the lookup key. Therefore, you need aliases on the form a -> a for each
>valid user in the virtual mailbox domain. In your case, this translates
>to the following simple table:
>
> example.com infoexample.com
> blaexample.com blaexample.com
>
>
This does not match with your statement that postfix stops when it
encounters a lookup result that is identical to the lookup key. I see
the queries in mysqld's logfile - I see it getting blamydomain.com
(must be a success result), but it goes on querying for "mydomain.com",
"mydomain.com" and even "com". Does this make sense? No. I believe that
your example works, but that's like scratching your nose with your foot
instead your hand.

Thanks Magnus, I'll give it a try.