Re: [Dovecot] SSL Warnings in Debug Logs

2012-07-28 Thread Timo Sirainen
On 24.7.2012, at 21.27, Asai wrote: Greetings, In doing some debugging of authentication issues, I'm wondering if these SSL warnings are anything to be investigating? Jul 24 11:23:16 triata dovecot: imap-login: Warning: SSL: where=0x10, ret=1: before/accept initialization

Re: [Dovecot] get recipient entry while in the zlib plugin context

2012-07-28 Thread Timo Sirainen
On 25.7.2012, at 22.31, Tofig Suleymanov wrote: is it possible to get a recipient of an email while being in the zlib plugin context ? Maybe. Depends on where exactly you want to get it. The recipient of the email would anyway be the struct mail_user-username however you can get it.

Re: [Dovecot] maildir_copy_with_hardlinks on v.2.0.19

2012-07-28 Thread Timo Sirainen
On 23.7.2012, at 22.12, mailing list subscriber wrote: As requested, here is my update. As you can see I am running now the latest release however emails delivered through lmtp gets split into different files instead of expected hardlinked files. .. userdb { driver = passwd } Looks like

Re: [Dovecot] Dsync replication

2012-07-28 Thread Timo Sirainen
On 18.7.2012, at 19.24, l...@airstreamcomm.net wrote: Anyway, in my small installation I'm using it in active-active mode and it works well enough. I've even configured my clients intentionally so that they use different servers. Does dsync replication only work between two hosts? In my

Re: [Dovecot] Disable W=vsize in filenames

2012-07-28 Thread Timo Sirainen
On 19.7.2012, at 21.18, Daniel Pieper wrote: I implemented a plugin for dovecot and now i got a error that maildir filename has wrong W value. When i rename the filename manually and delete the W value, all is ok. Maybe your plugin should fix also the value? It sounds like you would also

Re: [Dovecot] [PATCH] Pop3/imap ordering in courier-dovecot-migrate.pl

2012-07-28 Thread Timo Sirainen
On 18.7.2012, at 17.48, Pavel Stano wrote: current version of courier migration script courier-dovecot-migrate.pl preserve order of POP3 UIDLs, but it keep IMAP UIDs not in order which cause problems with clients using IMAP along with POP3 in some cases. Attached patch use

Re: [Dovecot] expire-tool stops on first box with nothing to expire in it

2012-07-28 Thread Timo Sirainen
On 19.7.2012, at 4.24, Joseph Tam wrote: I previously observed that the date.saved field (tested by savedbefore) seems to be clustered around particular timestamps. Dumping out this field using doveadm -ftab fetch -A \ mailbox date.saved \ \( mailbox

Re: [Dovecot] lmtp log message

2012-07-28 Thread Timo Sirainen
On 28.7.2012, at 21.50, Bård Johannessen wrote: On 2012-07-28 18:36, Timo Sirainen wrote: On 27.7.2012, at 9.01, Daniel L. Miller wrote: Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset) in my log for every message. Is this a normal sign-off

Re: [Dovecot] lmtp log message

2012-07-28 Thread Timo Sirainen
On 29.7.2012, at 2.50, Daniel L. Miller wrote: Jul 28 16:21:05 bubba dovecot: lmtp(26702): Disconnect from local: Client quit (in reset) Everything looks clean - except that lmtp disconnect message. It may not be an error - or a warning - but it looks like one. If I need to change my

Re: [Dovecot] [GoLugTech] thunderbird

2012-07-31 Thread Timo Sirainen
On Tue, 2012-07-31 at 14:29 -0400, Steve Litt wrote: My one complaint about Claws that can't be cured by documentation is its propensity to do everything with one process and one thread, so while you're sending an email or scanning your IMAP, you cannot look at other emails. I also wanted

Re: [Dovecot] maildir_copy_with_hardlinks on v.2.0.19

2012-07-31 Thread Timo Sirainen
On 30.7.2012, at 13.36, mailing list subscriber wrote: userdb { driver = passwd } Looks like you're using system users. Each mail then needs to be written using different permissions, so hard linking can't work. I am afraid this is incorrect: The code that determines if Dovecot even

Re: [Dovecot] Problem with running two dovecot instances on the same server

2012-07-31 Thread Timo Sirainen
On 30.7.2012, at 10.24, Alexandr Sabitov wrote: Jul 26 11:51:20 dovecot-test-1 dovecot: director: Error: Empty server list Jul 26 11:51:20 dovecot-test-1 dovecot: director: Fatal: Invalid value for director_mail_servers setting Jul 26 11:51:20 dovecot-test-1 dovecot: master: Error:

