[Dovecot] Some questions about Shared mailboxes

2010-08-26 Thread Mihajlin Evgenij
Hi, again. 1. Can somebody explain me about dovecot's shared mailboxes? 2. What does it do while searching shared mailboxes (debug_log cannot explain it)? What files is it looking for? 3. Need i set dovecot-shared file into directory which are shared (if i want to have separate flags for separa

Re: [Dovecot] nfs director

2010-08-26 Thread Noel Butler
Brandon, I just fail to see why adding more complexity, and essentially making $9K load balancers redundant, is the way of the future, Timo has said its very safe for index's if non dovecot programs write to the maildir, so why the hell is it deliberately left risky using dovecots deliver, I've see

Re: [Dovecot] nfs director

2010-08-26 Thread Brandon Davidson
Noel, On 8/26/10 9:59 PM, "Noel Butler" wrote: >> I fail to see advantage if anything it add in more point of failure, with > > i agree with this and it is why we dont use it > > we use dovecots deliver with postfix and have noticed no problems, not > to say there was none, but if so, we dont

Re: [Dovecot] nfs director

2010-08-26 Thread Noel Butler
On Fri, 2010-08-27 at 08:54 +1000, Edward avanti wrote: > Halo, > Please can you explain why this is advantage over a hardware load balancer. it is no advantage over a dedicated hardware solution, but director does not do the exact same thing. > I fail to see advantage if anything it add in mo

[Dovecot] dovecot - mac firewall problem

2010-08-26 Thread Patrick Fay
Hi, I am running dovecot 1.2.11 on mac osx 1.5.8. Everything works perfectly with the application-level firewall off, but enabling the application firewall prevents dovecot connections. I have tried explicitly authorizing dovecot in the firewall, but it does not work. I have searche

Re: [Dovecot] Can't get dovecot to see email folders

