[Dovecot] IMAP activity after disconnect

2009-08-28 Thread Charles Sprickman
Howdy, I'm running Dovecot 1.1.16 on a staging server to do some testing before building a new server and moving a bunch of qmail/vpopmail/courier accounts over. I wanted to test the migration of courier accounts to dovecot with a few clients, so I copied over a few large accounts. All went

Re: [Dovecot] Quick and dirty server optimized for IMAP upload speed?

2009-08-28 Thread Timo Sirainen
On Aug 28, 2009, at 9:10 PM, Adam McDougall wrote: From Dovecot's side the only thing you can do is fsync_disable=yes. The main problem is probably network latency, because Outlook doesn't support MULTIAPPEND extension (and perhaps not even LITERAL + extension?) Did you already try running D

Re: [Dovecot] Quick and dirty server optimized for IMAP upload speed?

2009-08-28 Thread Adam McDougall
Timo Sirainen wrote: On Aug 28, 2009, at 8:38 PM, Adam McDougall wrote: Early next week I need to upload over 100,000 emails to an IMAP server as quickly as possible from an Outlook client. I am looking for any methods I can use to (temporarily?) speed up the rate at which dovecot can accept

Re: [Dovecot] Quick and dirty server optimized for IMAP upload speed?

2009-08-28 Thread Timo Sirainen
On Aug 28, 2009, at 8:38 PM, Adam McDougall wrote: Early next week I need to upload over 100,000 emails to an IMAP server as quickly as possible from an Outlook client. I am looking for any methods I can use to (temporarily?) speed up the rate at which dovecot can accept and store IMAP uplo

[Dovecot] Quick and dirty server optimized for IMAP upload speed?

2009-08-28 Thread Adam McDougall
Early next week I need to upload over 100,000 emails to an IMAP server as quickly as possible from an Outlook client. I am looking for any methods I can use to (temporarily?) speed up the rate at which dovecot can accept and store IMAP uploads, whether it be storing on local disk, ram disk, etc

Re: [Dovecot] NTLM failures with an interesting twist

