Re: dovecot expunge

2019-12-05 Thread Sami Ketola via dovecot
Hi, doveadm expunge -u uid mailbox folder uid 123 Sami > On 5 Dec 2019, at 12.18, soumitri--- via dovecot wrote: > > Hi, > > Do we have expunge command by UID. I have some duplicate messages (same > Message-ID but different UID) to be deleted. > > doveadm search gives me folder GUID and fil

Re: [Dovecot] Expunge mailbox from script

2013-05-10 Thread Michael Wessel
Have a look here: http://wiki2.dovecot.org/Tools/Doveadm/Expunge On 5/10/2013 5:00 AM, Paul van der Vlis wrote: Hello, I would like to expunge all mail of a mailbox from a script. What's a good tool to do that? With regards, Paul van der Vlis.

Re: [Dovecot] Expunge deleted messages older than X days for all users ?

2011-05-15 Thread Pascal Volk
On 05/12/2011 11:08 AM Bar Ziony wrote: > Thanks for the answer. > > > What I'm looking for is auto-expunging messages that are marked for > deletion. Lets say a user deletes a message. It gets moved to his Trash > and marked for deletion (flagged as such). Is there any way to search > all "ma

Re: [Dovecot] Expunge deleted messages older than X days for all users ?

2011-05-12 Thread Bar Ziony
Thanks for the answer. What I'm looking for is auto-expunging messages that are marked for deletion. Lets say a user deletes a message. It gets moved to his Trash and marked for deletion (flagged as such). Is there any way to search all "marked for deletion" messages in all the users mailboxe

Re: [Dovecot] Expunge deleted messages older than X days for all users ?

2011-05-12 Thread Robert Schetterer
Am 12.05.2011 09:15, schrieb Bar Ziony: > Hi, > > I'm currently migrating to Dovecot-based IMAP server for a ~200 users > environment. Clients are Outlook 2003/2007, Thunderbird 3.x and various > mobile clients. > > 1) What I want to accomplish is to allow the users to delete a message > (then th

Re: [Dovecot] Expunge -A cannot find users

2010-11-08 Thread Kilburn Abrahams
On 11/08/2010 10:29 PM, A.L.E.C wrote: > On 08.11.2010 06:00, Kilburn Abrahams wrote: > >> doveadm expunge -u t...@planetseafood.com mailbox Archive ON '8-Nov-2010' >> >> But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010', >> it will list all the users in the database and display

Re: [Dovecot] Expunge -A cannot find users

2010-11-08 Thread A.L.E.C
On 08.11.2010 06:00, Kilburn Abrahams wrote: > doveadm expunge -u t...@planetseafood.com mailbox Archive ON '8-Nov-2010' > > But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010', > it will list all the users in the database and display the following and > no messages are expunged

Re: [Dovecot] Expunge email Plugin

2010-06-29 Thread Timo Sirainen
On Tue, 2010-06-29 at 11:23 -0300, Alex Baule wrote: > There is some function like this mail_get_special, to get a header value ? > > like "get_header_value(mail,"HEADERFIELD", &value);" ?? lib-storage/mail-storage.h and http://wiki.dovecot.org/Design/Storage/Mail describe different ways of gett

Re: [Dovecot] Expunge email Plugin

2010-06-29 Thread Alex Baule
Great... its work Now i need a header value too, i see in mail_log plugin, some functions to get headers value... but it's a enum with some know fields. There is some function like this mail_get_special, to get a header value ? like "get_header_value(mail,"HEADERFIELD", &value);" ?? 2010/6/2

Re: [Dovecot] Expunge email Plugin

2010-06-29 Thread Timo Sirainen
On Sat, 2010-06-26 at 12:59 -0300, Alex Baule wrote: > I use the notify plugin as a base to my plugin. > > So, i need the filename from the expunged mail, to use to search my other > file to erase. > > What's the way to find the filename ? I thy to get by i_stream_get_name, but > i'm lost with th

Re: [Dovecot] Expunge email Plugin

2010-06-26 Thread Alex Baule
I use the notify plugin as a base to my plugin. So, i need the filename from the expunged mail, to use to search my other file to erase. What's the way to find the filename ? I thy to get by i_stream_get_name, but i'm lost with the input istream to get this. 2010/6/25 Timo Sirainen > On Mon, 2

