[Dovecot] Preventing IMAP folder removal?

Gunter Ohrner G.Ohrner at post.rwth-aachen.de
Thu Jul 28 00:09:06 EEST 2005


Am Mittwoch, 27. Juli 2005 21:46 schrieb John R. Dennison:
> Our concern, however, is that a user will attempt to remove their
> Spam folder, which will break the symlink and the next time a
> spam message is delivered the folder will be re-created as a
> directory and will reside on the same filesystem as their Maildir.

Did you try to set the permission in a way the link cannot be deleted? eg. 
chown it to another user and set the sticky bit on the enclosing 
directory... (Untested, but might work.)

Greetings,

  Gunter

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ http://aachen.uni-dsl.de/   -   Der direkte Draht in's Hochschulnetz! +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
"Students?" barked the Archchancellor.
"Yes, Master. You know? They're the thinner ones with the pale faces?
Because we're a *university*? They come with the whole thing, like rats 
--"
        -- (Terry Pratchett, Moving Pictures)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+                   PGP-verschlüsselte Mails bevorzugt!                 +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050727/13762411/attachment-0001.bin>


More information about the dovecot mailing list