The following is the process I used to configure sendmail for Virtual Hosts on my
Qube 2. I tried to accurately capture the streamlined process but there may be typos
and other nuances for your specific setup. I would be happy to implement any corrections
and or additions to this description.
Add the domain names for which you will accept mail.
Add any specific virtual user mail routing and catch all lines. For example,
error:nouser Unknown user
Then create the hash table for this file:
makemap hash /etc/virtusertable < /etc/virtusertable