Re: [Dovecot] Expunge email Plugin

2010-06-25 Thread Timo Sirainen
On Mon, 2010-06-21 at 17:27 -0300, Alex Baule wrote: > Hello everyone. > > > I Need to know when a email is expunge, but i don't need change this action. > I Need to call another action + the default action. > > There is a plugin to do this ? In v2.0 there is a notify plugin which you can p

Re: [Dovecot] Expunge working on folders, but not main mailbox

2008-10-05 Thread Xev Gittler
Thanks - someone else recommended that and it worked. X Timo Sirainen wrote: On Mon, 2008-09-29 at 12:28 -0400, Xev Gittler wrote: I've recently installed dovecot, and while the behavior on folders is correct, the inbox cannot be expunged. .. mail_location: mbox:~/Mail:INBOX=/var/

Re: [Dovecot] Expunge working on folders, but not main mailbox

2008-10-05 Thread Timo Sirainen
On Mon, 2008-09-29 at 12:28 -0400, Xev Gittler wrote: > I've recently installed dovecot, and while the behavior on folders is > correct, the inbox cannot be expunged. .. > mail_location: mbox:~/Mail:INBOX=/var/spool/mail/%u It probably doesn't have permissions to create dotlock to /var/spool/mail

Re: [Dovecot] Expunge working on folders, but not main mailbox

2008-10-02 Thread Charles Marcus
On 9/29/2008, Xev Gittler ([EMAIL PROTECTED]) wrote: > Any assistance would be appreciated. Logs of an attempt to expunge the Inbox? -- Best regards, Charles

Re: [Dovecot] EXPUNGE delay

2008-06-09 Thread Timo Sirainen
On Jun 9, 2008, at 11:30 AM, Eugene wrote: Hi Timo, > So I guess the question is if Dovecot should first synchronize the > mailbox and only then perform EXPUNGE. This is allowed by IMAP, but it > would require Dovecot to do two mailbox synchronizations for each > EXPUNGE. I'd rather not do

Re: [Dovecot] EXPUNGE delay

2008-06-09 Thread Eugene
Hi Timo, > So I guess the question is if Dovecot should first synchronize the > mailbox and only then perform EXPUNGE. This is allowed by IMAP, but it > would require Dovecot to do two mailbox synchronizations for each > EXPUNGE. I'd rather not do that but maybe Outlook is big enough user > th

Re: [Dovecot] EXPUNGE delay

2008-03-03 Thread Eugene
Hello Timo, From: "Timo Sirainen" <[EMAIL PROTECTED]> On Fri, 2008-02-29 at 11:36 +0200, Timo Sirainen wrote: > So I guess the question is if Dovecot should first synchronize the > mailbox and only then perform EXPUNGE. This is allowed by IMAP, but it > would require Dovecot to do two mailbox sy

Re: [Dovecot] EXPUNGE delay

2008-02-29 Thread Timo Sirainen
On Fri, 2008-02-29 at 11:36 +0200, Timo Sirainen wrote: > So I guess the question is if Dovecot should first synchronize the > mailbox and only then perform EXPUNGE. This is allowed by IMAP, but it > would require Dovecot to do two mailbox synchronizations for each > EXPUNGE. I'd rather not

Re: [Dovecot] EXPUNGE delay

2008-02-29 Thread Timo Sirainen
On Feb 28, 2008, at 11:53 PM, Eugene wrote: Is it possible that Outlook uses two connections? First one does: IMAP: 00:46:56 [tx] 0yc9 UID STORE 172903 +FLAGS.SILENT (\Deleted \Seen) IMAP: 00:46:56 [rx] 0yc9 OK Store completed. The second one does: IMAP: 00:46:58 [tx] 623w EXPUNGE IMAP: 0

Re: [Dovecot] EXPUNGE delay

2008-02-28 Thread Scott Silva
on 2-28-2008 1:53 PM Eugene spake the following: Hi people! I just switched one of my servers from Courier to Dovecot. Planned to do it anyway but had to do it faster after the discovery that courier [the version I had installed, at least] returns malformed headers for a few messages, causing