Re: [Dovecot] Help needed with configuration giving dict error No such file

2012-07-31 Thread Timo Sirainen
On 29.7.2012, at 22.09, Ajax wrote: file_dotlock_open(/var/vmail/XXX.com/jax/home/maildir/dovecot-quota) failed: No such file or directory The /var/vmail/XXX.com/jax/home/maildir/ directory doesn't exist. quota = dict:user::file:%h/maildir/dovecot-quota This should be %h/dovecot-quota.

Re: [Dovecot] BUG: LDAP extension failed to authenticate if 'base' DN configuration is empty ''

2012-07-31 Thread Timo Sirainen
On 29.7.2012, at 15.00, Hendy Irawan wrote: We have several context entries and want to authenticate a user against the whole LDAP server. However when setting base = Dovecot LDAP fails with following message: Jul 29 10:50:59 nitik1 dovecot: auth: Error:

Re: [Dovecot] Dovecot Director behaviour when two or more fail

2012-07-31 Thread Timo Sirainen
On 29.7.2012, at 7.30, Dominic Malolepszy wrote: On the Dovecot wiki here http://wiki2.dovecot.org/Director it says the following: The directors are going to connect to each others in a ring. For example if you have servers called A, B and C, director will create connections A-B, B-C

Re: [Dovecot] fts solr : out of memory

2012-07-31 Thread Timo Sirainen
On 29.7.2012, at 2.20, to...@starbridge.org wrote: it seems ok now with memory problem, but an other error shows up: doveadm -v index -u c...@spamguard.fr INBOX doveadm(c...@spamguard.fr): Info: INBOX: Caching mails seq=1..59363 21500/59363doveadm(c...@spamguard.fr): Error: fts_solr:

Re: [Dovecot] ntlm auth / usernames with white spaces

2012-07-31 Thread Timo Sirainen
On 27.7.2012, at 17.32, Matthias Lay wrote: we experienced some problems with white spaces in usernames (this was NOT our idea) authenticated bei dovecots ntlmhelper I wrote a little patch fixing this, if you would like. patch applies on 2.1.7 and 2.1.8 (tested those) Does this simpler

Re: [Dovecot] Empty argument in executable = script ... service

2012-07-31 Thread Timo Sirainen
On 26.7.2012, at 14.26, Florian Wagner wrote: what is the point of adding an empty argument to the command called by the executable = script ... setting in a service? I guess that would be the call to array_append_space at line 57 in util/script.c. Fixed:

Re: [Dovecot] mdbox with separate index location results in many emptydirectories

2012-07-31 Thread Timo Sirainen
On 20.7.2012, at 15.46, Jürgen Obermann wrote: mail_location = mdbox:/dovecot/storage%h:INDEX=/dovecot/index%h .. As expected the index files now reside under /dovecot/index%h/mailboxes/, but the path /dovecot/storage%h/mailboxes/ also contains for every user and every mailbox name a

Re: [Dovecot] FETCH Error

2012-07-31 Thread Timo Sirainen
On 18.7.2012, at 15.49, Micha Krause wrote: Jul 18 14:36:09 mailint1 dovecot: imap(micha): Error: FETCH [] for mailbox INBOX.Sent UID 166 got too little data: 120860 vs 120867 Jul 18 14:36:09 mailint1 dovecot: imap(micha): Error: Maildir filename has wrong W value:

Re: [Dovecot] dovecot-lda setting quota rules

2012-07-31 Thread Timo Sirainen
On 18.7.2012, at 4.33, Lazy wrote: I wan't it to stay that way. The problem is that it dosn't update the quota rules in Maildir when quota is changed in userdb. I have the rules avaiable in qmail-lda's environment, but I need an idea on how to feed the quota rule string to quota plugin

Re: [Dovecot] doveadm director move behaviour

2012-07-31 Thread Timo Sirainen
On 12.7.2012, at 14.14, Angel L. Mateo wrote: So I have used doveadm director move user backend ip to move them to its hashed server. Although a doveadm director status user now shows me that this user is directed to the new server, doveadm who in the temporal server shows me that

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-07-31 Thread Timo Sirainen
On 1.8.2012, at 0.29, Robert Schetterer wrote: Cached message size smaller than expected and Maildir filename has wrong S value and Corrupted index cache file in dove 2.1.8 i can reproduce the problem with tb 14 with 2 nat machines connected to the same server the problem relates

