Victor Duchovni a écrit : > [snip] > Why per-recipient transport lookups? Often better to rewrite to a domain > where the entire domain is handled by lmtp(8). >
is there a benefit in avoiding per recipient transports? or said otherwise: is there a way to tell postfix to only lookup domains? >> But what do I do to tell Postfix recipi...@example.com is a valid recipient? > > Use virtual_mailbox_maps. > >> Can I reuse my transport map and add it to local_recipient_maps, >> virtual_alias_maps or virtual_mailbox_maps as required? > > Don't add $transport_maps to virtual_mailbox_maps, but if per-recipient > transport entries are the right solution, use a common table that you > add to both: > > lmtp_user_transport_maps = <maptype>:<mapname> > transport_maps = ... $lmtp_user_transport_maps > virtual_mailbox_maps = ... $lmtp_user_transport_maps > > Provided the same users will never reach virtual(8), the fact that > the RHS is transport-valued rather than mailbox-path-valued is not > a problem. >