From owner-freebsd-questions Sat May 18 6:51:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ant-on.net (ant-on.net [212.24.39.139]) by hub.freebsd.org (Postfix) with ESMTP id D1F9F37B410 for ; Sat, 18 May 2002 06:50:50 -0700 (PDT) Received: from NEWTON.galaxy.net ([195.151.197.36]) by ant-on.net (8.11.2/8.11.2) with ESMTP id g4IDoc016705 for ; Sat, 18 May 2002 17:50:39 +0400 Date: Sat, 18 May 2002 17:50:42 +0400 From: Anton Shcherbinin X-Mailer: The Bat! (v1.53d) X-Priority: 3 (Normal) Message-ID: <7829178031.20020518175042@fastmail.fm> To: freebsd-questions@freebsd.org Subject: Re: queueup: cannot create queue temp file: Permission denied In-Reply-To: <4218839015.20020518145824@fastmail.fm> References: <4218839015.20020518145824@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Saturday, May 18, 2002, 14:58:24, Anton Shcherbinin wrote: > I run FreeBSD 4.5-STABLE. When I try to send mail from mutt, I get 2 > error messages and the mail is not sent. /var/log/messages contains: > May 18 13:59:20 saturn sendmail[257]: g4I9xJ7L000257: SYSERR(hb): collect: Cannot write ./dfg4I9xJ7L000257 (bfcommit, uid=1001, gid=25): Permission denied > May 18 13:59:20 saturn sendmail[257]: g4I9xJ7L000257: SYSERR(hb): queueup: cannot create queue temp file ./tfg4I9xJ7L000257, uid=1001: Permission denied > mutt was run as user "hb" (uid 1001). The sendmail.cf is made from > /etc/mail/freebsd.mc . I did not change anything in it. The mail queue > directory has the following permissions: > % grep -i queuedir /etc/mail/sendmail.cf > O QueueDirectory=/var/spool/mqueue > % ls -ld /var/spool/mqueue/ > drwxr-xr-x 2 root daemon 512 May 17 22:21 /var/spool/mqueue/ > What's wrong? Sorry for wasting your time. /etc/mail/submit.cf was missing. I copied it # cp /usr/share/sendmail/cf/cf/submit.cf /etc/mail/submit.cf and the problem disappeared. -- Anton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message