From owner-freebsd-questions Thu Oct 21 5: 5:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gatekeeper.tseinc.com (gatekeeper.tseinc.com [209.83.134.9]) by hub.freebsd.org (Postfix) with ESMTP id 35B6714BD6 for ; Thu, 21 Oct 1999 05:05:24 -0700 (PDT) (envelope-from jlwest@tseinc.com) Received: (from nobody@localhost) by gatekeeper.tseinc.com (8.8.8/8.8.8) id HAA07720; Thu, 21 Oct 1999 07:05:19 -0500 (CDT) (envelope-from jlwest@tseinc.com) X-Authentication-Warning: gatekeeper.tseinc.com: nobody set sender to using -f Received: from ws2.tse.com(192.168.2.212) by gatekeeper.tseinc.com via smap (V2.1) id xma007718; Thu, 21 Oct 99 07:05:03 -0500 Message-ID: <001f01bf1bbf$2b328d60$d402a8c0@tse.com> From: "Jay West" To: "Sheldon Hearn" Cc: References: <33264.940492418@axl.noc.iafrica.com> Subject: Re: Is the "mail -u" option broken under 3.3 Release? Date: Thu, 21 Oct 1999 07:24:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had previously written.... > > If I then do a "mail -u mytest", it says there is no mail for the user. But, > > if I log into the machine as mytest it says I have mail and the mail command > > retrieves it. To which Sheldon replied.... > What happens if you type ``mail -f /var/mail/mytest''? If it gives you > the same result, is any one of /var, /var/mail or /var/mail/mytest a > symlink? "mail -f /var/mail/mytest" does work. Also, this machine is a fresh install of 3.3R, so /var, /var/mail, or /var/mail/mytest are NOT symbolic links. Also, the "mail -f /var/mail/mytest" does retrieve the mail in the mailbox mytest as one would suspect (see below). On a completely different machine I tested the same thing. This machine is also 3.3R, but on this one /var/mail is a symbolic link to /usr/mail (it's a mail server but forgot to make /var filesystem bigger than the default, so a symlink was created to /usr/mail). The permissions have been checked carefully. On this machine I get the exact same results as above, with one exception. Just executing "mail -u mytest" says either "There is no mail for root" (note root, not mytest), or if there is mail for root it retrieves the mail box for root, not mytest. So, two questions... In the first case above, like I said it's a fresh install with no symlinks. I must assume the mail -u command is broken. Correct? And second, in the second case where /var/mail is a symlink, is this a known bad thing to do? I really don't want to have to reinstall this machine to make /var bigger.... ideas? STRANGE!!!! Jay West To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message