From owner-freebsd-questions@FreeBSD.ORG Fri Sep 29 15:13:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C754716A40F for ; Fri, 29 Sep 2006 15:13:09 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9337943D5A for ; Fri, 29 Sep 2006 15:12:52 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id i27so959291wxd for ; Fri, 29 Sep 2006 08:12:51 -0700 (PDT) Received: by 10.70.87.5 with SMTP id k5mr553046wxb; Fri, 29 Sep 2006 08:12:51 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id i35sm4772731wxd.2006.09.29.08.12.51; Fri, 29 Sep 2006 08:12:51 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 68BCFBF08; Fri, 29 Sep 2006 11:12:49 -0400 (EDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 9FC74BEC1; Fri, 29 Sep 2006 11:12:48 -0400 (EDT) Received: from localhost (localhost [[UNIX: localhost]]) by scorpio.seibercom.net (8.13.6/8.13.6/Submit) id k8TFCjL1003599; Fri, 29 Sep 2006 11:12:45 -0400 (EDT) (envelope-from gerard@seibercom.net) From: Gerard Seibert Organization: Seibercom.net To: freebsd-questions@freebsd.org Date: Fri, 29 Sep 2006 11:12:33 -0400 User-Agent: KMail/1.9.4 X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(=?utf-8?q?gxJxxc=0A=09RnSNPNr*/=5E=7EStawWU9KDJ-CT0k=24f=23?=@t2^K&BS_f|?ZV/.7Q MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2930674.GYyjkorm5l"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609291112.43992.gerard@seibercom.net> X-Virus-Scanned: ClamAV using ClamSMTP Subject: Permissions on /var/mail directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gerard@seibercom.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 15:13:09 -0000 --nextPart2930674.GYyjkorm5l Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =46reeBSD 6.1-RELEASE-p8 postfix-current-2.4.20060903,3 dovecot-1.0.r7 I just did a buildworld along with a new kernel this morning. While doing=20 the installworld, I noticed an error message displayed regarding=20 the /var/mail directory. I have the directory set to: 1777 so that dovecot= =20 can assess it. The installworld process reset the permissions to 0775 which= =20 were not sufficient for Dovecot. The dovecot.log file had over a hundred entries similar to this: deliver(gerard): Error:=20 open(/var/mail/.temp.scorpio.seibercom.net.1123.cd38cd4d82e1368f) failed:=20 Permission denied deliver(gerard): Error: file_lock_dotlock() failed with mbox=20 file /var/mail/gerard: Permission denied Obviously the /var/log/maillog had similar fail warnings. By changing the permission to 1777 on the /var/mail directory and running=20 postsuper -r ALL, I was able to get the mail delivered. This is the second= =20 time this has happened. The last time I rebuild world I experienced the=20 same phenomena. Why does build world insist on changing the directory=20 permissions and is there a way I can prevent it from doing so? What I am trying to determine is if I really should have those settings on= =20 the directory, or if I have something configured wrong in either postfix or= =20 dovecot. =2D-=20 Gerard Seibert gerard@seibercom.net Antique fairy tale: Little Red Riding Hood. Modern fairy tale: Oswald, acting alone, shot Kennedy. --nextPart2930674.GYyjkorm5l Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFHTfrs3R1WQUU6lgRAgkcAKCp1Tur3hdNRLN8A7uW9E9cRDRp0wCfRRRw brN7SXdH6/lTQSSKGQFMIRY= =H8D1 -----END PGP SIGNATURE----- --nextPart2930674.GYyjkorm5l--