[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] multiple folders to rcvstore
From: |
Jeffrey C Honig |
Subject: |
Re: [Nmh-workers] multiple folders to rcvstore |
Date: |
Tue, 08 Nov 2005 11:11:54 -0500 |
Nicholas M. Kirsch <address@hidden> wrote:
> > You'll have to privilege one of the locations on the rcvstore command
> > line to make this work. It gets the message from stdin by default.
> > You could always have it be an error to use -link without -file, but
> > I think the whole idea is breaking the paradigm of rcvstore. In fact,
> > this is why rcvstore and refile are different programs, IMHO. You
> > *can* specify multiple locations with refile.
>
> I don't understand why you need to privilege any of the locations. I imagine
> that rcvstore will simply take the list of folders, create a message in the
> any arbitrary one, and create links in any additional folders. None of the
> locations are privileged. (Let's ignore how sequences would be specified, for
> now). To the filesystem, all links are identical; there is no preferred link.
>
> The fact that rcvstore is obtaining the message from stdin is not relevant
> here. (It will use that data to initially write the message to disk, but
> which folder it chooses to write to is unimportant as long as it creates
> links in the other folders before exiting).
Currently rcvstore takes the file from stdin and puts it in a tempfile.
Then it calls folder_addmeg() with that tempfile. For the first message
it would continue to do the same thing. For subsequent messages it
would have to refer to the first message. Easy enough to do.
Thanks.
Jeff
--
Jeffrey C. Honig <address@hidden>
http://www.honig.net/jch
GnuPG ID:14E29E13 <http://www.honig.net/jch/key.shtml>
- [Nmh-workers] multiple folders to rcvstore, Nicholas M. Kirsch, 2005/11/07
- Re: [Nmh-workers] multiple folders to rcvstore, Joel Reicher, 2005/11/07
- Re: [Nmh-workers] multiple folders to rcvstore, Nicholas M. Kirsch, 2005/11/07
- Re: [Nmh-workers] multiple folders to rcvstore, Jeffrey C Honig, 2005/11/07
- Re: [Nmh-workers] multiple folders to rcvstore, Joel Reicher, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Nicholas M. Kirsch, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore,
Jeffrey C Honig <=
- Re: [Nmh-workers] multiple folders to rcvstore, Nicholas M. Kirsch, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Jeffrey C Honig, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Brian Sammon, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Nicholas M. Kirsch, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Oliver Kiddle, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Jon Steinhart, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Joel Reicher, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Valdis . Kletnieks, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Jeffrey C Honig, 2005/11/08
- Re: [Nmh-workers] multiple folders to rcvstore, Valdis . Kletnieks, 2005/11/08