I've configure Dovecot with shared namespace and IMAP ACL's to make a group mailboxes. I use maildir mailboxes, and I add dovecot-shared file to each group mailbox. So each user with access to group mailbox has their own \Seen flag. And now I need automatically delete a mail from server after 2 weeks after each user has readed email in shared mailbox. How can I from, e.g. Perl script, get \Seen flag for user and mail and then correctly delete a mail from a server? I need to create fully automatical mail system, maybe there is some HOW-TO's or examples anywhere? And will I can in 2.0 use per-user \Deleted flag, not only \Seen?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 2 Apr 2010, ????????? ????? wrote:> How can I from, e.g. Perl script, get \Seen flag for user and mail and thenUse PREAUTH sessions on behalf of each user to get the user-specific flag. Regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS7sojr+Vh58GPL/cAQJcwwf/TvlJNvGEJ8BaE8h4MAPb3eAhF4kb66Ii cPYWUQkTnehlVeDz1QdEPgWGZ0+J+QY0YH8so0S71zOkCVUNQ2vXRsr4EmMVF3An 1CqdcDEKRgOIz4IeYjbotFQaR4J1cXgwbC4SMXjCgbNLIRYVU9AKagg0y6Q+dTuB oF4bXNx1VfElBX+VFvhbYdOyGcWaYhzrntksw32oQQWQBJ4NLMTqqhv8myoGBtUw BwGglp0zjPIUYTih6Nh+AqpH9Orz01UAQM7BTXGaiNRRPyXAGP/Dggtsrq08I5hP OcszBG+cyULtPObq98/k4bkXLkeAXGuEMXfk+UtDzGq51TLN8OqPZQ==P1tL -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 6 Apr 2010, ????????? ????? wrote:>> Use PREAUTH sessions on behalf of each user to get the user-specific flag. > > But how can I use PREAUTH sessions for virtual users? I can only startSee: http://wiki.dovecot.org/PreAuth if already available, I've created that page a few minutes ago. set USER= HOME= and MAIL= for the dovecot programm accordingly. regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS7s2gL+Vh58GPL/cAQKL3wf7BpRIYYS/Tzv7l7eSfyFGpvT/llHS13Xr EaGrbNOLPHYzRl7FFTUHrioO8I6EzHBudrWbq3ha/P065jJd0Pmmsg1vTIYGAK4c lMPYXlF/RN+J7qJ6yIgI7JrSZrYTUDKzQ1+yVtyjcgyFl0o2GGlLSHV0oQL1HEFD VojKnWLriHIJxEgmMQtGfjr8ICMVkYnXVkJcU1Ted0+IdyrBfUOs750vs84c2cxz BGmfnbsDC5s2TuhxOir7RRvfbSsg0siOEB2wyO1Gae3QYtuRDwwtWgJmG++URLiw yI6w+W/mE38NxDxlBM2BQoXLbC8e/1AmN1gHlwiDbTRwfQqBqhHhgw==z3LP -----END PGP SIGNATURE-----