Re: Vsoup question

From: Hardy Griech (rgriech@swol.de)
Date: Sun, 02 Mar 1997 16:05:56 +0100

On Thu, 27 Feb 97 21:26:36 -0800, wmcs@ix.netcom.com wrote:
:
> I have been looking for a way to filter "email" (and perhaps
> "news") messages to another email program using vsoup or ownsoup.
> If I use ownsoup to prefilter messages can this temp file be
> redirected to another file that I can import with another program
> like ultimail ..
:

Not sure, if ultimail is capable of importing SOUP format...

> If I filter the messages to a Yarn folder I suppose I could try to
> import the contents of the folder.
:

How to? I am not sure, that I am understanding your problem.

> Am I overlooking something here that is an obvious answer ..
>
> would something like this work with ownsoup
>
> ownsoup -h "search string" temp.grp output.file >> newout.file
:

No, this won't work. In the above example you are only redirecting
the stdout of OwnSoup, which won't be satisfying.

Another approach could be to copy the output.file after execution of
OwnSoup to another specific file - let's name it newout.file...

ownsoup -h "search string" temp.grp output.file && copy output.file newout.file

Alternatively you could use 'ren' instead of 'copy' if you don't want
the messages being imported to Yarns message base.

> then I could later use the contents of newout.file to import into
> another message base ... and delete then delete the temp.grp ...
:

You could try it...

> What I would like to do is setup a filter and import each
> message to another email program ..
:

What do you mean by 'each message to another email program'? Do you
like to handle some types of messages with PMMail, others with
UltiMail, and again others with Yarn? Why??

> How difficult would it be to have an option for vsoup -instead of
> killing a message(s) setup with a filter- to export the messages
> to a text file(s) ...
:

VSoup is already exporting messages to text files... If you are in
the need of specific destinations you could use OwnSoup - as you've
described above.

-- 
Hardy Griech, Ernetstr. 10/1, D-77933 Lahr
http://privat.swol.de/ReinhardGriech/