Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 00:19:32 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Donald Burr of Borg <dburr@borg-cube.com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: mailq is not properly showing information
Message-ID:  <20020727001644.V26433-100000@earl-grey.cloud9.net>
In-Reply-To: <20020726203517.J14198-100000@borg-cube.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dburr@borg-cube.com>
>                                          <beep@west.net>
> g6R3ZBml014188*       5 Fri Jul 26 20:35 <dburr@borg-cube.com>
>                                          <sblc@silcom.com>
> g6QLgoml007592      386 Fri Jul 26 14:42 <www@borg-cube.com>
>                  (Deferred: 450 <www@borg-cube.com>: Sender address rejected: )
>                                          <sblc@silcom.com>
> g6QLh6ml007604      386 Fri Jul 26 14:43 <www@borg-cube.com>
>                  (Deferred: 450 <www@borg-cube.com>: Sender address rejected: )
>                                          <sblc@silcom.com>
>                 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 <dburr@borg-cube.com>     | 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020727001644.V26433-100000>