[ Madhu Muchalambkar writes: ]
>
> >>>>> "Roland" == Roland Zuk <zukrp@ttown.apci.com> writes:
>
> Roland> On Wed, 18 Sep 1996, Madhu Muchalambkar wrote:
>
> >> I have a strange requirement from a user here...I need to
> >> delete some messages based on the subject line specified by the
> >> user. Ideally,
>
> Roland> I'd suggest making a copy of the archive file, then open
> Roland> it in your mailer program and select/delete the desired
> Roland> messages. When satisfied, resave the file and overwrite
> Roland> the old archive.
>
> No, I need this to be automated. The user in question doesn't have
> access to the host where the archives are kept. Also he will be doing
> this fairly often so the easiest way would be something like the
> 'approve' script from the distribution.
List management issues aside, this sounds like the old Mj 'put' command
all over again. If the list owner could 'get' the archive file, edit it
to his heart's content, then 'put' it, replacing the original, he'd
probably be happy. Very similar to 'config' and 'newconfig', just with
specified file names instead of assumed ones.
But maybe you could do what I did for a list owner that just wanted
to have arbitrary files available for download via e-mail (assuming
he has access to some file space in the LAN): I made the archive
directory a symlink to his (NFS mounted) directory. Mj could read
the directory/files via group ownership/permissions and he could
manage the files as he wished since he owned them. In your case, since
you actually want Mj to create/write archive files, it'd need write
permissions to the user's directory as well, presumably through the
group owner/permissions. If your (his) OS recognizes the setgid mode on
directories (everything created in such a directory inherits the group
of the directory), everything's cool, otherwise you'll probably have
to make him a member of the majordom group so he can change the group
ownership for Mj to access the files.
--
Dave Wolfe *Not a spokesman for Motorola*
Motorola MMTG 6501 Wm. Cannon Dr. W. OE112 Austin TX 78735-8598
Follow-Ups:
References:
|
|