Re: [Dovecot] Problems sending email direct into publich folders

2012-02-13 Thread Kuran, Fabian
Hi,  Depends on how you want to do this.. For example all mails intended to be put to public namespace could be sent  to a publicuser named user, which has write permissions to the public namespace. Then you'll simply create a  sieve script for the publicuser which redirects the mails to the

Re: [Dovecot] Dovecot 2.0.18 build error with pigeonhole

2012-02-13 Thread Morten Stevens
On 13.02.2012 01:51, Bradley Giesbrecht wrote: On Feb 12, 2012, at 2:43 PM, Timo Sirainen wrote: On 13.2.2012, at 0.32, Morten Stevens wrote: It is probably a problem with pigeonhole 0.2.5. Yeah, unfortunately I had to break it to fix a bug.. Although I guess if I really wanted to I

Re: [Dovecot] Dovecot 2.0.18 build error with pigeonhole

2012-02-13 Thread Stephan Bosch
Op 2/13/2012 11:11 AM, Morten Stevens schreef: On 13.02.2012 01:51, Bradley Giesbrecht wrote: On Feb 12, 2012, at 2:43 PM, Timo Sirainen wrote: On 13.2.2012, at 0.32, Morten Stevens wrote: It is probably a problem with pigeonhole 0.2.5. Yeah, unfortunately I had to break it to fix a

Re: [Dovecot] Issues with SIS and Backups - was Re: v2.1.0 status

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 9.49, Jan-Frode Myklebust wrote: On Sun, Feb 12, 2012 at 05:58:20PM +0200, Timo Sirainen wrote: doveadm backup -u user@domain backup: And it would output the user's messages to stdout (or to some file). So it would be similar to e.g. PostgreSQL's pg_dump. So only full

Re: [Dovecot] Problems sending email direct into publich folders

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 10.00, Kuran, Fabian wrote: Depends on how you want to do this.. For example all mails intended to be put to public namespace could be sent to a publicuser named user, which has write permissions to the public namespace. Then you'll simply create a sieve script for the

[Dovecot] Dovecot v2.2 plans

2012-02-13 Thread Timo Sirainen
Here's a list of things I've been thinking about implementing for Dovecot v2.2. Probably not all of them will make it, but I'm at least interested in working on these if I have time. Previously I've mostly been working on things that different companies were paying me to work on. This is the

[Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
We've been collecting some stats to see what kind of benefits UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is running in High-performance mode http://wiki2.dovecot.org/LoginProcess with authentication caching http://wiki2.dovecot.org/Authentication/Caching During the

[Dovecot] dsync, hard-links and refcounts

2012-02-13 Thread Christoph Bußenius
Hi, when creating a copy of a mail, dovecot provides a feature that will store its contents only once. In maildir, this is done by means of hard links, while mdbox has some special refcounting mechanism. My question is, how can we convert mails from maildir to mdbox without duplicating

Re: [Dovecot] dsync, hard-links and refcounts

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 16.16, Christoph Bußenius wrote: when creating a copy of a mail, dovecot provides a feature that will store its contents only once. In maildir, this is done by means of hard links, while mdbox has some special refcounting mechanism. My question is, how can we convert

Re: [Dovecot] Dovecot v2.2 plans

2012-02-13 Thread forumer
Hi, Is there any plan to port dovecot to windows ?

Re: [Dovecot] Dovecot v2.2 plans

2012-02-13 Thread Robert Schetterer
Am 13.02.2012 16:35, schrieb foru...@smartmobili.com: Hi, Is there any plan to port dovecot to windows ? cant wait Timos answer *g -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria

Re: [Dovecot] Dovecot v2.2 plans

2012-02-13 Thread Robert Schetterer
Am 13.02.2012 12:47, schrieb Timo Sirainen: Get rid of *.conf.ext files. Make everything part of dovecot.conf, so doveconf -n outputs ALL of the configuration might a question of taste, but i never liked the splitted up config style, so i like this idea -- Best Regards MfG Robert Schetterer

Re: [Dovecot] Dovecot v2.2 plans

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 17.51, Robert Schetterer wrote: Am 13.02.2012 12:47, schrieb Timo Sirainen: Get rid of *.conf.ext files. Make everything part of dovecot.conf, so doveconf -n outputs ALL of the configuration might a question of taste, but i never liked the splitted up config style, so i

Re: [Dovecot] Dovecot v2.2 plans

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 17.35, foru...@smartmobili.com wrote: Is there any plan to port dovecot to windows ? It probably works via Cygwin (although I think Cygwin has to do some kind of POSIX filesystem emulation, which slows things down and might cause some trouble if server crashes). Actually we

[Dovecot] Managesieve doesn't listen on 2000/4190

2012-02-13 Thread Jacek Osiecki
Hi, Finally I decided to give a try to dovecot 2.0, after spending few years with 1.2. Unfortunately, it doesn't go smooth - finally I managed to cope with LMTP transport and exim, but failed to run managesieve. I have compiled pigeonhole, installed it, configured, everything seems to be

Re: [Dovecot] There is a way to know if a email has been expunged ?

2012-02-13 Thread Alex Baule
Hi Again Timo ! I Trying to port quota plugin notify_sync to my plugin, but i found some issues. I have the hooks already, to replace the mailbx_allocated, like quota plugin does. static struct mail_storage_hooks emexis_mail_storage_hooks = { .mail_user_created = Mplugin_mail_user_created,

Re: [Dovecot] dsync, hard-links and refcounts

2012-02-13 Thread Christoph Bußenius
On 02/13/2012 03:40 PM, Timo Sirainen wrote: It should deduplicate when GUIDs are the same.. I guess I'll have to look into why it's not working. I’d very much appreciate that. We will have to migrate many large mailboxes, and it would be a pity to needlessly waste space. I got the same

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Mark Moseley
On Mon, Feb 13, 2012 at 5:54 AM, Jan-Frode Myklebust janfr...@tanso.net wrote: We've been collecting some stats to see what kind of benefits UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is running in High-performance mode http://wiki2.dovecot.org/LoginProcess with

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 04:14:22PM +0200, Timo Sirainen wrote: The responstimes are not very fast, but they do seem to support the claim that an imapproxy isn't needed for dovecot. That's what I always suspected, but good to have someone actually test it. :) This is with Maildir? Yes,

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 11:08:48AM -0800, Mark Moseley wrote: Out of curiosity, are you running dovecot locally on those webmail servers as well, or is it talking to remote dovecot servers? The webmail servers are talking with dovecot director servers which in turn are talking with the

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 21.36, Jan-Frode Myklebust wrote: Other things that would be interesting to try out (both from latency and disk IO usage point of view): - maildir_very_dirty_syncs We already have $ doveconf maildir_very_dirty_syncs maildir_very_dirty_syncs = yes but I

[Dovecot] Logging to messages instead of secure

2012-02-13 Thread Cliff Hayes
I need to log to /var/log/messages instead of /var/log/secure on a fedora system. Is this the correct entry for dovecot.conf? syslog_facility = info

Re: [Dovecot] There is a way to know if a email has been expunged ?

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 19.28, Alex Baule wrote: static void emexis_mailbox_allocated(struct mailbox *box) { union mailbox_module_context *zbox; zbox = p_new(box-pool, union mailbox_module_context, 1); zbox-super = box-v; box-v.open = Mplugin_mailbox_open; box-v.sync_notify =

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust janfr...@tanso.net: We've been collecting some stats to see what kind of benefits UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is running in High-performance mode http://wiki2.dovecot.org/LoginProcess with authentication caching

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 09:57:31PM +0200, Timo Sirainen wrote: $ doveconf maildir_very_dirty_syncs maildir_very_dirty_syncs = yes but I don't think this gave the advantage I was expecting.. Was expecting this to move most iops to the index-luns, but the maildir luns seems

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Jan-Frode Myklebust
On Mon, Feb 13, 2012 at 01:24:25PM -0700, Michael M Slusarz wrote: Except you are most likely NOT leveraging the truly interesting part of imapproxy - the ability to restore the IMAP connection state via the XPROXYREUSE status response. This is a significant performance improvement since it

[Dovecot] Released Pigeonhole v0.2.6 for Dovecot v2.0.18

2012-02-13 Thread Stephan Bosch
Hello Dovecot users, Pigeonhole v0.2.5 does not compile against the new Dovecot v2.0.18 release. That is why a release a new version now. Other changes are included as well, of which the one regarding the include extension requires special attention; Changelog v0.2.6: * This release fixes

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 22.24, Michael M Slusarz wrote: http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052316.html http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052317.html These posts neglect the fact that you don't need to issue a CAPABILITY command if the connection is

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 13.2.2012, at 23.32, Timo Sirainen wrote: Perhaps a way for (trusted) clients to be able to do this? :) a logout save * OK [SAVEDSTATE 1234567890] * BYE logged out a OK Actually, this could probably be safely implemented by sending all of the state to the client as a string: * OK

Re: [Dovecot] Synchronization error in NFS

2012-02-13 Thread Andy YB Hu
Another question is about the director failover. In http://blog.dovecot.org/2010/05/new-director-service-in-v20-for-nfs.html you said: The main complexity here comes from how to handle proxy server failures in different situations. Those are less interesting to describe and I haven't yet

Re: [Dovecot] Synchronization error in NFS

2012-02-13 Thread Timo Sirainen
On 14.2.2012, at 4.39, Andy YB Hu wrote: Another question is about the director failover. In http://blog.dovecot.org/2010/05/new-director-service-in-v20-for-nfs.html you said: The main complexity here comes from how to handle proxy server failures in different situations. Those are less

Re: [Dovecot] v2.1.rc6 released

2012-02-13 Thread Daniel L. Miller
On 2/12/2012 1:01 PM, Timo Sirainen wrote: http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc6.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc6.tar.gz.sig I've finally finished all of my email backlog. If you haven't received an answer to some question/bugreport, resend the mail. This

Re: [Dovecot] v2.1.rc6 released

2012-02-13 Thread Timo Sirainen
On 14.2.2012, at 4.54, Daniel L. Miller wrote: With this configure line: ./configure --with-ldap --with-bzlip --with-zlib --with-solr --with-lucene lucene-wrapper.cc:23: fatal error: CLucene.h: No such file or directory Base on this error, I suppose you don't have CLucene installed.. The

Re: [Dovecot] v2.1.rc6 released

2012-02-13 Thread Daniel L. Miller
On 2/13/2012 7:00 PM, Timo Sirainen wrote: On 14.2.2012, at 4.54, Daniel L. Miller wrote: With this configure line: ./configure --with-ldap --with-bzlip --with-zlib --with-solr --with-lucene lucene-wrapper.cc:23: fatal error: CLucene.h: No such file or directory Base on this error, I suppose

[Dovecot] Boehm

2012-02-13 Thread Daniel L. Miller
As the Boehm GC is an available option, do I take that to mean it's beneficial for some users but not most? -- Daniel

Re: [Dovecot] Boehm

2012-02-13 Thread Timo Sirainen
On 14.2.2012, at 5.04, Daniel L. Miller wrote: As the Boehm GC is an available option, do I take that to mean it's beneficial for some users but not most? Eh. Probably not.

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust janfr...@tanso.net: BTW: do you also have information on the state of select caching in the up-imapproxy? I got some very negative comments when googling it, and the changelog didn't suggest there had been any improvements since.. I wouldn't trust it. IIRC, it was

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 13.2.2012, at 22.24, Michael M Slusarz wrote: http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052316.html http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052317.html These posts neglect the fact that you don't need to issue a

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Timo Sirainen
On 14.2.2012, at 5.19, Michael M Slusarz wrote: b login (SAVEDSTATE 1234567890) user pass I guess the drawback for this approach is that you are explicitly breaking the LOGIN definition. No breaking, extending :) And you don't allow reviving the state if using the AUTHENTICATE command.

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 13.2.2012, at 23.32, Timo Sirainen wrote: Perhaps a way for (trusted) clients to be able to do this? :) a logout save * OK [SAVEDSTATE 1234567890] * BYE logged out a OK Actually, this could probably be safely implemented by sending all of the state

Re: [Dovecot] 2.1.rc5 Cannot delete folders from trash

2012-02-13 Thread Daniel L. Miller
On 2/12/2012 9:00 AM, Timo Sirainen wrote: On 12.2.2012, at 15.27, Mike Constabel wrote: Another Question to this Option: # tb-extra-mailbox-sep: # With mbox storage a mailbox can contain either mails or submailboxes, # but not both. Thunderbird separates these two by forcing

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 14.2.2012, at 5.19, Michael M Slusarz wrote: b login (SAVEDSTATE 1234567890) user pass I guess the drawback for this approach is that you are explicitly breaking the LOGIN definition. No breaking, extending :) Heh. I should know better after

[Dovecot] index synchronization during local delivery

2012-02-13 Thread Andy YB Hu
Hi there, Now our system will take dovecot as the whole imap back end, and keep the LDA of ours, But our system has our own UID generation mechanism (in dovecot it's incremental from 1), which will be done while local delivery, So when local deliveries, it will first generate the UID, move the