Link to home
Start Free TrialLog in
Avatar of bsher
bsher

asked on

setup a mail account without...

Hi,

i had setup www.abc.com, and for mail anything@abc.com goes to owner abc.

but now, i would like to add john@abc.com for a separate user 'john' thats mean john has his own mail box.

beside add new 'john' account to my server before setting the john@abc.com ,

is there any other way to do it?

Thanx
bsh
Avatar of bsher
bsher

ASKER

Adjusted points to 25
This depends on your mail server.
Is this  UNIX box, completely under your control.
Or is this a box/shares server at some ISP.

If your site is hosted at an ISP, you will have to
inquire with them as all of them have their own set of tools to do so.

If you have a UNIX box under your control,
I could help you out.
Avatar of bsher

ASKER

the mail server i under my control, so ....
is it a standard sendmail.. is it a UNIX/Linux System?
What is the version of Sendmail?
Avatar of bsher

ASKER

sendmail version 8.8.7
ASKER CERTIFIED SOLUTION
Avatar of battlej
battlej

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsher

ASKER

what i want is create a mail account for a user called john@abc.com without creat a unix account for him?

Is this the way?

I m not very familiar with sendmail

Thanx for help
The question now is how is that user going to access his email.   If you plan to forward that email
somewhere else, you can just use aliases to direct the mail. But if you want someone to access the mail
locally, it will be much easy to creat a local user id.

So. Will this person access the mail from the local machine?  if so creat a local user account.

If not.. you can forward the emails for that person
to a remote system using aliase forwarding.
Avatar of bsher

ASKER

yes he will access locally....

so i need to create a account for him..

By the way, how to disable ftp and telnet for that account, since i only want him to access mail only?
Disable ftp and telnet for the account.

Easiest thing to do is assign an invalid shell. to that user:

in /etc/passwd file
assign the shell as /nosuchshell /nobin/restricteduser
for that user.

Shell is the last field in the password entry
for example /bin/sh /bin/csh ( bash tcsh ksh etc.. )
this will prevent user from doing ftp and
telnet.

Avatar of bsher

ASKER

if i would like to forward, what r the steps i need to do