Re: [Dovecot] BUG: LDAP extension failed to authenticate if 'base' DN configuration is empty ''

2012-07-31 Thread Timo Sirainen
On 1.8.2012, at 1.12, Hendy Irawan wrote: I apologize, my previous statement were wrong. At least on ApacheDS 1.5.7, it doesn't search entries using the '' base DN (it doesn't give error though, just cannot return results, ApacheDS requires the search base to be in a partition). However,

Re: [Dovecot] doveadm director move behaviour

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 7.32, Daniel Parthey wrote: Do you see any errors in logs? Especially: director: Error: connect(ipc) failed: Permission denied Looks very familiar to me. I'm having the same problem as Angel with director move that I have to kick the user logged into the proxy. Plus

Re: [Dovecot] Erroneous operation not permitted when deleting mailbox with mdbox

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 11.13, Nikolai Schupbach wrote: I'm seeing the following error in our logs when removing mailboxes (we are using mdbox and dovecot 2.1.8): Aug 1 20:03:36 msgsrv dovecot: imap(t...@test.com): Error: stat(/mailstore/domains/test.com/test/mdbox/mailboxes/Spam) failed:

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 14.21, Frank Bonnet wrote: Aug 01 13:06:09 imap(bonnetf): Error: opendir(/user/bonnetf/.imap) failed: No such file or directory I don't see any obvious way for this to happen. Can you reproduce it by running imap process directly and talking imap protocol? Something like this

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Timo Sirainen
See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Timo Sirainen
On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox if not, check what IMAP commands your IMAP client sends when it fails. http://wiki2.dovecot.org/Debugging/Rawlog I

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e Freunde/cur/1321795242.M359794P29783.mail02,S=2647728:2,S: Wrong S=2647728 value

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 15.10, Frank Bonnet wrote: On 08/01/2012 02:07 PM, Timo Sirainen wrote: On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox if not, check what IMAP commands your

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 9.09, Matthias Rieber wrote: I've upgraded from dovecot 2.0 to 2.1. When I perform a header search in a virtual folder dovecot crashes. Here's the stacktrace: http://pastebin.com/urSDDzku Looks like fts-squat isn't currently compatible with virtual folders. I'd suggest

[Dovecot] v2.1.9 released

2012-08-01 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.9.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.9.tar.gz.sig I've again mostly finished reading and answering most of the mails in Dovecot mailing list. There are a couple annoyingly difficult / time consuming bugreport mails that I haven't replied

Re: [Dovecot] doveadm director move behaviour

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 21.09, Daniel Parthey wrote: I added a note about it to http://wiki2.dovecot.org/Director#Other_settings doveadm director move needs to be able to connect to the ipc socket. Make sure the director process can do it. service ipc { unix_listener ipc { user = dovecot

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 21.13, Matthias Rieber wrote: Is lucence the better choice? According to the wiki Solr seems to be the most preferred solution. Solr and Lucene both work. Solr has a newer Lucene version, but it requires running a Solr server.

Re: [Dovecot] v2.1.9 released

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 21.12, ml wrote: the recurring problems of these minor errors that often appear timesmap. I almost successful make them disappear with an ultra clean install. they appearing more generally for L INBOX Trash Sorry, but that doesn't make any sense. What errors?

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 22.21, Matthias Rieber wrote: here are the crashes with fts_solr: .. Crash 1 Aug 1 21:05:40 smtp dovecot: imap(matthias): Error: fts_solr: Lookup failed: 413 FULL head The crash happens because the Solr lookup failed. I don't know what this Solr error means. Anyway, the

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 22.32, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied The change in 2.1.8 didn't fix it

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 22.56, Timo Sirainen wrote: On 1.8.2012, at 22.32, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 23.06, Matthias Rieber wrote: here are the crashes with fts_solr: .. Crash 1 Aug 1 21:05:40 smtp dovecot: imap(matthias): Error: fts_solr: Lookup failed: 413 FULL head The crash happens because the Solr lookup failed. I don't know what this Solr error means. Anyway,

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 23.25, Daniel Parthey wrote: The error is still the same config permission denied shown above? I found that also from my server and added a debug patch, but it hasn't crashed yet. Could you try the attached patch and getting a gdb backtrace from the resulting core file? (Or

