From owner-freebsd-questions Wed Nov 25 22:35:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00784 for freebsd-questions-outgoing; Wed, 25 Nov 1998 22:35:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA00778 for ; Wed, 25 Nov 1998 22:35:52 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id BAA22790; Thu, 26 Nov 1998 01:36:14 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199811260636.BAA22790@cc942873-a.ewndsr1.nj.home.com> Subject: Re: inbox READ ONLY/not sending In-Reply-To: from Jerry at "Nov 25, 98 03:53:37 pm" To: jerryr@ComCAT.COM (Jerry) Date: Thu, 26 Nov 1998 01:36:14 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jerry wrote, > > > > > I have no problem with pine under root but users are getting Inbox Read > > > Only when they get mail through pine. > > > > > > The permissions look ok..... > > > > > > drwxrwxr-x /var/mail > > > -rw------- /var/mail/user1 > > > -rw------- /var/mail/user2 > > > > > > any ideas? > > > > pine needs to have write permission on /var/mail. /var/mail should > > have gid=mail, so pine needs to be install setgid=mail as well. > > This makes sense the pine needs write permission but where is this done > at?? Pine should have permissions to rw to the owner's files when invoked by the owner. The gid should not matter. I should point out, the default, "out-of-the-box" setup for FreeBSD has the permissions set as shown. > Now to add the the confussion a user can send to root but no one can send > to a user...? The message appears to send but it never gets returned. > The message appear to arrive, a file for the user is created in > /var/mail but the user get no new message. Are all of these users on the same machine? Have you hacked the 'sendmail.cf' at all? Have you done anything to /etc/aliases? Do you make sure to 'newaliases' after making changed to /etc/aliases. Are people reading the mail from accounts on the machine? Or an NFS mounted disk? Do users have the MAIL environmental variable set? Is it set correctly? What does that last sentence mean? 'It appears to arrive' since there is a file created in /var/mail? But then you say they don't get a message? So an empty file is created? > In the /var/log/maillog I have simalar entries for every peice of mail > sent to a user. > > Nov 25 15:41:57 machine sendmail[1986]: PAA01985: to=, > ctladdr= (0/0), delay=00:00:01, xdelay=00:00:01, > mailer=local, stat=Sent > > Nov 25 15:44:36 machine sendmail[1992]: PAA01992: > from=, size=250, class=0, pri=30250, nrcpts=1, > msgid=, proto=SMTP, > relay=site@localhost These look OK. At least nothing is leaping out at me. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message