-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 11, 2000 12:41 PM
To: [EMAIL PROTECTED]
Subject: Email accounts to go with Virtual Hosting - need advise

Howdy,

I'm very new to email on Linux, right now we're running the default sendmail
on RH 6.2. I have the basic system running, but now I'm not at all sure how
to do some of the fancier stuff. For instance:

We have several web sites on this server using IP-based virtual hosting.
Some of these sites need associated emails: "Contact
[EMAIL PROTECTED]" sort of thing. The domain names, of course,
point to various IPs on that server.

So I need some advise about how to run email accounts for virtual IPs with
sendmail. the first thing is a simple forward; I need everything that goes
to johndoe@virtualserver#4.com to be forwarded to this guy's personal email
address (he does not need to be able to send out, only recive). It seems
like it should be a matter of an entry in the /etc/alias file - is that
true?

Actually, you would be better off using the virtusertable for this.  Add a
line similar to:
@virtserver4.com        john
That will route all incoming mail going to any address @virtserver4.com to
the local email address of john

Also, is there a way to set up mail accounts, pop3 I guess, without setting
up a user accounts? We have some people we'd need to give pop3 access to,
but we really don't want to set up a shell, ftp, home dir etc. Just mail.

Any advise would be appreciated. I'm already reading the sendmail docs, so
don't tell me RTFM :-) If anyone knows of good articles on this kind of
stuff, please send me URLs.

First I would make a mailuser group and a /home/mailuser just to have as
pointers.  Then to add the user:
useradd -d /home/mailuser -g mailuser -s /bin/noshell -M
Good Luck!
Warren 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to