From owner-freebsd-questions Fri Jul 26 21:19:35 2002 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 6F2A737B400 for ; Fri, 26 Jul 2002 21:19:33 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D4443E4A for ; Fri, 26 Jul 2002 21:19:33 -0700 (PDT) (envelope-from Hostmaster@Video2Video.Com) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 546F228C63; Sat, 27 Jul 2002 00:19:32 -0400 (EDT) Date: Sat, 27 Jul 2002 00:19:32 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Donald Burr of Borg Cc: FreeBSD LIST Subject: Re: mailq is not properly showing information In-Reply-To: <20020726203517.J14198-100000@borg-cube.com> Message-ID: <20020727001644.V26433-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 26 Jul 2002, Donald Burr of Borg wrote: > When I run the 'mailq' command as a normal user, it no longer displays the > information about the message(s) in the queue (from, to, error condition > [if any], etc.). Example: > > [dburr@borg-cube:137 .dupes]% mailq > /var/spool/mqueue (4 requests) > -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- > g6QLgoml007592 (Permission denied) > g6QLh6ml007604 (Permission denied) > g6R3Z6ml014176 (Permission denied) > g6R3ZBml014188 (Permission denied) > Total requests: 4 > [dburr@borg-cube:138 .dupes]% > > However, if I run the command as root, it displays the information > properly: > > [dburr@borg-cube:101 .dupes]# mailq > /var/spool/mqueue (4 requests) > -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- > g6R3Z6ml014176* 7 Fri Jul 26 20:35 > > g6R3ZBml014188* 5 Fri Jul 26 20:35 > > g6QLgoml007592 386 Fri Jul 26 14:42 > (Deferred: 450 : Sender address rejected: ) > > g6QLh6ml007604 386 Fri Jul 26 14:43 > (Deferred: 450 : Sender address rejected: ) > > Total requests: 4 > [dburr@borg-cube:102 .dupes]# > > I figure this has something to do with the new version of Sendmail. Is > there any way to fix this? > > Thanks, > Donald > -- > Donald Burr of Borg | FreeBSD: The Power to Serve! > WWW: http://www.borg-cube.com/ ICQ #16997506 | http://www.freebsd.org/ > P.O. Box 91212, Santa Barbara, CA 93190-1212 \----------------------------- > Phone: (805)563-0672 Present Day... Present Time! Oh no, it's the borg - don't assimilate me :) Did you try `mailq -v` from userland? Odd but the manpage for mailq is very terse and refers one to the manpage for sendmail. I imagine there is some file, most likely in or around /var/log/maillog or the like, or possibly /var/tmp/ or wherever messages queue up to go out... and users are censored info whereas root basks in the many splendors of full disclosure. Eh? -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message