cancel
Showing results for 
Search instead for 
Did you mean: 

Help to read the mailx -f output

 
ChaitanyaS
Occasional Visitor

Help to read the mailx -f output

I am trying to read the mbox formated file using mailx 0f command. Can someon please explain the output columns ?

Output:

N 33 To receiver Sat Dec 1 20:20 2329063/141537049 subject

N 34 To <receiver> Sat Dec 1 20:25 1874874/115898149 subject

Whats is significance of 9th column where we have value as "2329063/141537049" in the first line of output.

 

Thanks.

1 REPLY 1
Patrick Wallek
Honored Contributor

Re: Help to read the mailx -f output

I believe that column is: number of lines / number of bytes in the message.

On one of my systems, I generated an e-mail:

 # mailx -f smmsp
mailx Revision: 1.179.214.2    Date: 98/12/01 01:29:55    Type ? for help.
"smmsp": 1 message 1 unread
>U  1 root@pw-rx2660.ser Mon Dec  3 08:52   21/920   test

Notice the 21/920.

When I look at the message in mailx:

Message  1:
From root@pw-rx2660.serviceitdirect.com Mon Dec  3 08:52:23 CST 2018
Received: from pw-rx2660.serviceitdirect.com (localhost [127.0.0.1])
        by pw-rx2660.serviceitdirect.com (@(#)Sendmail version 8.15.2 - Revision 1.0 :: HP-UX 11.31 - 29th July,2016/8.15.2) with ESMTP id wB3EqN7u027570
        for <smmsp@pw-rx2660.serviceitdirect.com>; Mon, 3 Dec 2018 08:52:23 -0600 (CST)
Received: (from root@localhost)
        by pw-rx2660.serviceitdirect.com (@(#)Sendmail version 8.15.2 - Revision 1.0 :: HP-UX 11.31 - 29th July,2016/8.15.2/Submit) id wB3EqNIp027569
        for smmsp; Mon, 3 Dec 2018 08:52:23 -0600 (CST)
Date: Mon, 3 Dec 2018 08:52:23 -0600 (CST)
From: root@pw-rx2660.serviceitdirect.com
Message-Id: <201812031452.wB3EqNIp027569@pw-rx2660.serviceitdirect.com>
To: smmsp@pw-rx2660.serviceitdirect.com
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Status: RO

test
test
test


If you count the lines in the messages, there are 21 lines (there is a blank line at the bottom).  That is the only message in that mail file and the file is 920 bytes in size.