Dovecot Virtual Plugin Use Cases (was Re: Indexing Mail faster)

2015-01-25 Thread Thomas Leuxner
* LuKreme 2015.01.25 19:32: > > Another example, the one I used in the original reply, is 'gluing' together > > archives as a single view: > > > > $ cat virtual/Postfix-Users/dovecot-virtual > > Public/Archive/Mailing-Lists/Postfix-Users/* > > Public/Mailing-Lists/Postfix-Users > > all > > T

Re: [Dovecot] virtual plugin and shared namespace

2012-04-23 Thread l.chelchow...@eurocar.pl
<>

Re: [Dovecot] virtual plugin and shared namespace

2012-02-20 Thread Timo Sirainen
On 20.2.2012, at 13.59, l.chelchow...@eurocar.pl wrote: > I have a problem with virtual plugin and geting mails form shared namespace. > dovecot-virtual: > > Shared/* > Public/* > * .. > When I enter the virtual mailbox Unread I get this debug info: > virtual mailbox Virtual/Unread: Skipping

[Dovecot] virtual plugin and shared namespace

2012-02-20 Thread l.chelchow...@eurocar.pl
Hi, I have a problem with virtual plugin and geting mails form shared namespace. dovecot-virtual: Shared/* Public/* * unseen dovecot.conf: namespace { inbox = yes location = prefix = separator = / type = private } namespace { list = children location = maildir

[Dovecot] virtual plugin, delete mail

2011-06-07 Thread johnw
i use dovecot 2.0.x as imap server,i setup virtual plugin to view all unseen mail. when i delete the mail, it do not delete the real mail, the mail still exist in some mailbox. can i config virtual plugin delete the real mail? please help, and thank you. -- Sent from my Android phone with K-9 Ma

Re: [Dovecot] virtual plugin broken ? dovecot 2.0.6 / solved

2010-10-25 Thread Robert Schetterer
Am 25.10.2010 18:16, schrieb Robert Schetterer: > Am 25.10.2010 18:07, schrieb Timo Sirainen: >> On Mon, 2010-10-25 at 17:53 +0200, Robert Schetterer wrote: >>> after all i am confused what using better >>> >>> pop3_uidl_format = %08Xu%08Xv ( most compatible ) >>> or >>> pop3_uidl_format = %g ( bet

Re: [Dovecot] virtual plugin broken ? dovecot 2.0.6

2010-10-25 Thread Robert Schetterer
Am 25.10.2010 18:07, schrieb Timo Sirainen: > On Mon, 2010-10-25 at 17:53 +0200, Robert Schetterer wrote: >> after all i am confused what using better >> >> pop3_uidl_format = %08Xu%08Xv ( most compatible ) >> or >> pop3_uidl_format = %g ( better with virtual ) > > %g is always the best value, exc

Re: [Dovecot] virtual plugin broken ? dovecot 2.0.6

2010-10-25 Thread Timo Sirainen
On Mon, 2010-10-25 at 17:53 +0200, Robert Schetterer wrote: > after all i am confused what using better > > pop3_uidl_format = %08Xu%08Xv ( most compatible ) > or > pop3_uidl_format = %g ( better with virtual ) %g is always the best value, except with mbox because it doesn't have true GUIDs. Of c

[Dovecot] virtual plugin broken ? dovecot 2.0.6

2010-10-25 Thread Robert Schetterer
Hi Timo, looks like virtual plugin is broken now with my setup dovecot 2.0.6 cant say to which version it stopped working ( didnt tested it trough all ) but has worked i see nothing special in log why it stopped working it should show unseen mail i.e in folder Junk too with pop3 clients, but only

Re: [Dovecot] Virtual plugin speedup?

2010-09-01 Thread Timo Sirainen
On Wed, 2010-09-01 at 21:08 +0200, Giovanni Giorgi wrote: > Hi, I am using the virtual plugin on divecot2. It seems a bit slow > when accessing from my iPhone. How can I speed it up? The full text > search plugin can help? It depends on what exactly is slow. You could try figuring that out by

[Dovecot] Virtual plugin speedup?

2010-09-01 Thread Giovanni Giorgi
Hi, I am using the virtual plugin on divecot2. It seems a bit slow when accessing from my iPhone. How can I speed it up? The full text search plugin can help? Inviato da iPhone

Re: [Dovecot] Virtual plugin and user_query

2010-02-14 Thread Timo Sirainen
On Sun, 2010-02-14 at 16:26 +0200, Arthur Titeica wrote: > As per a previous reply regarding POP3 I'm now trying to configure the > virtual plugin. dovecot -n output would be helpful. And set auth_debug=yes and show the logs when logging in. signature.asc Description: This is a digitally signed

[Dovecot] Virtual plugin and user_query

2010-02-14 Thread Arthur Titeica
Hello, As per a previous reply regarding POP3 I'm now trying to configure the virtual plugin. However I don't really understand how to modify the sql user_query to properly indicate inbox=yes. I created 3 namespaces as per wiki instructions and I've modified the password and user queries as bell

Re: [Dovecot] virtual plugin: Broken mailbox list

2009-12-23 Thread e-frog
23.12.2009 19:30, wrote Timo Sirainen: > On Fri, 2009-12-11 at 18:43 +0100, e-frog wrote: >> I'm testing the latest hg version from the 1.2 series and get the following >> in dovecot's error log as soon as I try to access the virtual mailbox >> >> Dec 11 18:23:07 ubuntu-test dovecot: IMAP(x):

Re: [Dovecot] virtual plugin: Broken mailbox list

2009-12-23 Thread Timo Sirainen
On Fri, 2009-12-11 at 18:43 +0100, e-frog wrote: > I'm testing the latest hg version from the 1.2 series and get the following > in dovecot's error log as soon as I try to access the virtual mailbox > > Dec 11 18:23:07 ubuntu-test dovecot: IMAP(x): virtual index > /etc/dovecot/virtual/unseen

[Dovecot] virtual plugin: Broken mailbox list

2009-12-11 Thread e-frog
Hello Timo, I'm testing the latest hg version from the 1.2 series and get the following in dovecot's error log as soon as I try to access the virtual mailbox Dec 11 18:23:07 ubuntu-test dovecot: IMAP(x): virtual index /etc/dovecot/virtual/unseen: Broken mailbox list $ cat dovecot-virtual

Re: [Dovecot] Virtual Plugin

2009-09-30 Thread Timo Sirainen
On Sep 30, 2009, at 6:32 PM, Darvin Denmian wrote: When I flag some messages these messages automatically appears inside my Virtual Folder called "Flagged", but once inside this folder , when I "Unflag" the message, It doesn't disapear from my virtual folder. Is this expected? Yes, it's expect

[Dovecot] Virtual Plugin

2009-09-30 Thread Darvin Denmian
I activated Dovecot's Virtual Plugin in my configuration and created dovecot-virtual file with the following content: [quote] # ~/Maildir/virtual/Flagged/dovecot-virtual *  flagged [quote] When I flag some messages these messages automatically appears inside my Virtual Folder called "Flagged", bu

Re: [Dovecot] virtual plugin and ACL

2009-08-10 Thread Nikita Koshikov
On Fri, 07 Aug 2009 15:23:32 -0400 Timo Sirainen wrote: > That's because in private namespaces user owns the mails, and > "authenticated" doesn't reduce the user's privileges. You could use > "owner" instead. > > Also I don't think you should use ACLs at all here. It's easier and more > secure t

Re: [Dovecot] virtual plugin and ACL

2009-08-07 Thread Timo Sirainen
On Wed, 2009-08-05 at 11:08 +0300, Nikita Koshikov wrote: > Here is namespace part of config file: > namespace private { > prefix = Company/ > separator = / > location = virtual:/var/mail/virtual:INDEX=MEMORY:LAYOUT=maildir++ > subscriptions = no > } .. > Then I tried to setup ACL f

Re: [Dovecot] virtual plugin - segfault body search

2009-08-07 Thread Timo Sirainen
On Tue, 2009-08-04 at 13:07 -0400, Timo Sirainen wrote: > On Tue, 2009-08-04 at 11:37 +0200, Manuel Oetiker wrote: > > Hi List > > > > I wounder way nobody is reacting on the crash issue? is there any > > information > > missing? > > It's caused by the fts plugin, which is kind of annoying to to

[Dovecot] virtual plugin and ACL

2009-08-05 Thread Nikita Koshikov
Hello list, We are using virtual plugin for to provide users two additional folders: Company/all - it contains all messages in user's mailbox Company/favorites - here is flagged messages. Here is namespace part of config file: namespace private { prefix = Company/ separator = / locat

Re: [Dovecot] virtual plugin - segfault body search

2009-08-04 Thread Timo Sirainen
On Tue, 2009-08-04 at 11:37 +0200, Manuel Oetiker wrote: > Hi List > > I wounder way nobody is reacting on the crash issue? is there any information > missing? It's caused by the fts plugin, which is kind of annoying to touch :) I'll try to get around to looking at the crash soon.. signature.a

Re: [Dovecot] virtual plugin - segfault body search

2009-08-04 Thread Manuel Oetiker
Hi List I wounder way nobody is reacting on the crash issue? is there any information missing? thanks Manuel

[Dovecot] virtual plugin - segfault body search

2009-07-30 Thread Manuel Oetiker
Hello list, During full text search in a virtal folder ( virtual plugin ) the imap crashes with segfault Version:1.2.2 OS: Ubuntu 8.04.3 LTS x86_64 Coredump: GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: [Dovecot] virtual plugin question

2009-07-28 Thread Nikita Koshikov
On Sun, 26 Jul 2009 19:52:30 -0400 Timo Sirainen wrote: > On Wed, 2009-07-22 at 22:39 +0300, Nikita Koshikov wrote: > > > There's no -g parameter given to gcc. The emerge overrides CFLAGS by > > > adding -march=i686 etc. stuff in there, which also removes -g parameter. > > > Try to figure out som

Re: [Dovecot] virtual plugin question

2009-07-26 Thread Timo Sirainen
On Wed, 2009-07-22 at 22:39 +0300, Nikita Koshikov wrote: > > There's no -g parameter given to gcc. The emerge overrides CFLAGS by > > adding -march=i686 etc. stuff in there, which also removes -g parameter. > > Try to figure out some way to add it back. > > (gdb) bt full > #0 0xb7d80080 in virtu

Re: [Dovecot] virtual plugin question

2009-07-22 Thread Nikita Koshikov
> There's no -g parameter given to gcc. The emerge overrides CFLAGS by > adding -march=i686 etc. stuff in there, which also removes -g parameter. > Try to figure out some way to add it back. (gdb) bt full #0 0xb7d80080 in virtual_storage_sync_init () from /usr/lib/dovecot/imap/lib20_virtual_plug

Re: [Dovecot] virtual plugin question

2009-07-22 Thread Timo Sirainen
On Wed, 2009-07-22 at 21:54 +0300, Nikita Koshikov wrote: > > You can check if symbols are stripped with "file": > > > > /usr/local/libexec/dovecot/imap: ELF 32-bit LSB executable, Intel 80386, > > version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux > > 2.6.15, not stripped> >

Re: [Dovecot] virtual plugin question

2009-07-22 Thread Timo Sirainen
On Wed, 2009-07-22 at 21:12 +0300, Nikita Koshikov wrote: > > > (no debugging symbols found) > > > > Still, it shouldn't crash. This backtrace with only "??" isn't useful. > > Having debugging symbols would help a lot in fixing this crash. > > > > My current dovecot installation include --enab

Re: [Dovecot] virtual plugin question

2009-07-22 Thread Nikita Koshikov
I'm find out how to reproduce the bug. Config setting contains "location = virtual:/var/mail/virtual" for all users. 1. User1 (with subscribed virtual mailboxes) login and check his virtual dirs. 2. User2 login to server, subscribe to the same virtual mailboxes and checks them. 3. User1 trying t

Re: [Dovecot] virtual plugin question

2009-07-22 Thread Timo Sirainen
On Jul 22, 2009, at 9:01 AM, Nikita Koshikov wrote: Here is my config section, which I added to enable virtual plugin: namespace private { prefix = Company/ separator = / location = virtual:/var/mail/virtual subscriptions = no } and "virtual" to mail_plugins in imap and lda section.

[Dovecot] virtual plugin question

2009-07-22 Thread Nikita Koshikov
Hello list, After enabling virtual plugin in dovecot config, I got imap segmentation faults from time to time. I can't say what event trigs this behavior, but in logs I see: Jul 22 13:55:01 dovecot: Error: child 20908 (imap) killed with signal 11 (core dumped) Jul 22 13:56:43 dovecot: Error: ch

Re: [Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-29 Thread Brandon Lamb
On Wed, Apr 29, 2009 at 1:36 PM, Matthijs Kooijman wrote: > Hi Brandon, > >> Aha! inthread refs x-mailbox Mail/ now gives me stuff and no server >> bug error. Thanks for the tip. Someone may want to update the virtual >> plugin wiki to reflect this since the example uses x-references2 > feel free

Re: [Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-29 Thread Matthijs Kooijman
Hi Brandon, > Aha! inthread refs x-mailbox Mail/ now gives me stuff and no server > bug error. Thanks for the tip. Someone may want to update the virtual > plugin wiki to reflect this since the example uses x-references2 feel free to do it yourself, the wiki is editable without registration! Gr.

Re: [Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-29 Thread Brandon Lamb
On Wed, Apr 29, 2009 at 10:37 AM, Timo Sirainen wrote: > On Mon, 2009-04-27 at 20:05 -0700, Brandon Lamb wrote: >> /etc/dovecot/virtual/Inbox2/dovecot-virtual >> * >> -Trash >> -Trash/* >> -Deleted* >> -Junk* >>   inthread x-references2 x-mailbox INBOX > > There's no mo x-references2. It's call "r

Re: [Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-29 Thread Robert Schetterer
Timo Sirainen schrieb: > On Mon, 2009-04-27 at 20:05 -0700, Brandon Lamb wrote: >> /etc/dovecot/virtual/Inbox2/dovecot-virtual >> * >> -Trash >> -Trash/* >> -Deleted* >> -Junk* >> inthread x-references2 x-mailbox INBOX > > There's no mo x-references2. It's call "refs" nowadays. > >> Using php t

Re: [Dovecot] Virtual plugin, timeout leaks

2009-04-29 Thread Timo Sirainen
On Mon, 2009-04-27 at 18:21 -0700, Brandon Lamb wrote: > Getting these > Warning: imap : Timeout leak: 0x461bd0 Fixed: http://hg.dovecot.org/dovecot-1.2/rev/47fa92207042 signature.asc Description: This is a digitally signed message part

Re: [Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-29 Thread Timo Sirainen
On Mon, 2009-04-27 at 20:05 -0700, Brandon Lamb wrote: > /etc/dovecot/virtual/Inbox2/dovecot-virtual > * > -Trash > -Trash/* > -Deleted* > -Junk* > inthread x-references2 x-mailbox INBOX There's no mo x-references2. It's call "refs" nowadays. > Using php to connect o {host}virtual/Inbox2 gives

[Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-27 Thread Brandon Lamb
/etc/dovecot/virtual/Inbox2/dovecot-virtual * -Trash -Trash/* -Deleted* -Junk* inthread x-references2 x-mailbox INBOX Using php to connect o {host}virtual/Inbox2 gives me [SERVERBUG] BUG: Unknown internal error. If I connect to virtual/Allmail which has "all" instead of the inthread line it work

[Dovecot] Virtual plugin, timeout leaks

2009-04-27 Thread Brandon Lamb
Getting these Warning: imap : Timeout leak: 0x461bd0 /etc/dovecot/virtual/Allmail/dovecot-virtual * -Trash -Trash/* all /etc/dovecot/virtual/INBOX/dovecot-virtual virtual/Allmail inthread x-references2 x-mailbox INBOX /etc/dovecot/dovecot.conf namespace private { prefix = "" separator