From owner-freebsd-questions Fri Sep 15 2:28:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mx7.port.ru (mx7.port.ru [194.67.23.44]) by hub.freebsd.org (Postfix) with ESMTP id 85E2C37B424 for ; Fri, 15 Sep 2000 02:28:12 -0700 (PDT) Received: from hearst.int ([10.0.0.103] helo=hearst.mail.ru) by mx7.port.ru with esmtp (Exim 3.14 #7) id 13Zrn1-0005Qp-00; Fri, 15 Sep 2000 13:28:11 +0400 Received: from mail by hearst.mail.ru with local (Exim 3.14 #4) id 13Zrn1-0006qe-00; Fri, 15 Sep 2000 13:28:11 +0400 Received: from [194.105.213.4] by win.inbox.ru with HTTP; Fri, 15 Sep 2000 09:28:11 +0000 (GMT) From: "Simakin Alexandr" To: freebsd-questions@FreeBSD.ORG Cc: igorr@crosswinds.net Subject: Re:Re: Mail access and restrictions Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [194.105.213.4] Reply-To: "Simakin Alexandr" Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Date: Fri, 15 Sep 2000 13:28:11 +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you for help! This working fine only then user try to get mailfrom his mailbox (qpopper can not create temporary file what needed). But messages still arrived to mailboxes. REPQUOTA command reports what quota is exceeded, but sendmail simply adds new messages to /var/mail/userfile. Quota for /var fs is setting up equally for another fs /www, where users can upload his own files, and where quota working fine. Grace periods of quota in /var and /www are equal so. May be, sendmail is ignoring the quota settings? Alex. > > 1. How to allow users to send mail throught sendmail? > > Sendmail says "Relaying denied" then users try to send mail. > > I don't touch any settings in sendmail configuration. >/etc/mail/relay-domains - domain names for which you wish be relay >/etc/mail/local-host-names - hostnames for which you receive mail > > 2. When I add user, which needs only ftp access to server, > > this user automatically have an mailbox. How i can restict > > for some such users read/write access to their mailboxes? >apropos quota >and make /var different partition. Set quotas for /var >For example you can make tamplate user with zero quotas on /var (actually >you need just allow him have 1 byte of fs size) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message