[imp] virtual domains

Wouter Hanegraaff wouter+imp@duckman.blub.net
Wed, 15 Aug 2001 16:33:21 +0200


On Wed, Aug 15, 2001 at 07:21:27AM -0400, Guray Sunamak wrote:
> I've set up imp 2.2.7 with ldap, cyrus(pwcheck_method=ldap) and postfix(using
> ldap authorization). Everything works fine.
> Now I want to host two different domains on the same host. But It should be able
> to use the same username for different domains. e.g. info@domain1.com and
> info@domain2.com should be used by two different individuals. Is there anyone
> who could manage this?

You could make info@domain1.com and info@domain2.com virtual adresses
that deliver to user1 and user2. See man virtual (note - this is
postfix-only) In imp, the users would have to login as user1 and user2.

Additionally, you might want to automagically rewrite the info@
addresses using the canonical maps (man canonical), so e-mails sent by
user1 will have the from adresses rewritten to info@domain1.com and
similar for user2. But for an info@ address, that seems a bit unusual.

Hope this helps,

Wouter