rozdelenie mailbox na jednotlive spravy

Vaclav Rehak vasek at openbsd.cz
Wed Nov 10 11:44:02 CET 2004


On Wed, Nov 10, 2004 at 08:31:22AM +0100, Peter Rosa wrote:
> Zdravim vsetkych,
> 
> prosim, ako rozdelim standardny mailbox na jednotlive spravy?
> Co sluzi ako delimiter?
> Lebo z less /var/log/mailbox to neviem zistit.
> 
> Je to bezny mailbox, kde sa nove spravy zapisuju na koniec suboru. Mam tam
> nejakych 120 MB sprav, a potrebujem to rozdelit na samostatne spravy.

Cituju z 'man mbox':

"An mbox is a text file containing an arbitrary number of e-mail messages.
Each message consists of a postmark, followed by an e-mail message formatted
according to RFC 822.  The file format is line-oriented. Lines are separated
by line feed characters (ASCII 10).

A  postmark  line consists of the four characters "From", followed
by a space character, followed by the  message's  envelope  sender
address, followed  by  whitespace,  and  followed  by  a  time stamp. The
sender address is expected to be an addrspec as defined in appendix D  of
RFC 822."

V.



More information about the Users-l mailing list