GMail doesn't delete mails when POP3 client issues a DELE command for it. Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot: - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted - When DELEting a message, add this flag to the message. - When listing messages, skip all messages that have this flag. - Also hide this flag from IMAP clients(?) Thoughts? Probably 20 lines of new code.
I can certainly see this being very useful in certain environments where asking the client to be responsible is not an option (ISP). Whether or not the flag affects IMAP clients should be configurable. On 05/03/2013 12:14 PM, Timo Sirainen wrote:> GMail doesn't delete mails when POP3 client issues a DELE command for it. Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code. >
On 5/3/2013 6:14 PM, Timo Sirainen wrote:> GMail doesn't delete mails when POP3 client issues a DELE command for it. Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag.Yes, very useful.> - Also hide this flag from IMAP clients(?)Hmm.. why? Also, from Sieve I can imagine it could be useful to be able to hide certain messages from POP3 by setting this flag. Regards, Stephan.
Zitat von Timo Sirainen <tss at iki.fi>:> GMail doesn't delete mails when POP3 client issues a DELE command > for it. Instead they just become invisible for future POP3 sessions, > but they still exist for IMAP/webmail. The same could be implemented > pretty easily for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code.Hmm, this would lead to every increasing mailboxes for POP3 only users. What about this - Use some setting to express that POP3 deleted mail should be IMAP mark-as-deleted - Skip messages marked as deleted with POP3, maybe even as default? With this on IMAP access you clearly see what is going on. Also if you delete Messages by IMAP they won't get downloaded by POP3. This would also fit with mail providers doing an "IMAP" expunge/purge on a fixed timebase. More obvious IMHO Regards Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6144 bytes Desc: S/MIME Cryptographic Signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20130503/08991690/attachment.bin>
Am 03.05.2013 18:14, schrieb Timo Sirainen:> GMail doesn't delete mails when POP3 client issues a DELE command for it. Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag.My vote, do it , if it doesnt break anything else, but a wiki help should be offered too.> - Also hide this flag from IMAP clients(?)wouldnt do this, that may end in user confusion> > Thoughts? Probably 20 lines of new code. >Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Timo. Hi. But it will be visible at what folder? Trash? Or will only be visible as a conventional message with the delete flag? I think that this is interesting if the DELE of pop don't let the user confused when doing alternate access using a client via pop sometimes/a client via imap sometimes.> From: tss at iki.fi > Date: Fri, 3 May 2013 19:14:19 +0300 > To: dovecot at dovecot.org > Subject: [Dovecot] Idea: POP3 deletion as a flag > > GMail doesn't delete mails when POP3 client issues a DELE command for it. Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code. >
On 3 May 2013 18:14, "Timo Sirainen" <tss at iki.fi> wrote:> > GMail doesn't delete mails when POP3 client issues a DELE command for it.Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot:> > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code.The EU laws not withstanding, I think this is a good thing. The world didn't revolve around the EU anymore than it does the US. If enough people want it, and I can see it's use, even if 90% of my users won't need it, then put it in. Warn users to check the regulations of their jurisdiction before turning it on and off you go.. Simon
On 2013-05-03 09:14, Timo Sirainen wrote:> GMail doesn't delete mails when POP3 client issues a DELE command for > it. Instead they just become invisible for future POP3 sessions, but > they still exist for IMAP/webmail. The same could be implemented > pretty easily for Dovecot:How does the usage case by your large customer differ from that allowed by the lazy_expunge plugin?
timo thank you very much for your wonderful work on dovecot the new feature that you are thinking about is very useful this is an excellent solution and is used by a quite a few large isps / mailing providers like rediff. And i believe blackberry also does something similar. ie if configure the blackberry today it downloads new emails only. when pop3 access emails sometimes in some email clients the emails start downloading right from the begining. this can be prevented by this solution also when there are large mailboxes more the number of emails in the inbox more the system gets loaded up in scanning the mails and deciding when the last download took place. i believe pop3 performance would be far better with this feature. a few points though if this option is implemented then there should be a way to disable it tempoarilry. This is incase the user is shifting over to a new pc and wants to donwload all old emails. also we can set the date of download ie say allow pop3 download emails upto 15 days old/ rajesh> GMail doesn't delete mails when POP3 client issues a DELE command for it. > Instead they just become invisible for future POP3 sessions, but they > still exist for IMAP/webmail. The same could be implemented pretty easily > for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code. > >
What happens to quotas in places where it is enforced? Where does the undeleted mail go? Does it still count towards the quota? On 3 May 2013 19:14, Timo Sirainen <tss at iki.fi> wrote:> GMail doesn't delete mails when POP3 client issues a DELE command for it. > Instead they just become invisible for future POP3 sessions, but they still > exist for IMAP/webmail. The same could be implemented pretty easily for > Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code. > >-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler."
On 03/05/2013 12:14 PM, Timo Sirainen wrote:> GMail doesn't delete mails when POP3 client issues a DELE command for it. Instead they just become invisible for future POP3 sessions, but they still exist for IMAP/webmail. The same could be implemented pretty easily for Dovecot: > > - Add a new setting to enable this: pop3_deleted_flag = $POP3Deleted > - When DELEting a message, add this flag to the message. > - When listing messages, skip all messages that have this flag. > - Also hide this flag from IMAP clients(?) > > Thoughts? Probably 20 lines of new code. > >Outlook live.com webmail has a special (virtual) folder called Deleted/POP and the following option: "If you use POP to download Outlook messages to another program, that program could make it so you can't read your messages on Outlook. (For example, this might happen if you use Mac Mail or Mozilla Thunderbird.) - Don't let another program delete messages from Outlook. (If your other program is set to "delete messages from the server," we'll simply move them to a special POP folder. They won't be deleted.) - Do what my other program says?if it says to delete messages, then delete them. "