On Fri, 25 Sep 2009, Jeroen Koekkoek wrote:

> I have a question about mixing virtual mailboxes and relay recipients.

No, do not mix them.  $relay_recipient_maps specifies valid addresses
for $relay_domains; similarly, $virtual_mailbox_maps is for domains that
match $virtual_mailbox_domains.

> us...@domain.tld is delivered to a virtual mailbox
> us...@domain.tld is relayed to another host
> 
> Currently I'm doing this by listing the domain in virtual_mailbox_domains,
> listing both users in virtual_mailbox_maps and then adding an entry to the
> transport_maps instructing Postfix to relay us...@domain.tld to
> mail.domain.tld.
> 
> I'm just wondering if this is the best way to go around. Does anybody have
> experience with this sort of situation or does anyone have a better
> solution?

Using $transport_maps is fine.

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to