SUMMARY: binmail not showing message ..giving error maximum limit 1024 mails

From: Dharmendra Yadav (Dharmendra.Yadav@VicUrban.vic.gov.au)
Date: Wed Mar 31 2004 - 23:55:05 EST


Thanks to all who responded.
Mailx is the solution I needed.

Regards,

Dharmendra Yadav

-----Original Message-----
From: Lucio Chiappetti [mailto:lucio@mi.iasf.cnr.it]
Sent: Wednesday, 31 March 2004 5:36 PM
To: Dharmendra Yadav
Subject: Re: binmail not showing message ..giving error maximum limit
1024 mails

On Wed, 31 Mar 2004, Dharmendra Yadav wrote:

> I'm having problem using mail command at prompt

> binmail: mail file /usr/spool/mail/wfmprod exceeds
> message number maximum of 1024

> could anybody tell me how can I reduced mails manually.

Besides the standard suggestions of using a better and more modern mail
client than /bin/mail (I suggest pine :
http://www.washington.edu/pine/), and of arranging your mail in folders
by topics or projects instead of keeping it all in the inbox in the
spool area ...

... you should be aware that mail folders, like /usr/spool/mail/wfmprod,
are plain text files which can be edited with any text editor.

Their format is approximately this :

1) one "unix from" line, e.g. in a format like this

   From xxxx@yyy.bo.cnr.it Wed Jun 6 10:41:58 2001

   i.e. starting with the word From followed by a blank with no
   semicolon (IT IS NOT *REPEAT NOT* the "From:" header line) !!

   This is always the first line of a message

2) several header lines. They are either in the form of an header
   keyword (terminated by a semicolon) and followed by a value, like

   From: Steve Hubert <hubert@washington.edu>
   To: Pine Announcement List <pine-announce@u.washington.edu>
   Subject: Pine 4.58 is now available

   or can be continuation lines (the first character(s) is/are blank,
   like)

Received: (from xsaops@localhost)
        by xsa01.vilspa.esa.es (8.12.6/8.12.6/Submit) id gAEBqVZM002396;
        Thu, 14 Nov 2002 11:52:31 GMT

3) the first BLANK line terminates the header

4) the body of the message follows. It may contain any text, and any
   number of blank lines. However no lines will start with the word
   "From" followed by a blank. If such thing occurs, the mail s/w will
   automatically convert it as ">From " (and back to "From " when
   displaying it).

5) the message terminates with a blank line followed by the Unix From
   (see 1 above) line of the next message (or the end of file)

So you can split the folder at any point which is the start of a message
(i.e. at its Unix From line).

------------------------------------------------------------------------

----
Lucio Chiappetti - IASF/CNR - via Bassini 15 - I-20133 Milano (Italy)
------------------------------------------------------------------------
----
L'Italia ripudia la guerra [...] come    Italy repudiates war {...] as a
mezzo di risoluzione delle controversie  way of resolution of
international
internazionali                           controversies
                [Art. 11 Constitution of the Italian Republic]
------------------------------------------------------------------------
----
For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html
------------------------------------------------------------------------
----
DISCLAIMER
The information contained in this e-mail and any included attachments are confidential and intended solely for the named addressee and may be subject to legal or other professional privilege.  Opinions, conclusions and other information in this message that do not relate to the official business of the Victorian Urban Development Authority shall be understood as neither given nor endorsed by it.   
If you have received this e-mail in error please notify the sender by return and delete all copies from your computer system.  It is your responsibility to check this message and any attachments for viruses or other malicious code.
The Victorian Urban Development Authority reserves the right to remove all e-mail after 30 days unless they are evidence of business or required for other purposes associated with the business of the Victorian Urban Development Authority.
The Victorian Urban Development Authority collects personal information to provide and market services to the community. For more information about use, disclosure and access, see our privacy policy at www.vicurban.vic.gov.au.


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:55 EDT