OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: virtual domains without specifying users?
From: Barton Hodges (bartongcmcomputers.com)
Date: Thu May 18 2000 - 19:33:24 CDT


What is the correct method of accepting mail for a virtual
domain for _all_ users?

For instance, I have realdomain.com which is the actual $mydomain
and virtdomain.com which is a virtual domain.

using virtual_maps, I can create a virtual file that contains:

virtdomain.com -
tomvirtdomain.com tomrealdomain.com
dickvirtdomain.com dickrealdomain.com
harryvirtdomain.com harryrealdomain.com

and this will successfully deliver the mail to the local users.

However, I don't want to have to specify EVERY user in the
virtual file. I just want all of the mail sent to valid users
at virtdomain.com to be sent to the appropriate realdomain.com user.

main.cf says not to list virtual domains in the $mydestination
variable, but is this the only way to accomplish what I want
done?

Thanks,

Barton