[Dovecot] master user only for sieve

2011-12-07 Thread Jan-Frode Myklebust
Changes in SOGo is forcing me to define a master user, so that SOGo can disable sieve out-of-office processing on a given date. I'm not too happy about having master users that are allowed to read the users messages, so is it possible to define a master user that can only log in trough

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Yann Dupont
Le 05/12/2011 02:45, Timo Sirainen a écrit : On 5.12.2011, at 3.03, Stan Hoeppner wrote: To cope with catastrophic failure, create a special Dovecot administrator only mailbox (real/virtual/whatever) that contains all of the SiS files, a special Dovecot index. I'm not thinking about a

[Dovecot] problems when using dsync between servers

2011-12-07 Thread Yann Dupont
Hello, I'm trying to migrate from maildir++ to mdbox. The maildir++ is a leftover of our previous setup (was using courier) We have 3 virtuals servers for our +7 accounts. Now, I'd like to use mdbox, so I'm trying using dsync for that. I setup a new virtual server, configured for mdbox.

Re: [Dovecot] master user only for sieve

2011-12-07 Thread Stephan Bosch
Op 7-12-2011 11:11, Jan-Frode Myklebust schreef: Changes in SOGo is forcing me to define a master user, so that SOGo can disable sieve out-of-office processing on a given date. I'm not too happy about having master users that are allowed to read the users messages, so is it possible to define a

Re: [Dovecot] master user only for sieve

