Web Hosting Talk







View Full Version : Technical Question...


WebadOnline
07-11-2002, 09:25 PM
I am running Sendmail on my server and I would like to know how I could possibly setup email accounts that ARE NOT unix user accounts? Can someone please direct me to a HOW-TO or tell me how to do it or something?

Thanks,
Michael

ntwaddel
07-11-2002, 09:34 PM
i have been wondering the same thing for a while now :D

dandanfirema
07-11-2002, 09:44 PM
Here is kind of an answer.......
Create a unix user whose shell is /bin/false

This should allow the user to have email but not login.

Mdot
07-11-2002, 09:56 PM
Originally posted by dandanfirema
Here is kind of an answer.......
Create a unix user whose shell is /bin/false

This should allow the user to have email but not login.
:eek:

WebadOnline
07-11-2002, 09:57 PM
Woopie... It worked...

Thanks,
Michael

PS: Now it's time to read about Virtual hosting w/ Sendmail..lol

dandanfirema
07-11-2002, 10:08 PM
:D

Roger
07-11-2002, 10:48 PM
Originally posted by WebadOnline
Woopie... It worked...

If you want your users to have FTP access to their home directories you need either to add /bin/false to /etc/shells file or if you are using ProFTPD, edit the config file (/etc/proftd.conf) and change the require a valid shell - I don't remember exactly the name but it should be something obvious like RequireValidShell yes|no

PS: Now it's time to read about Virtual hosting w/ Sendmail..lol

That's easy. Add the domain name to /etc/sendmail.cw or /etc/mail/sendmail.cw (depend on you system) and sendmail will accept mails for that domain (need restart everytime you add a new domain).

driverdave
07-11-2002, 11:55 PM
Even if they don't have a shell, they still have a unix user account and they are users on the system.

Look into Qmail for email accounts that aren't tied to user accounts.