Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 1999 18:37:27 GMT
From:      mike@sentex.net (Mike Tancsa)
To:        webmaster@cpudetails.com ("Dave Lambrix")
Cc:        questions@freebsd.org
Subject:   Re: Restricting User Access & Mail Quotas
Message-ID:  <38401eda.146619968@mail.sentex.net>
In-Reply-To: <MAILLPBBIJNIGFOKPHOONAAEOEAECCAA.webmaster@cpudetails.com>
References:  <MAILLPBBIJNIGFOKPHOONAAEOEAECCAA.webmaster@cpudetails.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Nov 1999 21:58:10 -0500, in sentex.lists.freebsd.questions you wrote:

>
>Hello,
>
>I am new to FreeBSD, but nevertheless, I have been given the assignment of
>creating a FreeBSD based mail server for the ISP I work for. I have
>installed popper and sendmail. I am able to send mail between local users
>(root@localhost & dave@localhost) via Pine. I can telnet to smtp, pop3 and
>ftp and interact with each. Now that is issue has been tackled, I am in need
>of some help in regards to how to establish my users.

Have a look through www.dejanews.com where archives of these mailing lists
are kept. You will find answers to pretty well every question.


>1. I do not want to grant ordinary mail users shell accouts or telnet access
>into the server. Only POP3 and FTP access into *their* homepage space. How
>do I do this? I assume it goes into which group your user belongs to, and
>despite scouring Greg Lehey's Complete FreeBSD, I can't determine which.

See /etc/ftpchroot, and /etc/ftp/shells.  You can create a shell called
/usr/local/sbin/ftponly which has as its contents 
#!/bin/sh -p
echo 'This account is ftp only.'
exit 1



>2. I do not want users eating up more than 5MB of mail, per box. How do I
>establish quotas?

You need to use a local mail agent like procmail. See
http://www.procmail.org, or again, search through dejanews.com. There are a
couple of step by step posts on how to use procmail as your local delivery
agent.

>And finally, while of minor importance, I am coming up with a strange issue
>when sending mail with PINE. It can take up to 60 seconds or so before the
> SENDING 0% ] indicator changes over to confirmation that the message has
>been sent. I think it's trying to do some kind of name resolution, but it
>doesn't matter if I send mail to @localhost, @machine or to @machine.domain.
>Just strange..

Sounds like DNS issue. 

	---Mike
Mike Tancsa  (mdtancsa@sentex.net)		
Sentex Communications Corp,   		
Waterloo, Ontario, Canada
"Given enough time, 100 monkeys on 100 routers 
could setup a national IP network." (KDW2)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38401eda.146619968>