a couple mail admin questions

Charles Hallenbeck chuckh at mhonline.net
Mon Dec 3 06:16:32 EST 2001


How about creating a normal account for Greg and putting a "logout"
command in his profile?


On Sun, 2 Dec 2001, Raul A. Gallegos wrote:

> Gregory Nowak said the following on Sun, Dec 02, 2001 at 08:36:38PM -0600:
> > I've got a couple of mail admin questions.
> > 1. I would like to be able to have a mail box for a user (say Greg).
> > I would like Greg to send his mail via smtp, and get it via pop3 or imap.
> > However, I would not like Greg to be able to login in to the system itself .
> > How would I accomplish this?
> > I'm assuming I'd need to add Greg to /etc/passwd, but
> > I'm not sure exactly what should go in there.
>
> Add the user like a normal user but fr the sehll put in something bogus
> like /usr/bin/false r something like that.  If you want to make thing
> official you can actually make a shell called /usr/bin/false with an
> echo statement saying you cannot log into this account via a shell and
> put this line in the /etc/shells.  We do it all the time fr mail-only
> users.
>
> > 2. I would like to put a quota on Greg's mailbox (/var/mail/greg).
> > Is this done with the regular Linux quota system, or does sendmail have its own quota control?
>
> The quota for general Linux will wrk fr this I believe but at this pint
> I'm nly guessing.
>
>

Visit me at http://www.mhonline.net/~chuckh
The Moon is Waning Gibbous (92% of Full)





More information about the Speakup mailing list