I have a mailhost with most of the domain users delivered locally and some users (same domain) residing in other machines. The relevant configuration: mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain local_recipient_maps = proxy:unix:passwd.byname, $alias_maps, ldap:/etc/postfix/ldap-users.cf transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport: foo...@example.com smtp:172.16.34.34 I don't want to create the users that reside in other host in the ldap directory and, with this configuration, i get an "Unknown user..." when i send an email to foo...@example.com So, I extend the value of local_recipient_maps to include the desired remote users with: local_recipient_maps = proxy:unix:passwd.byname, $alias_maps, ldap:/etc/postfix/ldap-users.cf, hash:/etc/postfix/to-transport /etc/postfix/to-transport: foo...@example.com x Now, the transport_maps is evaluated and the mail is rerouted to 172.16.34.34. However, is difficult to maintain /etc/postfix/to-transport because there are quite users who needs this. A solution could be a catch-all address but I read and advise from Viktor not recommending that. I was playing with fallback_transport_maps but the user still needs to be in local_recipient_maps. Is there a better way to do this? I read an old post (2000) from Wietse (http://archives.neohapsis.com/archives/postfix/2000-01/0475.html) talking about "re-vamping and unifying the virtual/transport maps" in a similar thread and i was wondering how does it end. Ignacio.