2009-08-28 Thread Gavin Hamill
http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/2008-May/001388.html This looks to be relevant .. OL2007 sends usern...@emaildomain.com as the username rather than usern...@windows-domain.com. In our setup, the email domain is not the same as the Windows domain name (domainname.com versus ad.do

Re: [Dovecot] NTLM failures with an interesting twist

2009-08-28 Thread Gavin Hamill
On Fri, 2009-08-28 at 19:32 -0400, Timo Sirainen wrote: > On Aug 28, 2009, at 7:25 PM, Gavin Hamill wrote: > > > auth_ntlm_use_winbind = yes > .. > > Does anyone have any magic beans for Outlook 2007 (tried both original > > release + SP2) ? > > No idea. Have you tried if Dovecot's internal NTLM

Re: [Dovecot] NTLM failures with an interesting twist

2009-08-28 Thread Timo Sirainen
On Aug 28, 2009, at 7:25 PM, Gavin Hamill wrote: auth_ntlm_use_winbind = yes .. Does anyone have any magic beans for Outlook 2007 (tried both original release + SP2) ? No idea. Have you tried if Dovecot's internal NTLM support logs anything useful (so without winbind)?

[Dovecot] NTLM failures with an interesting twist

2009-08-28 Thread Gavin Hamill
This is a tired old topic but I've at least got an angle on it: Outlook Express works perfectly with IMAP / SPA for users logged into our Windows domain; I just give the server address and username, and it logs in without any password required; beautiful! auth_ntlm_use_winbind = yes auth_winbind_

[Dovecot] PAM Authentication with OSX Snow Leopard

2009-08-28 Thread Nicola Tiling
Hi Apple changed from Linux PAM to OpenPAM and the dovecot pam file (dovecot installed from macports) doesn't work anymore. Installed pam modules are: -r--r--r--1 root wheel 76640 31 Jul 09:15 pam_env.so.2 -r--r--r--1 root wheel 51024 31 Jul 09:15 pam_group.so.2 -r--r--r--1

Re: [Dovecot] Quota question.

2009-08-28 Thread Benny Pedersen
On Sat, August 29, 2009 00:04, Timo Sirainen wrote: > On Aug 28, 2009, at 6:00 PM, Benny Pedersen wrote: > .., concat('*:bytes=', quota) AS quota_rule FROM .. super solved it for me -- xpoint

Re: [Dovecot] Quota question.

2009-08-28 Thread Timo Sirainen
On Aug 28, 2009, at 6:00 PM, Benny Pedersen wrote: On Fri, August 28, 2009 23:46, Timo Sirainen wrote: On Fri, 2009-08-28 at 23:43 +0200, Benny Pedersen wrote: On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote in 1.1.16 i have also a problem with quotas, maildirsize file is not created

Re: [Dovecot] Quota question.

2009-08-28 Thread Benny Pedersen
On Fri, August 28, 2009 23:46, Timo Sirainen wrote: > On Fri, 2009-08-28 at 23:43 +0200, Benny Pedersen wrote: >> On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote >> in 1.1.16 i have also a problem with quotas, maildirsize file is not >> created with new size when mailbox is maked, and if q

Re: [Dovecot] Quota question.

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 23:43 +0200, Benny Pedersen wrote: > On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote > > > You should be able to just delete the user's quota row from SQL and then > > log in as the user and issue "GETQUOTAROOT INBOX" command. That should > > recalculate the quota, a

Re: [Dovecot] Quota question.

2009-08-28 Thread Benny Pedersen
On Fri 14 Aug 2009 02:51:33 AM CEST, Timo Sirainen wrote You should be able to just delete the user's quota row from SQL and then log in as the user and issue "GETQUOTAROOT INBOX" command. That should recalculate the quota, and in my tests a few days ago it did. But some other guy said that he c

Re: [Dovecot] GSSAPI Authentication Broke with Dovecot 1.1.16 -> 1.2.4 Upgrade

2009-08-28 Thread John Marshall
On Fri, 28 Aug 2009, 16:51 -0400, Timo Sirainen wrote: > On Sat, 2009-08-29 at 06:08 +1000, John Marshall wrote: > > > > It turned out to be a recent change in Dovecot's mech-gssapi.c to do > > > > with checking for NULs in usernames: everything worked fine when I > > > > disabled that test. > > >

Re: [Dovecot] GSSAPI Authentication Broke with Dovecot 1.1.16 -> 1.2.4 Upgrade

2009-08-28 Thread Timo Sirainen
On Sat, 2009-08-29 at 06:08 +1000, John Marshall wrote: > > > It turned out to be a recent change in Dovecot's mech-gssapi.c to do > > > with checking for NULs in usernames: everything worked fine when I > > > disabled that test. > > > > What exactly is the username? What does it say with the atta

Re: [Dovecot] GSSAPI Authentication Broke with Dovecot 1.1.16 -> 1.2.4 Upgrade

2009-08-28 Thread John Marshall
On Fri, 28 Aug 2009, 13:38 -0400, Timo Sirainen wrote: > On Fri, 2009-08-28 at 15:20 +1000, John Marshall wrote: > > This morning I upgraded a dovecot installation from 1.1.16 to 1.2.4 on a > > FreeBSD 7.2 server, and then spent 3 hours trying to figure out why > > GSSAPI authentication had broken.

Re: [Dovecot] Crash: imap process, Dovecot 1.2.4, related to ACLs (backtrace included)

2009-08-28 Thread Andreas Ntaflos
On Friday 28 August 2009 19:42:47 Timo Sirainen wrote: > On Fri, 2009-08-28 at 02:46 +0200, Andreas Ntaflos wrote: > > Hi, > > > > I started experimenting with ACLs and found I could reliably and > > reproducibly crash the IMAP process when trying to create a > > subfolder of a folder that has has

Re: [Dovecot] Dovecot Erros in Logs

2009-08-28 Thread David Cunningham
I had heard/read something online about using inotify instead of dnotify. Any idea what that is about? I have not heard any complaints, nor do I know why this happens. I just notice this and exactly this in the logs. Dave Quoting Timo Sirainen : On Fri, 2009-08-28 at 11:47 -0400, Dav

Re: [Dovecot] Crash: imap process, Dovecot 1.2.4, related to ACLs (backtrace included)

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 02:46 +0200, Andreas Ntaflos wrote: > Hi, > > I started experimenting with ACLs and found I could reliably and reproducibly > crash the IMAP process when trying to create a subfolder of a folder that has > has ACLs set. The folder is called "Sent" with an ACL of "owner lrw

Re: [Dovecot] GSSAPI Authentication Broke with Dovecot 1.1.16 -> 1.2.4 Upgrade

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 15:20 +1000, John Marshall wrote: > This morning I upgraded a dovecot installation from 1.1.16 to 1.2.4 on a > FreeBSD 7.2 server, and then spent 3 hours trying to figure out why > GSSAPI authentication had broken. > > It turned out to be a recent change in Dovecot's mech-gss

Re: [Dovecot] Dovecot Erros in Logs

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 11:47 -0400, David Cunningham wrote: > I got lots of errors that look like this: > > Error: write(dnotify pipe) failed: Bad file descriptor Hmm. Are they all exactly this, or also something else? I don't really see in the code how that could happen. Anyway you could disable

[Dovecot] [Fwd: Re: Question about ACL/flags]

2009-08-28 Thread Timo Sirainen
Your To: field was interesting.. Shouldn't mailman have changed it? Oh well. --- Begin Message --- On Thu, 2009-08-27 at 16:28 -0500, Eric Jon Rostetter wrote: > Have an email account (or folder or mailbox) which can be accessed by > several people (say 3) with per-user seen flags. That is, say 3

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 13:43 +0100, Keith Edmunds wrote: > namespace public { >separator = / >prefix = shared2/ >location = maildir:/home/pubfolders2:INDEX=~/Maildir/public2 >subscriptions = no >list = children > } .. > Since enabling ACLs in dovecot.conf, none of the users see t

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Keith Edmunds
> > /home/pubfolders2/ > > Do you have dovecot-acl-list file here? See if deleting it helps? Yes I did; deleting it hasn't changed anything. Thanks, Keith

[Dovecot] Question about ACL/flags

2009-08-28 Thread Eric Jon Rostetter
Okay, I'm cruising the wiki, and it is at best confusing to me. Maybe someone on the list can help me out quickly? Here is what I have: dovecot 1.1.18, mbox format, currently no acl/namespace/etc. All works great. What I want to be able to do: Have an email account (or folder or mailbox) whi

[Dovecot] Dovecot Erros in Logs

2009-08-28 Thread David Cunningham
I got lots of errors that look like this: Error: write(dnotify pipe) failed: Bad file descriptor I am running dovecot-1.2.4-0_99 on RHEL4 dovecot -n: # 1.2.4: /etc/dovecot.conf # OS: Linux 2.6.9-89.0.3.ELsmp x86_64 Red Hat Enterprise Linux AS release 4 (Nahant Update 8) ext3 log_path: /var/

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 16:28 +0100, Keith Edmunds wrote: > [Sorry, sent to Timo at first attempt] > > > With older versions you'd have to > > put the dovecot-acl file to each maildir separately > > Thanks, but it still isn't clear to me. I have (the same, hardlinked) > dovecot-acl file in lots of

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Keith Edmunds
[Sorry, sent to Timo at first attempt] > With older versions you'd have to > put the dovecot-acl file to each maildir separately Thanks, but it still isn't clear to me. I have (the same, hardlinked) dovecot-acl file in lots of different places: ---

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Timo Sirainen
On Fri, 2009-08-28 at 15:50 +0100, Keith Edmunds wrote: > > > I have /home/pubfolders2/dovecot-acl containing: > > > > The file isn't read by 1.2.1. Upgrade. > > Thanks Timo. I think the Wiki is misleading: it says (on page > http://wiki.dovecot.org/ACL): > > "Dovecot v1.0 and v1.1 supports admi

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Keith Edmunds
> > I have /home/pubfolders2/dovecot-acl containing: > > The file isn't read by 1.2.1. Upgrade. Thanks Timo. I think the Wiki is misleading: it says (on page http://wiki.dovecot.org/ACL): "Dovecot v1.0 and v1.1 supports administrator-configured ACL files. v1.2+ supports also IMAP ACL extension..

Re: [Dovecot] ACL in public folders

2009-08-28 Thread Timo Sirainen
On Aug 28, 2009, at 8:43 AM, Keith Edmunds wrote: # dovecot --version 1.2.1 .. location = maildir:/home/pubfolders2:INDEX=~/Maildir/public2 .. I have /home/pubfolders2/dovecot-acl containing: The file isn't read by 1.2.1. Upgrade.

[Dovecot] ACL in public folders

2009-08-28 Thread Keith Edmunds
# dovecot --version 1.2.1 I'm trying to configure ACLs for public folders. I have: namespace public { separator = / prefix = shared2/ location = maildir:/home/pubfolders2:INDEX=~/Maildir/public2 subscript

Re: [Dovecot] Authentication failed, failure to login after changed password

2009-08-28 Thread linuxvinit
Hi Timo, Thanks for your reply. dovecot file is in the right place /etc/pam.d/dovecot and content of this file is following. #%PAM-1.0 @include common-auth @include common-account @include common-session @include common-password All those include file have all required module configuration. I