Re: [Dovecot] Problem with preserving MIME format with Dovecot IMAP and MS Outlook client

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 23.53, Peter Grimmond wrote: have installed Dovecot 2.0.19 on Ubuntu 12.04 LTS. I have set up a very basic IMAP configuration. I have two different laptops running MS Outlook (one MacOS, one Windows 7) and I have configured both to connect to the Dovecot service. My

Re: [Dovecot] LZMA2 (xz) support for Dovecot?

2012-08-02 Thread Timo Sirainen
On 2.8.2012, at 10.58, Brad Smith wrote: Thoughts on adding LZMA2 (xz) support via liblzma to Dovecot? If someone sends a patch I'll add it. Apparently its API should be similar to zlib so probably it's just a matter of renaming some functions and such.

Re: [Dovecot] dovecot-lda setting quota rules

2012-08-02 Thread Timo Sirainen
On 3.8.2012, at 2.13, Lazy wrote: dovecot-lda -o plugin/quota_rule=*:storage=1G thank You ! This is simple and elegant. Sill I need this to be taken from environment, I produced a simple patch adding one '-o' from an environment variable. You can also set environment:

Re: [Dovecot] ACL with MySQL dict = full table scans (was: v2.1.9 released)

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 11.42, Roland Rosenfeld wrote: On Wed, 01 Aug 2012, Timo Sirainen wrote: I've again mostly finished reading and answering most of the mails in Dovecot mailing list. There are a couple annoyingly difficult / time consuming bugreport mails that I haven't replied to yet

Re: [Dovecot] getting rid of old spam from +spam Maildir ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 16.47, Voytek Eymont wrote: Find out what Dovecot thinks the save dates are: doveadm fetch -u user@domain date.saved mailbox spam Timo, thanks I see... date.saved: 2012-08-03 22:44:09 date.saved: 2012-08-03 22:44:09 date.saved: 2012-08-03 22:44:09 date.saved:

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected / with 2.1.9 patch ?

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 10.09, Robert Schetterer wrote: Hi Timo, most of the Problems are fixed now many thx for your script , but how to avoid that in future ( Maildir filename has wrong S value ) You'd need to find out why it started happening in the first place. What software wrote those

Re: [Dovecot] Overriding inbox= in userdb extra fields

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 19.10, Bret Martin wrote: I'm trying to set up an alternate user with a different inbox using passwd-file and userdb extra fields and the extra field settings don't seem to be taking effect. I've used auth_debug and mail_debug and I'm unclear how I can further troubleshoot

Re: [Dovecot] Mail deletion and Solr index update

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 9.49, Matthias Rieber wrote: I've deleted 1s emails and it seems that every mail is removed with a single request from Solrs index. This works, but it's quite slow. Is it possible/plans to improve that? Could you try if the attached patch works? It compiles, but didn't

Re: [Dovecot] ot: mysql auth worker failure ?

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 17.08, Voytek Eymont wrote: states clearly that a table is missing what about connect directly to mysqld and look if the table exists and review your import dump-files if they did drop tables? auth-worker(28335): Error: mysql: Query failed, retrying: Table 'postfix.users'

Re: [Dovecot] virtual folder - crash while searching

2012-08-03 Thread Timo Sirainen
On 1.8.2012, at 23.23, Matthias Rieber wrote: alright. Some resources say that 413 FULL head means request too large. Maybe that's caused by the pretty big folder virtual.all which contains more than 36 mails. Probably it means that the virtual folder consists of too many real folders.

Re: [Dovecot] dsync and pop3 migration plugin fails for large inbox due to idle timeout

2012-08-03 Thread Timo Sirainen
On 3.8.2012, at 10.04, Nikolai Schupbach wrote: There is a problem with the dsync POP3 migration plugin when syncing a large INBOX. What happens is dsync establishes a connection to the POP3 server at the beginning of the sync, but then it sits there idle until it's used to sync the UIDLs.

Re: [Dovecot] pop3 proxying error

2012-08-07 Thread Timo Sirainen
On 7.8.2012, at 15.54, to...@starbridge.org wrote: #0 settings_parser_dup (old_ctx=0xa26920, new_pool=0x6d6f632e32) at settings-parser.c:1742 new_ctx = optimized out iter = optimized out new_link = optimized out links = optimized out key = optimized out

Re: [Dovecot] pop3 proxying error

