a couple mail admin questions

Raul A. Gallegos raul at asmodean.net
Sun Dec 2 22:08:38 EST 2001


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.

-- 
I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.
-- Raul A. Gallegos mailto:raul at asmodean.net - http://www.asmodean.net




More information about the Speakup mailing list