Re: Sendmail account setup
You should consider using LDAP with Sendmail, check: http://www.sendmail.net/?feed=interviewlaird01 http://sendmail.net/?feed=donnellyldap01 http://sendmail.net/?feed=donnellydirtree regrads, jaume. Hello All, I have a question on Sendmail. I would like to give out email accounts but do not want to give them a debian account. All I want them to have access to is email. Can this be done? Now when I add a new email account I have to use adduser which creates a home directory. What are ISP's using? Thanks in advance for your help and time -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Jaume Teixi Administrador de Sistemes 6TEMS - Ducform, SA http://www.6tems.com
Re: Sendmail account setup
The script is at http://devil.research.at/. Its main purpose is to enable/disable and edit vacation messages. If you speak Perl it would not be difficult to get it to do other things. It uses ftp to contact the mail server host though, using the user's username and password. With a shell of /bin/false, that could be a problem depending on the ftp server config. Proftpd can deal with it, keeping security issues in mind. Ernest Johanson Web Systems Administrator Fuller Theological Seminary On Fri, 3 Nov 2000, Christopher Clark wrote: Date: Fri, 03 Nov 2000 09:36:54 + From: Christopher Clark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Sendmail account setup re your post in Debian users You can assign the users a shell of /bin/false, which will prevent normal logins to the machine. Users won't be able to directly set forwarding either though, so you might need a way for them to do that. Somewhere I have seen a CGI script that would administer forwarding through a web page, but I don't remember where right now. If that's of interest, let me know and I'll see if I can pull it up. Sorry to be a nuisance but I would be very interested in that script as well. If there is any chance. regards Chris
Re: Sendmail account setup
You can assign the users a shell of /bin/false, which will prevent normal logins to the machine. Users won't be able to directly set forwarding either though, so you might need a way for them to do that. Somewhere I have seen a CGI script that would administer forwarding through a web page, but I don't remember where right now. If that's of interest, let me know and I'll see if I can pull it up. Ernest Johanson Web Systems Administrator Fuller Theological Seminary On Wed, 1 Nov 2000, Jay Kelly wrote: Date: Wed, 01 Nov 2000 09:51:54 -0800 From: Jay Kelly [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Sendmail account setup Hello All, I have a question on Sendmail. I would like to give out email accounts but do not want to give them a debian account. All I want them to have access to is email. Can this be done? Now when I add a new email account I have to use adduser which creates a home directory. What are ISP's using? Thanks in advance for your help and time
Re: Sendmail account setup
I heard that Ernest Johanson wrote this on 02/11/00: You can assign the users a shell of /bin/false, which will prevent normal logins to the machine. Users won't be able to directly set forwarding either though, so you might need a way for them to do that. Somewhere I have seen a CGI script that would administer forwarding through a web page, but I don't remember where right now. If that's of interest, let me know and I'll see if I can pull it up. Instead of using /bin/false as a shell, and a CGI script to configure the account, he could make a shell script (or C program, for that matter) that allowed the user to change his password, create a .forward file, using some kind of system like vacation (comes with sendmail, I guess - never used it), etc. Of course, if this is going to be implemented in an ISP (which means clueless lusers), telnetting/sshing to the ISP server to change the configuration of his account is probably too much to ask to the users. So I guess a CGI script would be better. Regards, sena... -- [EMAIL PROTECTED] http://decoy.ath.cx/~sena/
Re: Sendmail account setup
I heard that Jay Kelly wrote this on 01/11/00: Hello All, I have a question on Sendmail. I would like to give out email accounts but do not want to give them a debian account. All I want them to have access to is email. Can this be done? Now when I add a new email account I have to use adduser which creates a home directory. What are ISP's using? Thanks in advance for your help and time I've never tried this approach, I just thought of it now... Instead of using adduser (which I don't use), use useradd (I can give you more advice on that)... useradd doesn't create a home directory for the user by default. If your is configured to do so, you can always use the -M flag (don't create a user home directory). Another thing: I guess that it would be nice (for ease of administration) to create a group for mail-only accounts. The preparation of your system: i) Create a mail-only group: groupadd -g 200 mailuser The procedure to create mail-only users would be this one (you can include it in a shell script): i) Create the user: useradd -M -g mailuser -s /bin/false username ii) Enable the account: passwd username I don't know if there is any correct way to do this, it's just an idea. You'd have to install a POP3 daemon, so your mail-only users can fetch their mail. Regards, sena... -- [EMAIL PROTECTED] http://decoy.ath.cx/~sena/
Re: Sendmail account setup
On Wed, Nov 01, 2000 at 09:51:54AM -0800, Jay Kelly wrote: Hello All, I have a question on Sendmail. I would like to give out email accounts but do not want to give them a debian account. All I want them to have access to is email. Can this be done? Now when I add a new email account I have to use adduser which creates a home directory. What are ISP's using? Thanks in advance for your help and time create a ordinary account and set the shell to /bin/false or /usr/bin/passwd, the latter is useful if you want to allow them to change there password, they just ssh in get the passwd change prompts and are kicked right out after they are done. /usr/bin/passwd would have to be added to /etc/shells for that to work though. another poster said not to create home directories, it depends on your pop daemon, some of them (qpopper) like to keep some files in the home directory and may not like it if it does not exist. most ISPs have a home directory since the user is allowed to ftp in and put up a web page. this is how my ISP does it anyway. (if you pay for shell access you get a real shell, otherwise you get /usr/bin/passwd) if you dont' want ftp access add the username to /etc/ftpusers or better disable ftpd. if you dont' want to allow password changing you might want to use OpenBSD's nologin so they get a message saying they can't login to a shell, or add DenyGroups mailuser to sshd_config (you make all these users' primary group mailusers) -- Ethan Benson http://www.alaska.net/~erbenson/ pgpAz9KGJmT1n.pgp Description: PGP signature