OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: domain1 -> domain2

From: Magnus Bäck (magnusdsek.lth.se)
Date: Sun Oct 23 2005 - 15:20:37 CDT


On Sunday, October 23, 2005 at 21:27 CEST,
     Ben Beuchler <insytegmail.com> wrote:

> I have multiple virtual_mailbox_domains type virtual domains. I would
> like to add a domain that is an alias for a complete domain, such that
> "user1domain_a" maps to "user1domain_b". I know I've seen a map
> that accepts syntax like this:
>
> domain_a domain_b
>
> but I can't seem to find it described in the documentation. Can
> someone point me in the right direction?

See virtual(5) like Ralf pointed out, but you must not use this feature
since it breaks recipient validation. Instead, make explicit mappings
for each user,

   user1example.com user1example.net
   user2example.com user2example.net
   ...
   userNexample.com userNexample.net

or simply modify your virtual mailbox map so that user1example.com and
user1example.net both map to the same mailbox.

--
Magnus Bäck
magnusdsek.lth.se