Koozali.org: home of the SME Server

Virtual Domains and multiple email addresses

Duncan Stamp

Virtual Domains and multiple email addresses
« on: January 06, 2003, 08:26:20 PM »
I have over 20 virtual domains and need to restrict users email addresses to single domains.  When they get created I can send emails to user@anydomain.com and it gets delivered to the user mailbox.

How do I restrict this?

I have tried the .qmail-default / 90aliases solution but gets mail sent to

user-user@domain.com

and bounces.

My .qmail-default contains the following entry:

user

My 90aliases file contains the following entry:

user@domain.com:user

This entry does get added to the /var/qmail/control/virtualdomains file.

Bill Talcott

Re: Virtual Domains and multiple email addresses
« Reply #1 on: January 08, 2003, 08:22:20 AM »
This doesn't help much, but I hope it clarifies things a bit...

Each user is a user on your SME. Whether you have 1 domain or 20, they point to the SME. Anything for those domains will end up at your SME, where it sends it to the specified user. Each user is on your server, which just happens to have many names...