[Dovecot] Update problem from 1.2 = 2.0.19 and recommended imap storage

2012-03-16 Thread Gerhard Wiesinger
Hello, After fixing configuration and other issues I'm still having one problem with imap executable and pine: less .pinerc # Changed config: #rsh-command=/usr/sbin/dovecot --exec-mail imap rsh-command=/usr/local/bin/imap Calling imap still fails as non root: imap /usr/bin/ld: cannot open

Re: [Dovecot] Update problem from 1.2 = 2.0.19 and recommended imap storage

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 8.02, Gerhard Wiesinger wrote: After fixing configuration and other issues I'm still having one problem with imap executable and pine: less .pinerc # Changed config: #rsh-command=/usr/sbin/dovecot --exec-mail imap rsh-command=/usr/local/bin/imap That's correct. Calling

Re: [Dovecot] replication howto

2012-03-16 Thread Matteo Cazzador
Hi, thank's everybody, today afternoon i apply the suggest and i test solution. I post the actual configuration that i will test: vmail users is present too, i create ssh-keygen for users vmail and relative home directory and permit ssh with no password with user vmail on two servers. Then i

Re: [Dovecot] bug uni_utf8_str_is_valid(vname)

2012-03-16 Thread Jernej Porenta
On Mar 14, 2012, at 3:29 PM, Timo Sirainen wrote: On Tue, 2012-03-06 at 14:28 +0100, Jernej Porenta wrote: Heya, We are expiriencing issues with dovecot 2.1.1 on Linux with weird filenames in home directory of username. We are using mbox IMAP folders, with no special changes

[Dovecot] Upgrading from 2.0.x to 2.1.x

2012-03-16 Thread Nikolaos Milas
Hi, A quick question: Are there any incompatibilities in config settings among versions 2.0.x and 2.1.x (and subsequently v2.2.x)? That is, upgrading Dovecot 2.0.x to 2.1.x software, will also require changes of any config settings (as upgrading from v1.x to 2.0.x did)? Thanks, Nick

Re: [Dovecot] Upgrading from 2.0.x to 2.1.x