2011-12-07 Thread Jan-Frode Myklebust
On Wed, Dec 07, 2011 at 12:32:21PM +0100, Stephan Bosch wrote: However, I do have a suggestion for a different approach. You can define a vacation response action with an expiry date, as follows: require [date, relational, vacation]; if currentdate :value le date 2011-12-09 {

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-07 Thread Charles Marcus
On 2011-12-06 5:13 PM, Timo Sirainen t...@iki.fi wrote: * Trash is used by all clients Outlook uses 'Deleted Items', not 'Trash'... -- Best regards, Charles

Re: [Dovecot] master user only for sieve

2011-12-07 Thread Edgar Fuß
I have the following for 1.2. You may search the list archive, I asked that question about halv a year ago and Timo answererd it for both 1.2 and 2.0. auth default { [...] # Master-Benutzer für Sieve. # Wirkt nur für Sieve, weil es master.imap und master.pop nicht gibt. passdb passwd-file

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Charles Marcus
On 2011-12-07 5:25 AM, Yann Dupont yann.dup...@univ-nantes.fr wrote: Right now, we archive and then delete the mailbox directories (we don't use special dovecot mecanism : we migrated from another system not long time ago and we had special scripts for that). If we use SIS, what happen to the

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-07 Thread Pascal Volk
On 12/07/2011 02:28 PM Arne K. Haaje wrote: Thunderbird also use a Templates folder. Yes, I also noticed that. But http://tools.ietf.org/html/rfc6154#section-2 doesn't mention a mailbox for templates. Regards, Pascal -- The trapper recommends today: face1e55.1134...@localdomain.org

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Timo Sirainen
On 7.12.2011, at 12.25, Yann Dupont wrote: Other problem I'm thinking of, because I'd like to use SIS on our production servers ; but right now I think I can't . We have lots of users (+5000 teachers/engineers) on our first setup, +7 students on our 2nd setup. The user base is on

[Dovecot] v2.x services documentation

2011-12-07 Thread Timo Sirainen
If you've ever wanted to know everything about the service {} blocks, this should be quite helpful: http://wiki2.dovecot.org/Services

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-07 Thread Charles Marcus
On 2011-12-07 8:55 AM, Pascal Volk user+dove...@localhost.localdomain.org wrote: On 12/07/2011 02:28 PM Arne K. Haaje wrote: Thunderbird also use a Templates folder. Yes, I also noticed that. But http://tools.ietf.org/html/rfc6154#section-2 doesn't mention a mailbox for templates.

[Dovecot] dovecot 2.0 sieve if working, managesieve not.

2011-12-07 Thread Sacha Mura
Hi, this is my configuration # OS: Linux 2.6.32-131.0.15.el6.x86_64 x86_64 Red Hat Enterprise Linux Server release 6.1 (Santiago) ext4 auth_debug = yes auth_master_user_separator = * auth_username_format = %Lu auth_verbose = yes disable_plaintext_auth = no info_log_path =

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-07 Thread Willie Gillespie
On 12/06/2011 03:13 PM, Timo Sirainen wrote: On Fri, 2011-12-02 at 17:12 +0200, Timo Sirainen wrote: The mailbox names require a namespace prefix, so if you use e.g. INBOX. prefix you'll need to use: I changed these so that they are inside namespace {} section and don't require namespace

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-07 Thread Timo Sirainen
On 7.12.2011, at 17.45, Willie Gillespie wrote: Outlook 2010 lets you select a mailbox for Trash and Sent (version 2007 only lets you select a mailbox for Sent messages). Outlook default names for Trash is Deleted Items (as someone pointed out) and for junk is Junk E-mail. And the default

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Yann Dupont
Le 07/12/2011 15:15, Timo Sirainen a écrit : On 7.12.2011, at 12.25, Yann Dupont wrote: doveadm expunge -u user mailbox '*' all before doing rm -rf for the user's mails. And in the archiving step you should do it with dsync with mail_attachment_dir disabled in the destination storage, so

[Dovecot] lazy_expunge plugin and folder subscription trouble

2011-12-07 Thread Jürgen Obermann
Hello, I wanted to test the lazy expunge plugin together with mdbox. It seems to me that the folder subscriptions file in the mdbox directory was overwritten with only a few folder names every time I added or removed something in the list of subscribed folders, or even if I turned the

[Dovecot] 2.1.rc1 (1e118913348b): Panic: file mail-user.c: line 128 (mail_user_ref): assertion failed: (user-refcount 0)

2011-12-07 Thread Pascal Volk
Hi Timo, right after delivering the message to the INBOX the lmtp crashes. I wonder about the Sent in the attached backtrace. Regards, Pascal -- The trapper recommends today: c01dcofe.1134...@localdomain.org # 2.1.rc1 (1e118913348b): /usr/local/etc/dovecot/dovecot.conf # OS: Linux

Re: [Dovecot] IMAP SPECIAL-USE extension

2011-12-07 Thread Willie Gillespie
On 12/07/2011 08:56 AM, Timo Sirainen wrote: On 7.12.2011, at 17.45, Willie Gillespie wrote: Outlook 2010 lets you select a mailbox for Trash and Sent (version 2007 only lets you select a mailbox for Sent messages). Outlook default names for Trash is Deleted Items (as someone pointed out) and

[Dovecot] dovecot 2.1.rc1 and folders with umlauts

2011-12-07 Thread Mike Constabel
Hi, if I try to crate a folder in Thunderbird 8 which contains umlauts this happens: - Create folder Tür - Thunderbird show TAPw-r in folder list In log: Dec 07 17:45:39 imap(te...@in-preetz.de): Debug: Namespace : /mailspool1/in-preetz.de/test1/mdbox/mailboxes/TAPw-r doesn't exist yet,

[Dovecot] overriding userdb connection host for doveadm-user

2011-12-07 Thread Micah Anderson
I've got my users in a replicated database setup and dovecot configured with two connect lines in dovecot-sql.conf: connect = host=127.0.0.1 port=3306 dbname=users user=user password=pass connect = host=127.0.0.2 port=3306 dbname=users user=user password=pass this works really well to help

[Dovecot] sql dict: commit failed: MySQL server has gone away

2011-12-07 Thread Mark Zealey
Following on from this thread: http://www.dovecot.org/list/dovecot/2010-September/052704.html https://owa2010.webfusion.com/owa/redir.aspx?C=a447887e3d204944a8c766142df41453URL=http%3a%2f%2fwww.dovecot.org%2flist%2fdovecot%2f2010-September%2f052704.html in 2.0.16 I am seeing the same issues. I

[Dovecot] postlogin script

2011-12-07 Thread Selcuk Yazar
Hi, I have Postfix + OpenLdap + DoveCot configuration, and it's running succesfuly, i wantto convert users pop3 password NTPassword and LMPassword, so i ne plain passwor dof users, how can i do that. (Normaly using perl's ntlmgen function i convert password , but in plain) thanks in advance

[Dovecot] doveadm fetch vs search+fetch

2011-12-07 Thread Joseph Tam
What's the pactical difference between using doveadm fetch rather than using doveadm search in conjunction with doveadm fetch, as the man pages suggest? It seems doveadm fetch functionally supercedes doveadm search making the latter obsolete. It can even be closely simulated with doveadm -f

Re: [Dovecot] doveadm fetch vs search+fetch

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 18:00 -0800, Joseph Tam wrote: What's the pactical difference between using doveadm fetch rather than using doveadm search in conjunction with doveadm fetch, as the man pages suggest? It seems doveadm fetch functionally supercedes doveadm search making the latter

Re: [Dovecot] doveadm fetch vs search+fetch

2011-12-07 Thread Joseph Tam
On Thu, 8 Dec 2011, Timo Sirainen wrote: It seems doveadm fetch functionally supercedes doveadm search making the latter obsolete. It can even be closely simulated with doveadm -f tab fetch ... 'mailbox-guid uid' search-query If you want to fetch message headers/bodies separately for

Re: [Dovecot] Questions about single intance storage

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 17:02 +0100, Yann Dupont wrote: before doing rm -rf for the user's mails. And in the archiving step you should do it with dsync with mail_attachment_dir disabled in the destination storage, so the the attachments get written to the archive directly instead of only

Re: [Dovecot] 2.1.rc1 (1e118913348b): Panic: file mail-user.c: line 128 (mail_user_ref): assertion failed: (user-refcount 0)

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 17:17 +0100, Pascal Volk wrote: right after delivering the message to the INBOX the lmtp crashes. I wonder about the Sent in the attached backtrace. http://hg.dovecot.org/dovecot-2.1/rev/3b70254e0596 should fix it.

Re: [Dovecot] doveadm fetch vs search+fetch

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 19:56 -0800, Joseph Tam wrote: If you want to fetch message headers/bodies separately for multiple messages, then doveadm search is useful. With doveadm fetch you can't really know where one message ends and another one begins (although the ^L character between

Re: [Dovecot] dovecot 2.1.rc1 and folders with umlauts

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 18:05 +0100, Mike Constabel wrote: if I try to crate a folder in Thunderbird 8 which contains umlauts this happens: - Create folder Tür - Thunderbird show TAPw-r in folder list I can't reproduce. Is it possible this is a TB bug? Try talking IMAP protocol directly:

Re: [Dovecot] overriding userdb connection host for doveadm-user

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 13:02 -0500, Micah Anderson wrote: I've got my users in a replicated database setup and dovecot configured with two connect lines in dovecot-sql.conf: connect = host=127.0.0.1 port=3306 dbname=users user=user password=pass connect = host=127.0.0.2 port=3306 dbname=users

Re: [Dovecot] sql dict: commit failed: MySQL server has gone away

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 20:38 +0200, Mark Zealey wrote: Following on from this thread: http://www.dovecot.org/list/dovecot/2010-September/052704.html

Re: [Dovecot] postlogin script

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 21:57 +0200, Selcuk Yazar wrote: Hi, I have Postfix + OpenLdap + DoveCot configuration, and it's running succesfuly, i wantto convert users pop3 password NTPassword and LMPassword, so i ne plain passwor dof users, how can i do that. (Normaly using perl's ntlmgen

Re: [Dovecot] lazy_expunge plugin and folder subscription trouble

2011-12-07 Thread Timo Sirainen
On Wed, 2011-12-07 at 17:12 +0100, Jürgen Obermann wrote: Hello, I wanted to test the lazy expunge plugin together with mdbox. It seems to me that the folder subscriptions file in the mdbox directory was overwritten with only a few folder names every time I added or removed something in

Re: [Dovecot] Panic when attempting index with Apache Solr : fts_solr plugin

2011-12-07 Thread Timo Sirainen
On Fri, 2011-12-02 at 12:47 -0600, A Dovecot User wrote: [root@mymailserver ~]# doveadm -D index -u username mailbox inbox The mailbox isn't necessary above. doveadm(username): Info: INBOX: Caching mails seq=1..466 doveadm(username): Panic: file solr-connection.c: line 545

Re: [Dovecot] v2.1.rc1 missing SnowballAnalyzer.h

2011-12-07 Thread Timo Sirainen
On Thu, 2011-12-01 at 18:15 +0200, Eray Aslan wrote: Sure enough, there is no SnowballAnalyzer.h in the tarball. Looks like a missing a backslash in src/plugins/fts-lucene/Makefile.am: [...] noinst_HEADERS = \ fts-lucene-plugin.h \ lucene-wrapper.h SnowballAnalyzer.h \

Re: [Dovecot] Questions about Proxy/Director

2011-12-07 Thread Timo Sirainen
On Tue, 2011-11-29 at 15:24 +0100, Patrick Westenberg wrote: I have a working test environment not but I don't feel very comfortable with a non encrypted connection between the proxy/director and the backend servers. If I set ssl = required on my backend server I get this error:

Re: [Dovecot] POP3/IMAP crash signal 10

2011-12-07 Thread Timo Sirainen
On Mon, 2011-11-28 at 03:24 +, Patrick Wood wrote: Nov 28 14:11:02 mailserver dovecot: [ID 583609 mail.error] master: Error: service(pop3-login): child 28277 killed with signal 10 (core not dumped - set service pop3-log in { drop_priv_before_exec=yes }) You can easily reproduce this?

Re: [Dovecot] Assertion failure in 2.0.16 - SEARCH ()

2011-12-07 Thread Timo Sirainen
On Fri, 2011-11-25 at 22:36 -0800, Daniel Colascione wrote: Nov 25 22:25:59 dancol dovecot: imap(dancol): Panic: file mail-search-build.c: line 59 (mail_search_build_key_int): assertion failed: (sarg-value.subargs != NULL) Thanks, fixed: http://hg.dovecot.org/dovecot-2.0/rev/ba68f9be07c4

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-07 Thread Timo Sirainen
On Sat, 2011-11-26 at 18:33 +0200, Mark Zealey wrote: We're trying to convert users from Maildir to sdbox at present; I'm using dsync to achieve this (2.0.16) however when the user's have been converted we only get minimal information in the caching files. Is there some way to preserve all

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-07 Thread Mark Zealey
Apologies for top-posting but I can't figure out how to make this client do inline... I am seeing on the first run (we are using 'backup') we don't get any of the cache copied just the index files created. On the second run (ie when dest exists); a cache file is created and populated with the

Re: [Dovecot] sql dict: commit failed: MySQL server has gone away

2011-12-07 Thread Mark Zealey
Correct we're not enforcing the quotas at present just want an easy way to monitor everyone's mailbox usage. Thanks for the patch; will it work ok against 2.0.16? if so I'll recompile and give it a test today. Mark From: Timo Sirainen [t...@iki.fi]

Re: [Dovecot] using dsync to convert mailboxes looses caching options

2011-12-07 Thread Timo Sirainen
On Thu, 2011-12-08 at 07:53 +0200, Timo Sirainen wrote: But yes, it is a problem that dsync doesn't update caching decisions.. Hmm. I guess I'll have to fix that for v2.1. Could you try if the attached patch fixes your problems when patching against latest v2.1 hg? It's annoyingly large, and

Re: [Dovecot] problems when using dsync between servers

2011-12-07 Thread Yann Dupont
Le 08/12/2011 06:15, Timo Sirainen a écrit : On Wed, 2011-12-07 at 12:02 +0100, Yann Dupont wrote: Much faster (using all the cores), but dsync still hangs on some accounts. After a certain time dsync exit with an error like that : Panic: file dsync-worker-local.c: line 1688