Sendmail With Virtusertable and usernames with @ format

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 "joe@thejoesite.com" and virtusertable basically has the below line:

joe@thejoesite.com                 joe


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.

any ideas
JaidenkellAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PsiCopCommented:
Hmmmm.....add another IP address to the system, and bind a second sendmail to that IP address (and keep the first one bound to the first IP address), and give it responsibility for the other Domain. That's what comes to mind immediately, altho I have a nagging suspicion that local delivery remains problematic.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jlevieCommented:
It is possible to solve the local mail problem by additional localhost IP's, but this sort of solution becomes very unwieldly very quickly. And, inaddition to needing multiple Sendmail instances with their own mqueue * mail dirs you also have to have multiple instances of the IMAP/POP servers.

A better solution is a mail system that includes virtual domain support, such a Cyrus.
0
JaidenkellAuthor Commented:
so basically, sendmail doesn't support the ability to have segregated usernames?  also, i have a client who is migrating from a format that had thier whole email address as thier username (joe@thejoecompany.com), but if i try to use this setup in redhat/sendmail, it obviously wont let you use a @ in a username.  any ideas on that one?

thanks for the help so far guys!
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

kenfcampCommented:
no. "@" is an invalid character

There is a module for webmin (assuming you're using a supported OS: linux, *BSD etc) called virtualmail that does what you're looking accomplish.
0
jlevieCommented:
The Cyrus IMAP implementation allows for mail accounts for the form user@domain.com when Virtual Domain support is enabled.
0
PsiCopCommented:
I dunno - points split?
0
kenfcampCommented:
Split, Flip a coin, draw name from hat

what ever you decide to do will be fine ;)

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.