Sendmail With Virtusertable and usernames with @ format
Posted on 2004-11-22
Just a quick question, we have a sendmail server that hosts about 100 mail domains on it and its currently using the virtusertable (along with the aliases, local-host-names, and mailertable) to define who goes where and does what. The way we have it set up is that if your a mailbox hosted on that server, you've got an actual system account (in this example, lets say "Joe"). so joe has a useraccount of "joe" with an email address of "email@example.com" and virtusertable basically has the below line:
It routes to his mailbox locally and he logs in via POP3 and picks up the email and all is well with teh world. Problem is since joe is a username on the system, if we get another client who wants to use the username of "joe" for his email as well (clients who migrate to us for instance and are set in their ways about thier email addresses and usernames), we cant do it because joe is already a user and attached to another domain. I've seen other hosting companies segregate these usernames out somehow (i know plesk does it pretty seamlessly), so i was wondering what kind of a change would i have to make to our setup to make it so that i can have two joe's that go to different domains on this box without having a conflict.