Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-25-2005, 05:11 PM
|
#1
|
Member
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420
Rep:
|
Virtual hosting with sendmail
I have a mail server that currently answers to one domain. I think I can make it work for two quite easily by adding another domain name in the /etc/mail/local-host-names directory. However, there is one thing that I can't figure out how to do...
My username on my mail server is gauge. My domain is ash-can.com. Clearly, my email address is gauge@ash-can.com. However, I don't want an address on this new domain that I'm adding to my server (which we'll call newdomain.com). So, I want gauge@ash-can.com to exist without being the same as gauge@newdomain.com. How can I make this happen? How can I keep the accounts for these domains separate, but on the same machine?
|
|
|
08-25-2005, 08:37 PM
|
#2
|
Member
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161
Rep:
|
See the sendmail documentation on "virtusertable" to map parts of e-mail addresses to accounts, aliases, other e-mail addresses etc.
sendmail.mc...
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')
e.g. virtusertable...
user1@example1.com localuser1
user1@example2.com localuser2
user2@example1.com user@somewhere.else
|
|
|
08-25-2005, 09:35 PM
|
#3
|
Member
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420
Original Poster
Rep:
|
EDIT: Nevermind, I understand now. Thanks for the advice!
Last edited by gauge73; 08-25-2005 at 09:41 PM.
|
|
|
08-26-2005, 11:34 AM
|
#4
|
Member
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371
Rep:
|
Pardon my jumping in on this, but I have a related dumb question:
Say I have a user "pat" on my machine, and can get email just fine at "pat@domain". Now, say I don't want my various email clients to login to my IMAP server using this user's username/password (since I may be logging in from my work machine, from a friend's machine, etc. and don't want to risk someone picking up that password via keylogger software or something), and instead want to set up an "email only" user, say "patmail", whose sole reason for existence would be to have an email account on my machine, so that I would login to THAT user with my email clients to check email. In order to have email to "pat@domain" be deposited in the "patmail" inbox, would I need to set up an alias or virtuser or something in Sendmail to do that?
If there's a different/better way to do what I'm trying to do (or some documentation addressing this scenario), please let me know. I've done several searches along the lines of "email only user", etc. but haven't seen anything that seems to be related to this.
Thanks,
|
|
|
08-26-2005, 01:15 PM
|
#5
|
Member
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161
Rep:
|
It still won't get round the key-logging, but separating your e-mail and login accounts might be worth doing. At worst, your e-mail could be accessed.
There are a numbr of ways to set up e-mail only accounts from simple, dummy, nologin users and an alias thru to Cyrus IMAP. You might want to take a look at squirrelmail for web-based e-mail. Or, check to see what authentication methods your IMAP server supports - may be able to use a differnet password database for IMAP connections based on DIGEST etc. which is much more secure.
|
|
|
08-26-2005, 01:40 PM
|
#6
|
Member
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371
Rep:
|
Ok. My next step IS squirrelmail now that I've got my IMAP/POP up and running (I've had Apache/PHP/MySQL running for quite some time), so I'll definitely be looking into options there.
Thanks for the info 
|
|
|
All times are GMT -5. The time now is 11:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|