2012-03-16 Thread Morten Stevens
On 16.03.2012 10:26, Nikolaos Milas wrote: Hi, A quick question: Are there any incompatibilities in config settings among versions 2.0.x and 2.1.x (and subsequently v2.2.x)? That is, upgrading Dovecot 2.0.x to 2.1.x software, will also require changes of any config settings (as upgrading from

[Dovecot] imaptest: performance testing

2012-03-16 Thread Nick Urbanik
Dear Folks, Using head of imaptest with dovecot 2.1, I am attempting to put a heavy load on the server, with insufficient success. I made 15000 user accounts, put them in to a file, one per line. Then I ran imaptest with ./imaptest userfile=../../imap-test-userlist-15001.txt clients=15001

[Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Odhiambo Washington
I have a situation where I need to migrate e-mails from Outlook 2011 (Mac) to Apple Mail. Having looked at all options, I have resorted to the, perhaps, most difficult way: Create folders on the IMAP server, copy e-mails into them from Outlook, connect Apple Mail and do the reverse. However, I

[Dovecot] POP3 Performance

2012-03-16 Thread Mauricio López Riffo
Hi, We actually have a mail hosting solutions with aprox. 100 thousand of email account, where about 90% of a customers use POP3 like email configuration. About a few mounths (we perfomed a lot of migration throught mbox email software to Maildir with dovecot) but i can see that the

Re: [Dovecot] Lack of external documentation?

2012-03-16 Thread Charles Marcus
On 2012-03-15 3:27 PM, Terry Carmen te...@cnysupport.com wrote: On 2012-03-15 3:06 PM, Steve Campbell campb...@cnpapers.com wrote: Does anyone know of any manuals/books that have been written that might introduce me to most of the stuff in dovecot? I'll be the first to admit that complex and

Re: [Dovecot] POP3 Performance

2012-03-16 Thread Robert Schetterer
Am 16.03.2012 12:07, schrieb Mauricio López Riffo: Hi, We actually have a mail hosting solutions with aprox. 100 thousand of email account, where about 90% of a customers use POP3 like email configuration. About a few mounths (we perfomed a lot of migration throught mbox email software

Re: [Dovecot] replication howto

2012-03-16 Thread Matteo Cazzador
Hi, with this changes first step is passed: I decomment this #dsync_remote_cmd = ssh -p 22 -l%{login} %{host} doveadm dsync-server -u%u -l%{lock_timeout} -n%{namespace} i active and add absolute path of doveadm dsync_remote_cmd = ssh -p 22 -l%{login} %{host} /usr/local/bin/doveadm dsync-server

Re: [Dovecot] POP3 Performance

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 13.07, Mauricio López Riffo wrote: We actually have a mail hosting solutions with aprox. 100 thousand of email account, where about 90% of a customers use POP3 like email configuration. About a few mounths (we perfomed a lot of migration throught mbox email software to

Re: [Dovecot] replication howto

2012-03-16 Thread Matteo Cazzador
Hi, Solved! i add at my sql SELECT maildir, 1000 AS uid, 1000 AS gid, '/home/domini-posta/netlite.locale/matteo' as mail, '/home/domini-posta/netlite.locale/matteo' as home FROM mailbox WHERE username = 'matteo@netlite.locale' Now i've see first replication going!!! thank's everybody I hope

Re: [Dovecot] bug uni_utf8_str_is_valid(vname)

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 11.09, Jernej Porenta wrote: Mar 6 13:37:17 machine dovecot: imap(username): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) .. We tried version 2.1.2, which unfortunately does not fix the issue with weird characters.

Re: [Dovecot] imaptest: performance testing

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 12.08, Nick Urbanik wrote: Using head of imaptest with dovecot 2.1, I am attempting to put a heavy load on the server, with insufficient success. I made 15000 user accounts, put them in to a file, one per line. Then I ran imaptest with ./imaptest

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Timo Sirainen
On Fri, 2012-03-16 at 13:51 +0300, Odhiambo Washington wrote: I have a situation where I need to migrate e-mails from Outlook 2011 (Mac) to Apple Mail. Having looked at all options, I have resorted to the, perhaps, most difficult way: Create folders on the IMAP server, copy e-mails into them

[Dovecot] ldapi support

2012-03-16 Thread Nikolaos Milas
Hi, Quick question: Does Dovecot support ldapi (i.e. via Unix Sockets) connections for LDAP lookups (user, password, auth etc.) or only ldap/ldaps (over TCP)? If yes, how do we specify ldapi://localhost in Dovecot configuration files? Thanks, Nick

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Odhiambo Washington
On Fri, Mar 16, 2012 at 16:24, Timo Sirainen t...@iki.fi wrote: On Fri, 2012-03-16 at 13:51 +0300, Odhiambo Washington wrote: I have a situation where I need to migrate e-mails from Outlook 2011 (Mac) to Apple Mail. Having looked at all options, I have resorted to the, perhaps, most

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Odhiambo Washington
On Fri, Mar 16, 2012 at 16:24, Timo Sirainen t...@iki.fi wrote: On Fri, 2012-03-16 at 13:51 +0300, Odhiambo Washington wrote: I have a situation where I need to migrate e-mails from Outlook 2011 (Mac) to Apple Mail. Having looked at all options, I have resorted to the, perhaps, most

Re: [Dovecot] imaptest: performance testing

2012-03-16 Thread Charles Marcus
On 2012-03-16 9:17 AM, Timo Sirainen t...@iki.fi wrote: imaptest is mainly meant to test server correctness (i.e. for me to test that Dovecot is bugfree). It spends a lot of time checking and tracking things that is irrelevant when you simply want to load the server. You could add no_tracking

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Giles Coochey
On 16/03/2012 14:00, Odhiambo Washington wrote: On Fri, Mar 16, 2012 at 16:24, Timo Sirainent...@iki.fi wrote: On Fri, 2012-03-16 at 13:51 +0300, Odhiambo Washington wrote: I have a situation where I need to migrate e-mails from Outlook 2011 (Mac) Personally I would just use readpst to

Re: [Dovecot] dovecot and systemd

2012-03-16 Thread Michal Hlavinka
On 03/15/2012 03:05 PM, Timo Sirainen wrote: On Thu, 2012-03-15 at 14:34 +0100, Michal Hlavinka wrote: What exactly should happen when dovecot.conf does not match dovecot.socket configuration? Dovecot's systemd code was written by one of you Redhat guys. I had some similar thoughts when I

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Odhiambo Washington
On Fri, Mar 16, 2012 at 17:11, Giles Coochey gi...@coochey.net wrote: On 16/03/2012 14:00, Odhiambo Washington wrote: On Fri, Mar 16, 2012 at 16:24, Timo Sirainent...@iki.fi wrote: On Fri, 2012-03-16 at 13:51 +0300, Odhiambo Washington wrote: I have a situation where I need to migrate

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Timo Sirainen
On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual/kictanet.or.ke/wash/mdbox/storage/m.4(around offset=894): msg header has bad magic value Ok. I have been able to

Re: [Dovecot] ldapi support

2012-03-16 Thread Timo Sirainen
On Fri, 2012-03-16 at 15:39 +0200, Nikolaos Milas wrote: Hi, Quick question: Does Dovecot support ldapi (i.e. via Unix Sockets) connections for LDAP lookups (user, password, auth etc.) or only ldap/ldaps (over TCP)? If yes, how do we specify ldapi://localhost in Dovecot configuration

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Ed W
On 14/03/2012 10:58, Charles Marcus wrote: On 2012-03-13 6:29 PM, Terry Carmen te...@cnysupport.com wrote: I'm going to hope everything is OK for a while, since my goal is to retire all the old Exchange servers and move all the users to dovecot/maildir within the next couple of months.

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Timo Sirainen
On Fri, 2012-03-16 at 15:22 +, Ed W wrote: I also learned something very interesting yesterday concerning SOGo and dovecot during a sales call with a SOGo rep, but I'll wait and see if Timo cares to chime in on this one... ;) If the answer is that he will write a Z-Push/Activesync

Re: [Dovecot] Just in time AV scanning

2012-03-16 Thread Ed W
On 15/03/2012 10:33, Timo Sirainen wrote: On Wed, 2012-03-14 at 16:51 -0700, Kelsey Cummings wrote: I'm curious if anyone has any plugins for AV integration directly into dovecot. Our old pop servers have been scanning messges as they're moved from new-cur in the inbox and, at least where

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Charles Marcus
On 2012-03-16 11:22 AM, Ed W li...@wildgooses.com wrote: If the answer is that he will write a Z-Push/Activesync module for SOGo then I'm all ears! I have been watching SOGo for some time and the main thing I would miss is that every phone I have ever owned has largely limited/broken Funambol

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Odhiambo Washington
On Fri, Mar 16, 2012 at 18:05, Timo Sirainen t...@iki.fi wrote: On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual/

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 17.57, Odhiambo Washington wrote: imaptest host=localhost user=testuser pass=testpass Maybe I should set up a FreeBSD VM to try this myself. Or if anyone else can report that they can reproduce this problem that would be helpful.. Must I edit src/settings.h to reflect my

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread e-frog
On 16.03.2012 16:05, wrote Timo Sirainen: On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual/kictanet.or.ke/wash/mdbox/storage/m.4(around offset=894): msg header has bad magic

Re: [Dovecot] [Solved] Another hint from the clue box 8-) imapc/imap proxy user mailbox server location

2012-03-16 Thread Ed W
On 16/03/2012 15:45, Charles Marcus wrote: On 2012-03-16 11:22 AM, Ed W li...@wildgooses.com wrote: If the answer is that he will write a Z-Push/Activesync module for SOGo then I'm all ears! I have been watching SOGo for some time and the main thing I would miss is that every phone I have ever

[Dovecot] v2.1.3 released

2012-03-16 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.3.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.3.tar.gz.sig Do not use v2.1.2 with multi-dbox format, it's broken. I didn't notice that a small optimization I did a few days ago broke mdbox in some situations (when mdbox first created a new m.X

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 18.16, e-frog wrote: On 16.03.2012 16:05, wrote Timo Sirainen: On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual/kictanet.or.ke/wash/mdbox/storage/m.4(around

Re: [Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

2012-03-16 Thread e-frog
On 16.03.2012 18:00, wrote Timo Sirainen: On 16.3.2012, at 18.16, e-frog wrote: On 16.03.2012 16:05, wrote Timo Sirainen: On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote: Mar 16 13:33:23 jaribu dovecot: imap(w...@kictanet.or.ke): Error: Corrupted dbox file

Re: [Dovecot] POP3 Performance

2012-03-16 Thread Kelsey Cummings
On 03/16/12 06:07, Timo Sirainen wrote: Maildir isn't very good for POP3, especially if the POP3 clients delete the mails after download. With Dovecot you could look into switching to multi-dbox format, which would have much better performance. Timo, can you explain why Maildir isn't a good

Re: [Dovecot] Just in time AV scanning

2012-03-16 Thread Kelsey Cummings
On 03/16/12 08:30, Ed W wrote: 2) Extremely racey, but if you were on maildir you could use some kind of pre-login scripting to kick off a scan on login. Touch some lock file so that you can tell when last scanned and only scan if the definitions have been updated since you last scanned? I

Re: [Dovecot] POP3 Performance

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 19.49, Kelsey Cummings wrote: On 03/16/12 06:07, Timo Sirainen wrote: Maildir isn't very good for POP3, especially if the POP3 clients delete the mails after download. With Dovecot you could look into switching to multi-dbox format, which would have much better performance.

Re: [Dovecot] Just in time AV scanning

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 19.52, Kelsey Cummings wrote: On 03/16/12 08:30, Ed W wrote: 2) Extremely racey, but if you were on maildir you could use some kind of pre-login scripting to kick off a scan on login. Touch some lock file so that you can tell when last scanned and only scan if the definitions

Re: [Dovecot] POP3 Performance

2012-03-16 Thread Kelsey Cummings
On 03/16/12 10:54, Timo Sirainen wrote: Another thing our existing POP3 servers did was batch all of the deletes until after the +OK... was returned from quit. This doesn't reduce server load but has the impression of creating faster response times to the clients. You mean deleting the

[Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection

2012-03-16 Thread Alex Ha
Hi Dovecot-list! My setup consists of a dovecot server with lmtp delivery and 3 postfix mta servers in front. Previously the mtas authenticated (SASL) through the courier-authdaemond software to our mysql database. To get support for more password formats i migrated to dovecot for SASL

Re: [Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection

2012-03-16 Thread Timo Sirainen
On 16.3.2012, at 22.00, Alex Ha wrote: dovecot: auth: Error: BUG: Authentication client gave a PID 7542 of existing connection Oh, right, PIDs of course aren't unique when you're using multiple servers. Try if the attached patch fixes your troubles. If it does, I'll commit it to hg.

Re: [Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection

2012-03-16 Thread Alex Ha
On Fri, Mar 16, 2012 at 9:14 PM, Timo Sirainen t...@iki.fi wrote: On 16.3.2012, at 22.00, Alex Ha wrote: dovecot: auth: Error: BUG: Authentication client gave a PID 7542 of existing connection Oh, right, PIDs of course aren't unique when you're using multiple servers. Try if the attached