On 10/16/07, a.h.s. boy (lists) <spudlists@...> wrote:
> I host a few dozen domains on a server, and recently, webmail usage
> has become increasingly popular amongst my clients. Squirrelmail has
> been a great solution, but the drawback is that everyone's mail now
> sits on my server, and I hadn't forseen the "gigabytes of mail"
> storage issue way back when...
> Since most of the volume is occupied by attachments, I was wondering
> if I could develop a plugin that would permit users to download
> attachments and then delete _the attachment_, but leave the rest of
> the email message intact. That way, they have their files, and their
> email remains in their inbox. The only other solution seems to be to
> delete the entire message, and attachment with it, which is not ideal
> for those users who wish to preserve the content of all their emails
> (and yes, there is the Archive plugin, but that removes the email
> from their Inbox as well).
This places the burden of cleaning out your hard drive on your users.
This may not be the most appropriate thing to do - might annoy them,
and you might not be able to rely on them to achieve what you need.
In order to make it work, I hope you have a quota system in place so
they can see that they need to purge.
> I'm wondering if those already familiar with the API can tell me if
> such a plugin would be possible. I'm an adept PHP programmer, so I
> wouldn't mind writing it, but before I dig too deep, it would be nice
> to know if it's possible or not...
This has come up before:
You can ask Daniel for his code, but my own plan was to work on a new
release of the bounce plugin (based on code I already released
recently in the spam_buttons plugin that does bouncing), and after
that was done, look at creating this kind of plugin.
You shouldn't think of this as any less than a hackish solution to the
problem, though IMO.