2010-08-26 Thread Blaster
Thanks for the tip. I saw the section on converting from uw-imap, but it's still not working. I still can not get to my mail folders, other than INBOX. I think the problem goes back to Dovecot can't determine the home directory? ug 26 22:08:36 gremlin dovecot: [ID 583609 mail.debug] imap(i

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Timo Sirainen
On 27.8.2010, at 2.52, Michael Orlitzky wrote: >>> Won't files hashed with the old function begin to dupe though? >> >> You mean new hash would become a duplicate of the old? Well .. >> >> 1) It's highly unlikely to happen, especially because with the new >> hash function there again shouldn't b

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Michael Orlitzky
On 08/26/2010 09:38 PM, Timo Sirainen wrote: On 27.8.2010, at 2.24, Michael Orlitzky wrote: Have a utility that updates all (or a subset) of them. That won't be necessary. Once the hash changes, the new files are created with new hash function and it doesn't matter if the old hash is broken b

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Timo Sirainen
On 27.8.2010, at 2.24, Michael Orlitzky wrote: >>> Have a utility that updates all (or a subset) of them. >> >> That won't be necessary. Once the hash changes, the new files are >> created with new hash function and it doesn't matter if the old hash >> is broken because you can't generate new fil

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Michael Orlitzky
On 08/26/2010 09:00 PM, Timo Sirainen wrote: On 27.8.2010, at 1.52, Michael Orlitzky wrote: On 08/26/2010 04:41 PM, Mike Abbott wrote: 1. What hash algorithm to use? 2. Should I add support for trusting hash uniqueness Use two hash functions and concatenate the hashes. While both hash sy

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Timo Sirainen
On 27.8.2010, at 1.52, Michael Orlitzky wrote: > On 08/26/2010 04:41 PM, Mike Abbott wrote: >>> 1. What hash algorithm to use? >> >>> 2. Should I add support for trusting hash uniqueness >> >> Use two hash functions and concatenate the hashes. While both hash >> systems may eventually be hacked

Re: [Dovecot] nfs director

2010-08-26 Thread Timo Sirainen
On 27.8.2010, at 1.47, Edward avanti wrote: >>> Please can you explain why this is advantage over a hardware load >> balancer. >> >> It guarantees that the same user is accessed via the same server. Hardware >> LB can at best assign the connections from the same IP to the same server >> (but not

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Michael Orlitzky
On 08/26/2010 04:41 PM, Mike Abbott wrote: 1. What hash algorithm to use? 2. Should I add support for trusting hash uniqueness Use two hash functions and concatenate the hashes. While both hash systems may eventually be hacked it is unlikely that hacking them will result in a targeted alias

Re: [Dovecot] nfs director

2010-08-26 Thread Edward avanti
On Fri, Aug 27, 2010 at 9:31 AM, Timo Sirainen wrote: > On 26.8.2010, at 23.54, Edward avanti wrote: > > > Please can you explain why this is advantage over a hardware load > balancer. > > It guarantees that the same user is accessed via the same server. Hardware > LB can at best assign the conne

Re: [Dovecot] Panic, rawtrace, log, etc

2010-08-26 Thread Timo Sirainen
On 27.8.2010, at 0.39, Brandon Lamb wrote: >> 2010-08-26 16:20:51 master: Warning: service(auth): process_limit >> reached, client connections are being dropped .. > Going to double my process limit from 100 to 256 and bump up the > vsz_limit and see if I can make it go away That's service(auth)

Re: [Dovecot] Panic, rawtrace, log, etc

2010-08-26 Thread Timo Sirainen
On 27.8.2010, at 0.35, Brandon Lamb wrote: > While running some doveadm expunge -A mailbox Spam savedbefore 30d and > doveadm purge -A after Hmm. Maybe it's opening a new auth connection for each user? I'll check it out later. > 2010-08-26 16:20:51 auth: Error: net_accept() failed: Too many ope

Re: [Dovecot] Panic, rawtrace, log, etc

2010-08-26 Thread Brandon Lamb
On Thu, Aug 26, 2010 at 4:35 PM, Brandon Lamb wrote: > While running some doveadm expunge -A mailbox Spam savedbefore 30d and > doveadm purge -A after > > 2010-08-26 16:20:51 auth: Error: net_accept() failed: Too many open files > 2010-08-26 16:20:51 master: Warning: service(auth): process_limit >

Re: [Dovecot] Can't get dovecot to see email folders

2010-08-26 Thread Brian Hayden
Read up on namespace configuration some more. Dovecot makes the sort of thing you're talking about very easy if you familiarize yourself with namespaces first. It can overcome most of the problems caused by historical poor choices in client configuration. -Brian On Aug 26, 2010, at 4:09 PM,

[Dovecot] Panic, rawtrace, log, etc

2010-08-26 Thread Brandon Lamb
While running some doveadm expunge -A mailbox Spam savedbefore 30d and doveadm purge -A after 2010-08-26 16:20:51 auth: Error: net_accept() failed: Too many open files 2010-08-26 16:20:51 master: Warning: service(auth): process_limit reached, client connections are being dropped 2010-08-26 16:21:2

Re: [Dovecot] nfs director

2010-08-26 Thread Timo Sirainen
On 26.8.2010, at 23.54, Edward avanti wrote: > Please can you explain why this is advantage over a hardware load balancer. It guarantees that the same user is accessed via the same server. Hardware LB can at best assign the connections from the same IP to the same server (but not e.g. new mail

[Dovecot] nfs director

2010-08-26 Thread Edward avanti
Halo, Please can you explain why this is advantage over a hardware load balancer. I fail to see advantage if anything it add in more point of failure, with several hundred thousand user, we can ill afford to mess around or add to complexity, sometime keeping it simple is simply way to be, when use

[Dovecot] Can't get dovecot to see email folders

2010-08-26 Thread Blaster
So I'm very frustrated, I've spent the better part of a day trying to get dovecot 2.0.1 working...Most of the documentation on the Wiki seems to think you are running an older version and therefore very little of it applies. I'm running 2.0.1 on OpenSolaris. I seem to have 2 remaining issues

[Dovecot] Roff typo in sievec.1.in

2010-08-26 Thread Mike Abbott
There is a roff typo in pigeonhole's sievec.1.in. Roff treats the leading apostrophe on line 54 as an invalid command and produces bad output: dump to be written to stdout. The out-file argument may also be omitted, which has the same effect as for a com-

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Mike Abbott
> 1. What hash algorithm to use? > 2. Should I add support for trusting hash uniqueness Use two hash functions and concatenate the hashes. While both hash systems may eventually be hacked it is unlikely that hacking them will result in a targeted alias.

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Carlos Mennens
On Thu, Aug 26, 2010 at 4:10 PM, Thomas Leuxner wrote: > Am 26.08.2010 um 22:00 schrieb Carlos Mennens: > > Thanks. I copied the config that was in dovecot-new.conf into > dovecot.conf. Now when I attempt to login, it tells me it can't find > my SSL certificates when they're clearly there. Is ther

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Thomas Leuxner
Am 26.08.2010 um 22:00 schrieb Carlos Mennens: > Thanks. I copied the config that was in dovecot-new.conf into > dovecot.conf. Now when I attempt to login, it tells me it can't find > my SSL certificates when they're clearly there. Is there something > special I need to do in /etc/dovecot/conf.d/1

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Carlos Mennens
On Thu, Aug 26, 2010 at 3:52 PM, David wrote: > The command Timo gave you writes out the new configuration to > dovecot-new.conf.  You need > > I recommend you backup your existing configuration first, then try and > replace it.  Like so: > > $ cd /etc/dovecot/ > $ cp dovecot.conf dovecot.conf-bac

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Thomas Leuxner
Am 26.08.2010 um 21:46 schrieb Carlos Mennens: >> doveconf -n > dovecot-new.conf > > Timo, > > I ran that command and unless I am missing something...it didn't help. The purpose of this exercise was to replace the old config *FILE* with 'dovecot-new.conf' unless you missed that...

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread David
On 26/08/2010 20:46, Carlos Mennens wrote: On Thu, Aug 26, 2010 at 3:38 PM, Timo Sirainen wrote: On Thu, 2010-08-26 at 14:52 -0400, Carlos Mennens wrote: The list was much longer but I was able to self resolve them. I was wondering if someone here can assist me in converting my 'dovecot.conf'

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Carlos Mennens
On Thu, Aug 26, 2010 at 3:38 PM, Timo Sirainen wrote: > On Thu, 2010-08-26 at 14:52 -0400, Carlos Mennens wrote: > >> The list was much longer but I was able to self resolve them. I was >> wondering if someone here can assist me in converting my >> 'dovecot.conf' file? > > doveconf -n > dovecot-ne

Re: [Dovecot] How to pipe to external program

2010-08-26 Thread Arne K. Haaje
Den 26.08.2010 21:27, skrev Egbert: Hi, Second try... I have mailsystem with virtual users only (/home/vmail/domain/user). I need to integrate RT3.x (a ticketing system). I have installed the RT-client but I need to send the mail to an extrnal program. Rt wants me to insert: |/usr/bin/rt-m

Re: [Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Timo Sirainen
On Thu, 2010-08-26 at 14:52 -0400, Carlos Mennens wrote: > The list was much longer but I was able to self resolve them. I was > wondering if someone here can assist me in converting my > 'dovecot.conf' file? doveconf -n > dovecot-new.conf

Re: [Dovecot] Single instance storage - testing please

2010-08-26 Thread Timo Sirainen
On Thu, 2010-08-26 at 20:32 +0100, Timo Sirainen wrote: > http://hg.dovecot.org/dovecot-2.0-sis contains the code for it. > Otherwise it's the latest (as of writing this) dovecot-2.0 hg tree. > Please test if you're interested in SIS. :) One more point that I have to remember to mention once I wri

[Dovecot] Single instance storage - testing please

2010-08-26 Thread Timo Sirainen
http://hg.dovecot.org/dovecot-2.0-sis contains the code for it. Otherwise it's the latest (as of writing this) dovecot-2.0 hg tree. Please test if you're interested in SIS. :) Once there's at least some testing, I'll probably add this to v2.0.x since very little of this new code is used when SIS i

[Dovecot] How to pipe to external program

2010-08-26 Thread Egbert
Hi, Second try... I have mailsystem with virtual users only (/home/vmail/domain/user). I need to integrate RT3.x (a ticketing system). I have installed the RT-client but I need to send the mail to an extrnal program. Rt wants me to insert: |/usr/bin/rt-mailgate --queue bla --action bla --url

[Dovecot] Configuration Update From v1.x To v2.0.1-2

2010-08-26 Thread Carlos Mennens
I just upgraded my Dovecot IMAP package on my mail server and when I restarted the service, I got the following warnings... doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:12: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely doveconf: Warni

Re: [Dovecot] Investigating suspected cache corruption

2010-08-26 Thread Maria Elinger
Thanks Charles, We're running 1.1.14. So we'll start by upgrading. Best Regards, María -Original Message- From: dovecot-bounces+melinger=pert.com...@dovecot.org [mailto:dovecot-bounces+melinger=pert.com...@dovecot.org] On Behalf Of Charles Marcus Sent: Thursday, August 26, 2010 2:22 PM

Re: [Dovecot] Investigating suspected cache corruption

2010-08-26 Thread Charles Marcus
1.1.x is getting old, and I've seen Timo comment many times that upgrading to a current 1.2 or even 2.0 will likely fix problems like this - so imo that would be the first things to try... Maria Elinger wrote: > Hi David and all, > Did you find any solution or workaround at your site?, it woul

Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-26 Thread David Woodhouse
On Thu, 2010-08-26 at 17:02 +0100, Timo Sirainen wrote: > On Thu, 2010-08-26 at 14:32 +0100, David Woodhouse wrote: > > > > Or if you want flags for messages you haven't even seen yet, > > > 1:4294967295 should work too. > > > > 1:4294967295 doesn't really fill me with joy either -- that assumes

Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-26 Thread Timo Sirainen
On Thu, 2010-08-26 at 14:32 +0100, David Woodhouse wrote: > > Or if you want flags for messages you haven't even seen yet, > > 1:4294967295 should work too. > > 1:4294967295 doesn't really fill me with joy either -- that assumes that > a UID is limited to 32 bits unsigned... It is, as defined b

Re: [Dovecot] Investigating suspected cache corruption

2010-08-26 Thread Maria Elinger
Hi David and all, I´ve read the mail you posted in the Dovecot list. We´re are having this same problem in a site which is very similar to yours. We also migrated from Courier to Dovecot nearly 9 months ago, and every now and then users complain about slowness in the imap connection. We fix it

Re: [Dovecot] Shared mailboxes with dovecot.

2010-08-26 Thread Mihajlin Evgenij
Again, what does mean this strings? Aug 26 15:48:03 auth: Debug: master in: USER1 za...@badmltd.dn.ua service=lib-storage Aug 26 15:48:03 auth: Debug: master in: USER2 t...@badmltd.dn.ua service=lib-storage Aug 26 15:48:03 auth: Debug: master in: USER2 t..

Re: [Dovecot] New problem with migration to 2.0

2010-08-26 Thread Thomas Leuxner
Am 26.08.2010 um 16:20 schrieb Carsten Laun-De Lellis: > No more errors ! > > But when i try to start dovecot the following message appears: > r...@s04:/usr/local/etc/dovecot# /etc/init.d/dovecot start > Starting DovecotFatal: service(imap-login) User doesn't exist: dovenull > Yes :) Ha

Re: [Dovecot] New problem with migration to 2.0

2010-08-26 Thread Carsten Laun-De Lellis
Hi Thomas Thank you very much. To wrap the lines does the trick. But as always my dovecot -n is now: r...@s04:/usr/local/etc/dovecot# dovecot -n # 2.0.0: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-24-generic i686 Ubuntu 10.04.1 LTS auth_mechanisms = plain login disable_plaintext_a

Re: [Dovecot] New problem with migration to 2.0

2010-08-26 Thread Thomas Leuxner
Am 26.08.2010 um 15:45 schrieb Carsten Laun-De Lellis: > verbose_ssl = yes > doveconf: Error: userdb is missing driver > doveconf: Fatal: Error in configuration file > /usr/local/etc/dovecot/dovecot.conf: userdb is missing driver See except from ' /etc/dovecot/conf.d/auth-static.conf.ext' #use

Re: [Dovecot] New problem with migration to 2.0

2010-08-26 Thread Carsten Laun-De Lellis
Sorry In my first email i posted the wrong output from dovecot -n. Here it comes again: userdb { args = uid=1 gid=1 home=/mail/%d/%n allow_all_users=yes } verbose_ssl = yes doveconf: Error: userdb is missing driver doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/dove

[Dovecot] New problem with migration to 2.0

2010-08-26 Thread Carsten Laun-De Lellis
Hi guys After fixing my master_auth problem i have one error message left and i don't know what to do. The message from dovecot -n is: service auth { unix_listener /var/spool/postfix/private/auth { group = vmail mode = 0666 user = vmail } unix_listener auth-master { mode =

Re: [Dovecot] migration to dovecot 2.0

2010-08-26 Thread Carsten Laun-De Lellis
Hi Thomas Thank you very much for your hints, but they didn't help me out. I fixed the problem by replacing the auth_master in the 1.2 config with service auth { unix_listener /var/spool/postfix/private/auth { group = vmail mode = 0666 user = vmail } unix_listener auth-master {

Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-26 Thread David Woodhouse
On Mon, 2010-08-23 at 18:04 +0100, Timo Sirainen wrote: > On Mon, 2010-08-23 at 17:33 +0100, David Woodhouse wrote: > > > And thanks for not (yet) making it reject the invalid command with the > > 1:* in it > > I changed it in v2.0. > > > -- I'll need to come up with a strategy for migrating to

[Dovecot] Shared mailboxes with dovecot.

2010-08-26 Thread Mihajlin Evgenij
Hi, first of all for forgive me for my english. I have several questions. 1. There are 2 user/passwd databases in my setup - ldap and mysql. when i login into one user with telnet 127.0.0.1 143 and share inbox to some users - records in dict-file apears? but if i delete some acls - records ind

Re: [Dovecot] migration to dovecot 2.0

2010-08-26 Thread Thomas Leuxner
Am 26.08.2010 um 14:21 schrieb Carsten Laun-De Lellis: > doveconf: Fatal: Error in configuration file > /usr/local/etc/dovecot/dovecot.conf line 1036: Unknown setting: > auth_socket > doveconf: Error: managesieve-login: dump-capability process returned 89 > doveconf: Fatal: Error in configuration

[Dovecot] migration to dovecot 2.0

2010-08-26 Thread Carsten Laun-De Lellis
Hi everyone I am not the dovecot guru and i would appreciate if anyone could help me on my problems. I am running a mail server on dovecot 1.2 and want to migrate to dovecot 2. I have edited the conf file and now using the new keywords and got everything fixed but the following error message stil

Re: [Dovecot] Does Dovecot support the use of the INDEX directive for mdbox?

2010-08-26 Thread Timo Sirainen
On 26.8.2010, at 12.39, William Blunn wrote: > Does Dovecot support the use of the INDEX directive for mdbox? > > e.g. > > mail_location = mdbox:~/mdbox:INDEX=/var/indexes/%u Sure. But be sure not to lose the indexes.

[Dovecot] Does Dovecot support the use of the INDEX directive for mdbox?

2010-08-26 Thread William Blunn
Does Dovecot support the use of the INDEX directive for mdbox? e.g. mail_location = mdbox:~/mdbox:INDEX=/var/indexes/%u Bill

[Dovecot] pigeonhole needs to ship doc/man/{reporting-bugs.inc, sed.sh}

2010-08-26 Thread Paul Howarth
A tarball created from current pigeonhole hg using "make dist" doesn't include the files doc/man/{reporting-bugs.inc,sed.sh} and fails to build as a result. Attached patch works for me. Paul --- dovecot-2.0.1/dovecot-2-0-pigeonhole-d51650c8af85/doc/man/Makefile.am 2010-08-23 18:26:12.0

[Dovecot] doveadm search/expunge with public folders

2010-08-26 Thread Ralf Zimmermann
Hi all, can I expunge or search emails in public folders? The command 'doveadm expunge -u rzimmermann mailbox Public/folder all' does not delete emails in the folder 'Public/folder'. The command 'doveadm expunge -u rzimmermann mailbox Spam all' does delete emails in the folder 'Spam'. The user

[Dovecot] Table mail.users doesn't exist (using built-in default iterate_query: SELECT username, domain FROM users)

2010-08-26 Thread Jerrale G
connect = host=127.0.0.1 user=mail password=thecorrectpass dbname=mail map { pattern = shared/expire/$user/$mailbox table = mail.expires value_field = expire_stamp fields { username = $user mailbox = $mailbox } } dovecot: auth: Error: mysql: Query failed, retrying: Table 'mail