2012-08-07 Thread Timo Sirainen
On 7.8.2012, at 18.16, to...@starbridge.org wrote: I will give it a try ASAP, but is it a bad thing to run dovecot with many local {} ? Not a bad thing, but it uses up somewhat more memory.

Re: [Dovecot] Mail deletion and Solr index update

2012-08-07 Thread Timo Sirainen
On Sat, 2012-08-04 at 09:11 +0200, Matthias Rieber wrote: I've deleted 1s emails and it seems that every mail is removed with a single request from Solrs index. This works, but it's quite slow. Is it possible/plans to improve that? Could you try if the attached patch works? It

Re: [Dovecot] Running spamc during LMTP delivery

2012-08-08 Thread Timo Sirainen
On 8.8.2012, at 12.08, martin f krafft wrote: Do you have an idea how I could let dovecot-lmtp invoke spamc? Or an external command as a filter, to be run by the final user? Use spampd LMTP proxy?

Re: [Dovecot] error message. Some help please

2012-08-08 Thread Timo Sirainen
On 7.8.2012, at 12.40, Spyros Tsiolis wrote: Jul 06 13:51:20 dovecot: Warning: All login processes are in use. You may need to increase login_max_processes_count Jul 18 15:20:32 dovecot: Warning: All login processes are in use. You may need to increase login_max_processes_count Jul 19

Re: [Dovecot] replication chain

2012-08-08 Thread Timo Sirainen
On 7.8.2012, at 15.04, Костырев Александр Алексеевич wrote: good day! I wonder if it is possible to make a chain of replication in dovecot 2.1.9. Now I'm using two way replication(I use proxy to redirect users) and it's working just fine but is it possible to setup replication like this:

Re: [Dovecot] Dovecot with Company - level Quota

2012-08-08 Thread Timo Sirainen
On 7.8.2012, at 18.17, Kavish Karkera wrote: We are using maildir as quota-backend , and performing user level quota, which is working fine. (using dovecot 2.x ). Now the requirement is to , restrict the quota to client / company level along with user level quota.

Re: [Dovecot] doveadm import is always verbose

2012-08-08 Thread Timo Sirainen
On 8.8.2012, at 9.55, Jürgen Obermann wrote: doveadm(guser): Info: copy from mymail: box=restore_2012-05-08/mymail, uid=5, msgid=##, size=6999462 I had expected to see these info messages only if I add the verbose option to doveadm. And using the option -v with: doveadm -v import -u

Re: [Dovecot] pop3 proxying error

