Re: [Dovecot] Non-dovecot user looking for feedback

2012-12-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 Dec 2012, Chris Ross wrote: I did used UW-imap until it gave lots of problems, because of mbox-Format located in user's home folders. It also seemed to become problematic in point of performance, because some users keep any message.

[Dovecot] Advice on sieve vacation for aliases

2012-12-18 Thread Marcio Merlone
Greetings, I have a working mail server with sieve 1:1.2.9-1ubuntu6.5 working just fine. My commercial dept. has asked me to set a vacation message for comerc...@domain.tld, but this is an alias to j...@domain.tld and meg...@domain.tld. I have created a sieve_global_path =

Re: [Dovecot] Too many imap connections in state idling

2012-12-18 Thread 3.lis...@adminlinux.com.br
Thanks Steffen Kaiser ! I think not. The server is currently always 60% of imap processes in state idling. IDLE processes are like this: root@server:/root# ps aux |grep imap dovemail617 0.0 0.0 23136 2260 ?SDec15 0:01 dovecot/imap [Username1 IP1 IDLE] dovemail677

Re: [Dovecot] Too many imap connections in state idling

2012-12-18 Thread Timo Sirainen
On 18.12.2012, at 18.48, 3.lis...@adminlinux.com.br lis...@adminlinux.com.br wrote: root@server:~# ps aux |grep imap |grep idling dovemail 1141 0.0 0.0 16836 2148 ?DDec15 0:01 dovecot/imap [idling] dovemail 3375 0.0 0.0 16828 2120 ?D15:48 0:00

Re: [Dovecot] Undeserved permissions error with g+s folder permissions

2012-12-18 Thread Timo Sirainen
On Sat, 2012-12-01 at 10:59 -0500, tlhackque wrote: I have a (mbox/IMAP) directory under my mail directory with these permissions: drwxrws--- 4 tlhackque mail 4096 Dec 1 10:34 Vendors/ It contains a subdirectory: -rw-rw 1 thlackque mail 84805345 Dec 1 10:34 Vendors/AVendor If

Re: [Dovecot] indexer-worker Panic

2012-12-18 Thread Timo Sirainen
On Tue, 2012-12-04 at 13:26 -0500, Dave Abrahams wrote: I just found this in my logs. Any idea? --8---cut here---start-8--- 12/4/12 12:33:43.831 PM dovecot[2660]: indexer-worker(dave): Panic: file mailbox-list-fs.c: line 156 (fs_list_get_path): assertion

Re: [Dovecot] Error: unlink_directory(.../lucene-indexes) with doveadm index

2012-12-18 Thread Timo Sirainen
On Wed, 2012-12-05 at 05:08 -0600, Fred Kilbourn wrote: I am updating search indexes on all my mailboxes via a nightly cronjob that runs: doveadm index -A '*' The problem we're running into is that random mailboxes will throw the following error during the update (sanitized to conceal actual

Re: [Dovecot] Error: unlink_directory(.../lucene-indexes) with doveadm index

2012-12-18 Thread Fred Kilbourn
-Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Timo Sirainen Sent: Tuesday, December 18, 2012 12:52 PM To: Fred Kilbourn Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Error: unlink_directory(.../lucene-indexes) with doveadm

Re: [Dovecot] Undeserved permissions error with g+s folder permissions

2012-12-18 Thread tlhackque
On 18-Dec-12 13:39, Timo Sirainen wrote: On Sat, 2012-12-01 at 10:59 -0500, tlhackque wrote: I have a (mbox/IMAP) directory under my mail directory with these permissions: drwxrws--- 4 tlhackque mail 4096 Dec 1 10:34 Vendors/ It contains a subdirectory: -rw-rw 1 thlackque mail 84805345

Re: [Dovecot] NFS, deleting folder issue

2012-12-18 Thread Timo Sirainen
On Wed, 2012-12-05 at 11:47 -0500, Catalin Petrescu wrote: I use dovecot on a server with some Nightmare File Systerm (aka NFS) storage. When I delete a folder, its content gets deleted, but the folder itself does not. .. So, the dovecot.index.log was deleted, but it's still open, and the

