|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)Date: Mon Jun 03 2002 - 15:06:27 CDT
bronto:
>
sub.domain.com catchall
sub.domain.com
>
> But when I do this, ALL mail sent to sub.domain.com ends up in
> catchall
sub.domain.com, even user1 & user2.
That's right. virtual maps are queried recursively. If you have
a table
user1
sub.domain.com user2
sub.domain.com
sub.domain.com catchall
sub.domain.com
Then the substitution is user1
sub.domain.com -> user2
sub.domain.com
-> catchall
sub.domain.com.
The clean "fix" for this is a switch that makes the virtual map
lookups non-recursive (i.e. stop after the first lookup attempt,
successful or not).
To work around this, try the following hack:
user1
sub.domain.com user2
sub.domain.com
user2
sub.domain.com user2
sub.domain.com
sub.domain.com catchall
sub.domain.com
I hope this will terminate the recursion for user2
sub.domain.com.
At least, with current Postfix versions. Older versions have a very
odd way of dealing with self-referring virtual map entries.
Wietse
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]