Hi, I'm trying to migrate our Postfix setup to OpenSMTPD (OpenBSD 5.5). The current setup contains two mx servers that run spamd and forward the mail to the mailbox server using a transport map. On the mailbox server we use "virtual domains" so mail for [email protected] and [email protected] go to different mailboxes.
On the mx servers we use the following (Postfix) options: - virtual_mailbox_domains = hash:/etc/postfix/virtual-domains - virtual_alias_maps = hash:/etc/postfix/virtual-aliases - virtual_mailbox_maps = hash:/etc/postfix/virtual-mailboxes - virtual_transport = smtp:[mail.example.com] The virtual_mailbox_domains can be replaced with a domain table: accept for domain <mydomains> .... The virtual_alias_maps can be replaced with a aliasing table: accept for domain <mydomains> virual <myaliases> ... But how do I replace the virtual_mailbox_maps and virtual_transport so that only mail for known users gets forwarded to the mailbox server? And is it possible to configure OpenSMTPD - on the mailbox server - so that [email protected] and [email protected] go to different mailboxes? If I use a userinfo table I can only specify the user part and not the complete domain and the mail would end up in the same mailbox. Kind regards, Martijn Rijkeboer