Re: [Dovecot] Documentation of Redis and Memcache Backends

2012-12-18 Thread Timo Sirainen
On Thu, 2012-12-06 at 14:46 +0100, Urban Loesch wrote: Hi, in the release notes of 2.1.9 I read that dovecot supports memcache and redis backends for userdb/passdb authentication. This is very interesting for me and should reduce queries and database load of our mysql servers. My idea

Re: [Dovecot] During FTS reindexing, search commands unceremoniously exit

2012-12-18 Thread Timo Sirainen
On Thu, 2012-12-06 at 12:31 -0500, Dave Abrahams wrote: Is this intentional? Closing the connection without warning doesn't seem like the best response... --8---cut here---start-8--- % printf 1 select \INBOX\\n2 search body quack\n3 logout\n |

Re: [Dovecot] namespace subscription problem

2012-12-18 Thread Timo Sirainen
On Fri, 2012-12-07 at 04:17 +0100, Holger Hegmanns wrote: Hi all, my problem seems to be a cosmetic one (again). According to the docs: subscriptions: yes (default) if this namespace should handle its own subscriptions. If no, then the first parent namespace with subscriptions=yes will

Re: [Dovecot] Undeserved permissions error with g+s folder permissions

2012-12-18 Thread Reindl Harald
Am 18.12.2012 19:39, schrieb Timo Sirainen: On Sat, 2012-12-01 at 10:59 -0500, tlhackque wrote: It contains a subdirectory: -rw-rw 1 thlackque mail 84805345 Dec 1 10:34 Vendors/AVendor If I try to rename the AVendor folder (client is Thunderbird 17.0), I get this error:

Re: [Dovecot] Removing configured SSL certificate file from disk while Dovecot is running spams syslog

2012-12-18 Thread Timo Sirainen
On Thu, 2012-12-06 at 18:13 +0900, Nils wrote: [root@mikan ~]# dovecot --version 2.1.12 When I remove the SSL certificate from disk while Dovecot is running, it spams syslog with the following log message over and over: Dec 6 17:41:41 mikan dovecot: config: Fatal: Error in

Re: [Dovecot] imap dumps core when connecting with mutt

