Could send you a patch that allows maildrop to autocreate missing folders...

Coulda sworn though that someone created "nodelete" files owned by root with
no group or world perms in a folder... as Courier is not running as root -
it's running as the user who's folder it's accessing, it would be impossible
for it to remove the folder with a root owned file contained in it - unless
you have something broken in your file permissions / file system...

m/

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Matt
> Soccio
> Sent: Friday, February 13, 2004 6:24 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [courier-users] Prevent folder deletion
>
>
> On Fri, 2004-02-13 at 01:12, Mitch (WebCob) wrote:
> > Hey Matt - I never realized the Trash folder was undeletable...
> if that's
> > the case, I imagine that is hardcoded - you could look... and
> add your own
> > folder. I do remember discussion of placing files owner by another user
> > inside the folders to prevent them from being deleted. If you
> experiment,
> > you may find a single file will cause the directory unlink to
> fail and the
> > folder delete process to be cancelled.
> >
>
> Mitch - thanks for the idea.  Just for the record, I couldn't get the
> unlink to fail with any sort of placeholder file.  I backed up a step
> and placed the logic in exim so that the router does not execute if the
> Spam directory is not present.
>
> Matt
>
> > Don't know if this still works... haven't heard about this in a
> long time.
> >
> > m/
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of Matt
> > > Sent: Thursday, February 12, 2004 1:40 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [courier-users] Prevent folder deletion
> > >
> > >
> > > I have an exim router that automatically handles spam for
> virtual users,
> > > by delivering it to a Maildir/.Spam folder.  I would like to make this
> > > folder "undeletable", like the Trash to maintain the
> integrity of the exim
> > > router.  Is there an easy way to do this, or is the Trash
> functionality
> > > hard-coded?
> > >
> > > Thanks
> > >
> > > Matt
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > Build and deploy apps & Web services for Linux with
> > > a free DVD software kit from IBM. Click Now!
> > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > > _______________________________________________
> > > courier-users mailing list
> > > [EMAIL PROTECTED]
> > > Unsubscribe:
> https://lists.sourceforge.net/lists/listinfo/courier-users
> > >
> >
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to