2012-08-08 Thread Timo Sirainen
On 8.8.2012, at 9.42, to...@starbridge.org wrote: I've just tried this patch, so far pop-login error doesnt shows up , but now I've got this one: (imap-login this time) Aug 8 08:19:36 eol1 dovecot: imap-login: Fatal: master: service(imap-login): child 31887 killed with signal 6 (core

Re: [Dovecot] dsync and pop3 migration plugin fails for large inbox due to idle timeout

2012-08-08 Thread Timo Sirainen
On 8.8.2012, at 18.28, Nikolai Schupbach wrote: Hi Timo, Thanks for your fix! Just want to confirm that the re-order of connections has fixed the issue. We still have occasional issues with the POP3 server (locking issues and busy timeouts etc). Because dsync reports sync ok, we have

Re: [Dovecot] pop3 proxying error

2012-08-09 Thread Timo Sirainen
On 9.8.2012, at 10.15, to...@starbridge.org wrote: Could you run imap-login via valgrind (it slows things down): service imap-login { executable = /usr/bin/valgrind -q --vgdb=no /usr/local/libexec/dovecot/imap-login } (you may not have/need --vgdb=no, depends on your valgrind

Re: [Dovecot] some mdbox mails get lost each day

2012-08-09 Thread Timo Sirainen
On 9.8.2012, at 11.14, Christian Rößner wrote: I have a strange problem here. I had installed Dovecot-2.1.6 on a customers setup. They have 102 mail accounts on the server. The started using this dovecot version on the 20th June. One mailbox suddenly started expunging mails. Not from the

Re: [Dovecot] some mdbox mails get lost each day

2012-08-09 Thread Timo Sirainen
On 9.8.2012, at 11.24, Christian Rößner wrote: I had enabled mail_log and search for any kind of errors. None. Only expunge messages from a imap process. Which I thought was Outlook. But isn't. So there is an imap expunge entry for all of the mails that get lost? You should be able to match

Re: [Dovecot] pop3 proxying error

2012-08-09 Thread Timo Sirainen
On 9.8.2012, at 10.27, Timo Sirainen wrote: Aug 9 09:01:36 smtp dovecot: imap-login: Error: ==27313== Invalid read of size 4 Aug 9 09:01:37 smtp dovecot: imap-login: Error: ==27313==at 0x5069BA1: settings_parser_get_list (settings-parser.c:254) Aug 9 09:01:37 smtp dovecot: imap

Re: [Dovecot] some mdbox mails get lost each day

2012-08-09 Thread Timo Sirainen
On 9.8.2012, at 16.10, Christian Rößner wrote: doveadm import mdbox:~/mdbox-backup all-mails all problem I tried so, but this does not work here: I thought I'd make things easier by skipping the index rebuild, because I thought doveadm import does it automatically, but I guess it doesn't

Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-09 Thread Timo Sirainen
Related question that came to my mind: Does anyone know if XAPPLEPUSHSERVICE feature can be implemented by any server, or does it require cooperation between the server and the mobile network operator? I'm guessing the latter..

Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Timo Sirainen
On 10.8.2012, at 9.31, Robin wrote: On 8/9/2012 11:26 PM, Luigi Rosa wrote: I used K-9 client on Android for one year with push, but I had to remove it and go back to integrated email client because it drained the battery. It sounds like push was really implemented as a poll. Dovecot has

Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-10 Thread Timo Sirainen
On 10.8.2012, at 12.21, Sergey S. Kovalev wrote: I think that battery life is the reason, why this feature is not implemented in iPhone. It will use only one IMAP connection so it is not it's IMAP limitation As I told - IMAP limitation is to control only one folder. Assuming NOTIFY extension

Re: [Dovecot] lmtp: Error: mmap failed with file ... dovecot.index.cache: Cannot allocate memory

2012-08-10 Thread Timo Sirainen
On 10.8.2012, at 20.05, David Jonas wrote: I have a mailbox with an ungodly number of small messages in it. When new messages are delivered lmtp kicks up an error like the one below. I tried raising the vsz_limit for lmtp but that didn't see to help. That should help. # ls -lah

[Dovecot] v2.2 status update: IMAP NOTIFY extension and more

2012-08-13 Thread Timo Sirainen
v2.2 hg now has support for NOTIFY extension. The only thing missing is support for SubscriptionChange events. Now would be a good time for IMAP clients to start implementing and testing it. :) I remember K9 developers at least said they were just waiting for Dovecot to support it first. v2.2

Re: [Dovecot] about postlogin in dovecot2

2012-08-14 Thread Timo Sirainen
On 14.8.2012, at 9.11, bmalik wrote: how can i restrict a particular email address by tcp port ? I want a particular mail address to be forced to use pop3s/imaps. I use vpopmail / dovecot2. How can i do a script for that ? userdb { driver =

Re: [Dovecot] IMAP IDLE - iPhone?

2012-08-14 Thread Timo Sirainen
On 14.8.2012, at 11.04, Ed W wrote: - Then there is tcp keepalive. Does Dovecot enable these? (Sorry, I should look in the code...). Yes. However, applications which enable it (eg optional in SSH) will trigger a default (I think) 75 second network packet It's something like 2 hours by

Re: [Dovecot] dsync backup gets stuck... fails

2012-08-15 Thread Timo Sirainen
On 15.8.2012, at 5.41, Jeff Gustafson wrote: I have an issue related to this problem. dsync returns an error 75 when it detects the source mailbox is empty (client probably pop3'd all of their email). It also returns an error 75 when I get the timeout error. You mean this?

Re: [Dovecot] Thread sorting problem

2012-08-15 Thread Timo Sirainen
On 15.8.2012, at 9.51, CpServiceSPb wrote: How much may implementing of THREAD=ORDEREDSUBJECT to Dovecot 2.1.x or later cost ? What do you need it for? There is THREAD=REFERENCES that is superior to it in most situations.

Re: [Dovecot] Thread sorting problem

2012-08-15 Thread Timo Sirainen
On 15.8.2012, at 12.30, Timo Sirainen wrote: On 15.8.2012, at 9.51, CpServiceSPb wrote: How much may implementing of THREAD=ORDEREDSUBJECT to Dovecot 2.1.x or later cost ? What do you need it for? There is THREAD=REFERENCES that is superior to it in most situations. Well, anyway, here

Re: [Dovecot] bcrypt again

2012-08-15 Thread Timo Sirainen
On 15.8.2012, at 13.14, Sven Schwyn wrote: I'd like Dovecot to consume a list of users exported from an external application which stores bcrypted passwords. This has been asked in the past, however, I'm not sure how to read the following reply: If you are using Dovecot 2.0 you can

Re: [Dovecot] v2.2 status update: IMAP NOTIFY extension and more

2012-08-16 Thread Timo Sirainen
On 16.8.2012, at 10.02, Cor Bosman wrote: I'm also considering implementing an SMTP submission server, which works only as a proxy to the real SMTP server. The benefits of it would mainly be: What would be really cool is if you also kept statistics on certain metrics, like how many emails

Re: [Dovecot] some mdbox mails get lost each day

2012-08-16 Thread Timo Sirainen
On 16.8.2012, at 11.15, Christian Rößner wrote: doveadm import mdbox:~/mdbox-backup all-mails all problem I tried so, but this does not work here: I thought I'd make things easier by skipping the index rebuild, because I thought doveadm import does it automatically, but I guess it

Re: [Dovecot] Postfix Dovecot: Client certificate authentication

2012-08-16 Thread Timo Sirainen
On 16.8.2012, at 11.41, JARRY Jérémy wrote: I would like to set up an authentication using certificate with Dovecot: A user sends mail to Postfix and Dovecot authentication is valid only if certificate is trusted. So, I enable the parameter auth_ssl_require_client_cert in dovecot

Re: [Dovecot] some mdbox mails get lost each day

2012-08-16 Thread Timo Sirainen
On 16.8.2012, at 14.13, Christian Rößner wrote: 1) Can you read mails from the resynced mdbox? For example: doveadm -o mail=mdbox:/anothermdbox fetch uid all doveadm -o mail=mdbox:/srv/mail/foo@example.com-backup fetch uid all | grep uid | wc -l 949 There seem to be mails. At

Re: [Dovecot] dsync backup gets stuck... fails

2012-08-17 Thread Timo Sirainen
On 15.8.2012, at 22.23, Jeff Gustafson wrote: dsync-local(tss): Fatal: dsync backup: Looks like you're trying to run backup in wrong direction. Source is empty and destination is not. That's the one! Maybe it needs a force setting, or change the detection somehow.. That

Re: [Dovecot] Expire-tool does not delete duplicate messages (dovecot-1.2.17)

2012-08-17 Thread Timo Sirainen
On 17.8.2012, at 14.24, Oleksii Krykun wrote: Trying to implement expire plugin. expire-tool works fine. This delete expunged messages but not all of them. I have duplicate messages in appropriate folder. These messages are from expanding postfix aliases (e.g. postmaster@, hostmaster@, abuse@

[Dovecot] Search extensions

2012-08-18 Thread Timo Sirainen
I'm thinking about adding at least one new SEARCH command extension to Dovecot: ability to search from any headers in the mail, including MIME headers in the body. So the idea is that you could somewhat quickly ask e.g. show me all mails with pdf attachments: a search or x-anyheader

Re: [Dovecot] Search extensions

2012-08-19 Thread Timo Sirainen
On 19.8.2012, at 9.47, Sean Kamath wrote: I'm thinking about adding at least one new SEARCH command extension to Dovecot: ability to search from any headers in the mail, including MIME headers in the body. So the idea is that you could somewhat quickly ask e.g. show me all mails with pdf

Re: [Dovecot] Dsync and SIS

2012-08-19 Thread Timo Sirainen
On 8.8.2012, at 21.19, Alex Crow wrote: Just to clarify, if we back up a dovecot 2 server with SIS for attachments and ALT storage by rsyncing it (including the SIS and ALT storage) to a remote server when it's idle (or at least almost entirely so), and run dovecot on that machine, would

Re: [Dovecot] dsync \noselect on INBOX.INBOX skips sync of INBOX

2012-08-19 Thread Timo Sirainen
On 9.8.2012, at 11.20, Nikolai Schupbach wrote: We have encountered an issue today with a number of migrations. Some customers have mailboxes on the source IMAP server that look like this: 3 LIST * * LIST () . INBOX * LIST () . INBOX.Statements * LIST () . INBOX.Draft * LIST () .

Re: [Dovecot] Full text search in attachments

2012-08-19 Thread Timo Sirainen
On 11.8.2012, at 5.28, Mailing wrote: is it possible to use the Solr full text search plugin for indexing mail attachments? I found a very old patch and some hints regarding a fts_decoder script that I don't understand. Making Solr indexing PDF or Office files shouldn't be that difficult,

Re: [Dovecot] imap-login process_limit (100) reached, client connections are being dropped

2012-08-19 Thread Timo Sirainen
On 13.8.2012, at 14.12, Voytek Eymont wrote: noticed this in the log today, after about 11 warning IMAP appears to have not worked, 'service dovecot reload' got it going again question: what to check/alter ? http://wiki2.dovecot.org/LoginProcess Easiest/safest is to just increase

Re: [Dovecot] Permission denied on dovecot.lda-dupes

2012-08-19 Thread Timo Sirainen
On 13.8.2012, at 18.18, ppridt wrote: Hi, I have converted my Imap Server from Courier to Dovecot in order to use sieve support. Everything works fine with the exception that the sender always gets the vacation msg since there is a permission error on writing of dovecot.lda-dupes. .. Aug 13

Re: [Dovecot] Mdbox corruption

2012-08-19 Thread Timo Sirainen
On 15.8.2012, at 23.01, 3.lis...@adminlinux.com.br wrote: I have a ubuntu10.04 + ext4-filesystem + dovecot-2.0.13 +mdbox configuration in my server. It works fine with ~50k accounts. Recently happened a filesystem corruption in a device of StMailLocation and I fix with fsck.ext4. After

Re: [Dovecot] namespace from snapshots

2012-08-19 Thread Timo Sirainen
On 16.8.2012, at 14.58, Lazy wrote: 2012/5/19 Timo Sirainen t...@iki.fi: On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) failed: Read-only file system Does the attached

Re: [Dovecot] dovecot 2.1 Master account Error

2012-08-19 Thread Timo Sirainen
On 16.8.2012, at 16.27, tmihalicek wrote: I am running parallel dovecot 1.2 for main accounts and 2.1 for test accounts, and for some reason when i try to login with master user on dovecot 2.1 service errors. http://wiki2.dovecot.org/Authentication/MasterUsers#ACLs

Re: [Dovecot] case insensitive acl

2012-08-19 Thread Timo Sirainen
On 19.8.2012, at 19.03, Andre Rodier wrote: I have notice that when I use ACL, the name of the user in the dovec-acl-list file is case sensitive. Because I use LDAP, the name of the users is case insensitive. Translate the username to lowercase. It's the default nowadays:

Re: [Dovecot] Full text search in attachments

2012-08-19 Thread Timo Sirainen
On 19.8.2012, at 21.57, Mailing wrote: Am 19.08.2012 17:26, schrieb Timo Sirainen: On 11.8.2012, at 5.28, Mailing wrote: I updated the wiki with: * See the decode2text.sh script included in Dovecot for how to use this. I want to send the complete attachments (unparsed) to solr server

Re: [Dovecot] Deleting metadata smashes file dovecot.dict

2012-08-20 Thread Timo Sirainen
On 20.8.2012, at 16.35, Andre Gröbe wrote: it seems to me, that it depends on how dovecot handles line reading. Dovecot presumes that a line is of max length of IO_BLOCK_SIZE (=8192) Bytes. Is there a fix so dovecot reads a line until EOL or EOF (if this is the real reason)? Without

Re: [Dovecot] Variables in LDAP userdb

2012-08-20 Thread Timo Sirainen
On 20.8.2012, at 18.21, Alex Crow wrote: Is it OK to have dovecot variables in entries in an LDAP userdb? Say I wanted to set the mail userdb parameter to override mail_location, would it work by having an entry in LDAP (eg for mailMessageStore attrib) like:

Re: [Dovecot] Deleting metadata smashes file dovecot.dict

2012-08-21 Thread Timo Sirainen
On 21.8.2012, at 13.10, Andre Gröbe wrote: [t...@iki.fi; Mo 20 Aug 2012 20:22:58 CEST] Is there a fix so dovecot reads a line until EOL or EOF (if this is the real reason)? Without having actually looked at the code, I'd guess you can just replace IO_BLOCK_SIZE with (size_t)-1.

Re: [Dovecot] [PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting

2012-08-22 Thread Timo Sirainen
On Mon, 2012-08-13 at 17:12 +0100, Chris Webb wrote: Sharing an installed copy of dovecot between several users each running a daemon within their own account (or using the same binaries for a system daemon and a user daemon) is difficult because the compile-time directory PKG_STATEDIR

<    6   7   8   9   10   11   12   13   14   15   >