2012-12-18 Thread Timo Sirainen
On Sun, 2012-12-09 at 19:03 +0200, Arthur Titeica wrote: Hello, I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works). imap(user@domain): Fatal: master: service(imap): child 31752 killed with signal 11 (core

Re: [Dovecot] Automatically Cleaning Kerberos Credential Cache Files

2012-12-18 Thread Timo Sirainen
On Tue, 2012-12-11 at 19:13 -0800, Joseph Tam wrote: Ben Morrow writes: In any case, it's likely that the delivery process looks in the user's home directory even if delivery is to a separate mail spool, unless you've taken steps to prevent this. I can confirm this. I think the reason

Re: [Dovecot] Manually creating dovecot- files after isync/mbsync mirror

2012-12-18 Thread Timo Sirainen
On Wed, 2012-12-12 at 11:00 +0200, Dale Gallagher wrote: Hi everyone I'm using isync 1.0.5 patched to do recursive folder listing and mirroring mail from an external party's IMAP server to a local Maildir, which will be accessed by Dovecot 2.0.9. In order to prevent IMAP clients from

Re: [Dovecot] SPECIAL-USE and mailbox names in various IMAP clients

2012-12-18 Thread Timo Sirainen
On Wed, 2012-12-12 at 08:28 -0800, Bradley Giesbrecht wrote: On Dec 12, 2012, at 3:11 AM, Timo Sirainen wrote: http://imapwiki.org/SpecialUse Please fill out for all clients with all languages you know of. Knowing the mailbox names can be helpful with Dovecot's mailbox_alias plugin.

Re: [Dovecot] NFS, deleting folder issue

2012-12-18 Thread Catalin Petrescu
Awesome, Thanks! Catalin Petrescu catalin.petrescu gmail com On Tue, Dec 18, 2012 at 2:16 PM, Timo Sirainen t...@iki.fi wrote: On Wed, 2012-12-05 at 11:47 -0500, Catalin Petrescu wrote: I use dovecot on a server with some Nightmare File Systerm (aka NFS) storage. When I delete a

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-18 Thread Timo Sirainen
On Thu, 2012-12-13 at 03:56 -0800, Joseph Tam wrote: We uograded our dovecot from version 2.1.10 - 2.10.12, but within the first hour of use, dovecot-lda would segfault during delivery. This left a lock file lying around causing the user's mail readers to hang; much hilarity ensues. All

Re: [Dovecot] Clear-text ldap passwords: {CLEAR} scheme?

2012-12-18 Thread Timo Sirainen
On Fri, 2012-12-14 at 15:37 +0100, Kristof Bajnok wrote: Hi, if I read the documentation correctly, the clear-text password storage scheme in Dovecot is called PLAIN. Unfortunately, in Sun LDAP Directory Server I have to specify them as {CLEAR} [1]. Is it somehow possible to make Dovecot

Re: [Dovecot] Undeserved permissions error with g+s folder permissions

2012-12-18 Thread tlhackque
It's an MBox file that I'm trying to rename, not a directory. | file Vendors/|| ||Vendors/: setgid directory|| || file Vendors/Test|| ||Vendors/Test: empty|| | (Perhaps you missed that I said I created it messages only, and the config I originally posted showed the file storage is mbox...)

Re: [Dovecot] mdbox: more then one altstorage

2012-12-18 Thread Timo Sirainen
On Sat, 2012-12-15 at 08:44 +0100, Peer Heinlein wrote: The mdbox-format with the altstorage-feature is quite nice and important. But we're having much more then 30 TB of maildata and doing an fsck on huge partitions takes too much (down-) time for our mailsystem. It would be much easier,

Re: [Dovecot] When imapc can't connect to remote IMAP prevents user login (and blocks LDA)

2012-12-18 Thread Timo Sirainen
On Sat, 2012-12-15 at 18:14 +0100, Marcin Mirosław wrote: I'm using dovecot 2.1.12-r1. When remote imap server rejects connections then I can't login into account and MTA can't deliver emails to maildir also. I'm attaching snippets of logs: 2012-12-15T18:05:43.072594+01:00 meteor dovecot:

Re: [Dovecot] mail_log_events seem to be broken in HG 2.2

2012-12-18 Thread Timo Sirainen
On Sun, 2012-12-16 at 10:17 +0100, Thomas Leuxner wrote: It seems along the way of 2.2alpha1 'mail_log_events' quietly stopped working. They don't log expunges etc. anymore. […] mail_log_events = expunge mailbox_delete Dunno. Latest hg works with my test: mail_plugins = notify mail_log

Re: [Dovecot] Undeserved permissions error with g+s folder permissions

2012-12-18 Thread Timo Sirainen
On Tue, 2012-12-18 at 14:13 -0500, tlhackque wrote: Unable to rename across conflicting directory permisssions If I chmod g-s Vendors, the RENAME command succeeds. Where are you renaming it to and what permissions that directory has? I can't seem to easily reproduce this.

Re: [Dovecot] Adding a parameter to dovecot's deliver to get a meaningful return value

2012-12-18 Thread Timo Sirainen
On Mon, 2012-12-17 at 18:20 +0100, Cyril RUSSO wrote: Hi, First, please forgive me as I'm not subscribed to the list. I'm using Dovecot 2 (2.1.7) for serving my local maildir. This maildir is filled by an external process, fetching merging mails from different sources that's outside

[Dovecot] passdb to add extra fields?

2012-12-18 Thread Timo Sirainen
Some passdbs like PAM can't really return any extra fields. Also some people have wanted to combine users' data from different passdb/userdbs so that for example you'd have userdb passwd give the uid/gid/home, but then you'd also have some other userdb give quota limits. So I was thinking

[Dovecot] dovecot index errors since 2.1.12

2012-12-18 Thread Morten Stevens
Hi, After upgrading to dovecot 2.1.12, I see a lot of these errors: # 2.1.12: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-279.14.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) # Filesystem: ext4 with mdbox storage Dec 10 15:21:04 mail dovecot: imap(u...@example.org): Error: Cached message

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-18 Thread Timo Sirainen
On 18.12.2012, at 23.37, Morten Stevens mstev...@imt-systems.com wrote: After upgrading to dovecot 2.1.12, I see a lot of these errors: # 2.1.12: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-279.14.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) # Filesystem: ext4 with mdbox storage Dec

Re: [Dovecot] passdb to add extra fields?

2012-12-18 Thread Ajax
On Tue, Dec 18, 2012 at 4:12 PM, Timo Sirainen t...@iki.fi wrote: [[...]]] 2) Any thoughts of a better name than include? With passdb it would mean that it's included only when the authentication failed for some other passdb. With userdb it means it's included only if a previous userdb

