System V: mailx -H; Ultrix: ???

Adri Verhoef a3 at earth.rivm.nl
Wed Apr 10 02:56:34 AEST 1991


To list *all* the entries in your mailbox, you could simply use "mailx -H"
on System V, but on Ultrix this seems difficult to achieve.

Using mailx -H, on System V, I was able to split my mailbox into pieces,
using a script that looked at the Subject and saving the message into
a file if the Subject was in a table of known Subjects, and then, after
having saved all known messages and leaving mailx, I could take a look
at the saved files, using the mailbox-splitter-script (which also filtered
out relevant information from administrative mail).
And, as long as mailx could handle my always flooding mailbox,
my script could handle it.

Now, on Ultrix, it's seems hard to do the same, but we'll see:
Does anybody know a solution to this problem?  [I know there is
a Public Domain mail splitter, but it didn't work on System V.]

Example usage for System V:
	$ mailx -H | awk '...

(Well, actually, my 'ml' program did do all this, but now I'm stuck, sort of.)
Thanks for your attention.



More information about the Comp.unix.questions mailing list