[Dovecot] Forcibly emptying a POP3 mailbox
skdovecot at smail.inf.fh-brs.de
Thu Feb 4 15:10:55 EET 2010
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 4 Feb 2010, Răzvan Sandu wrote:
> Thanks a lot, but the problem here are not the IMAP users accessing the
> server via squirrelmail. Few people use this.
Er, it doesn't matter if just few users use IMAP, but that the solution
has to cope with it, did I misunderstood something?
> What I mainly want to avoid are *POP3* users checking the „Leave a copy on
> the server” checkmark.
Yeah, did you've read the responses you got?
> I need a way of automatically performing the DELE command at server level,
> just after a POP3 user *succesfully* downloaded his messages via POP3...
Well, I know that the client knows it has *successfully* downloaded
messages, but how does the server know? Just to sent down some packets
through the wire does not mean success.
The only logic I currently can think of is:
a plugin monitors POP sessions and deletes all messages the client does
not download up to the newest one the client downloaded. One could argue,
that the fact, that the client does not request message X, but message Y
and arrivalOf(X) < arrivalOf(Y), implies, that X has been downloaded
Because you do not seem to need such a high resultion, I think my idea
with the postlogin script for IMAP users is a nice workaround, which also
does not need much extra performance, esp. during user-access time.
Moreover, because just few users use IMAP.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the dovecot