Re: [Dovecot] When imapc can't connect to remote IMAP prevents user login (and blocks LDA)

2012-12-18 Thread Marcin Mirosław
W dniu 2012-12-18 21:33, Timo Sirainen pisze: Hi Timo, hi all! On Sat, 2012-12-15 at 18:14 +0100, Marcin Mirosław wrote: I'm using dovecot 2.1.12-r1. When remote imap server rejects connections then I can't login into account and MTA can't deliver emails to maildir also. I'm attaching

Re: [Dovecot] When imapc can't connect to remote IMAP prevents user login (and blocks LDA)

2012-12-18 Thread Timo Sirainen
On 19.12.2012, at 0.06, Marcin Mirosław mar...@mejor.pl wrote: I'd like to ask is this behavior correct? You're using Dovecot as simple imapc proxy without local mails? Then yeah, what else could it really do? Here is problem, I'm using local mails also!:) So when remote imap server

Re: [Dovecot] passdb to add extra fields?

2012-12-18 Thread Ben Morrow
At 11PM +0200 on 18/12/12 you (Timo Sirainen) wrote: Some passdbs like PAM can't really return any extra fields. Also some people have wanted to combine users' data from different passdb/userdbs so that for example you'd have userdb passwd give the uid/gid/home, but then you'd also have some

Re: [Dovecot] When imapc can't connect to remote IMAP prevents user login (and blocks LDA)

2012-12-18 Thread Marcin Mirosław
W dniu 2012-12-18 23:10, Timo Sirainen pisze: On 19.12.2012, at 0.06, Marcin Mirosław mar...@mejor.pl wrote: I'd like to ask is this behavior correct? You're using Dovecot as simple imapc proxy without local mails? Then yeah, what else could it really do? Here is problem, I'm using local

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-18 Thread Morten Stevens
On 18.12.2012 22:42, Timo Sirainen wrote: On 18.12.2012, at 23.37, Morten Stevens mstev...@imt-systems.com wrote: After upgrading to dovecot 2.1.12, I see a lot of these errors: # 2.1.12: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-279.14.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) #

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-18 Thread Timo Sirainen
On 19.12.2012, at 0.40, Morten Stevens mstev...@imt-systems.com wrote: Dec 10 15:21:04 mail dovecot: imap(u...@example.org): Error: Cached message size smaller than expected (5010 8192) Dec 10 15:21:04 mail dovecot: imap(u...@example.org): Error: Corrupted index cache file

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-18 Thread Morten Stevens
On 18.12.2012 23:44, Timo Sirainen wrote: On 19.12.2012, at 0.40, Morten Stevens mstev...@imt-systems.com wrote: Dec 10 15:21:04 mail dovecot: imap(u...@example.org): Error: Cached message size smaller than expected (5010 8192) Dec 10 15:21:04 mail dovecot: imap(u...@example.org): Error:

Re: [Dovecot] Advice on sieve vacation for aliases

2012-12-18 Thread Daniel Parthey
Marcio Merlone wrote: j...@domain.tld and meg...@domain.tld. I have created a sieve_global_path = /etc/dovecot/global.sieve and it works, but not the intended way: it sends two vacation messages, each From: each employee, and not From: comerc...@domain.tld alias. Arguments to vacation are