From owner-freebsd-questions Sat Nov 27 10:37:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from vinyl.sentex.ca (vinyl.sentex.ca [209.112.4.14]) by hub.freebsd.org (Postfix) with ESMTP id C8CED15353 for ; Sat, 27 Nov 1999 10:37:29 -0800 (PST) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by vinyl.sentex.ca (8.9.3/8.9.3) with ESMTP id NAA59487; Sat, 27 Nov 1999 13:37:29 -0500 (EST) (envelope-from mike@sentex.net) Received: from ospf-mdt.sentex.net (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id NAA15870; Sat, 27 Nov 1999 13:37:27 -0500 (EST) From: mike@sentex.net (Mike Tancsa) To: webmaster@cpudetails.com ("Dave Lambrix") Cc: questions@freebsd.org Subject: Re: Restricting User Access & Mail Quotas Date: Sat, 27 Nov 1999 18:37:27 GMT Message-ID: <38401eda.146619968@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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