Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Mike Brudenell
Hi (again!) Timo, 2009/3/19 Mike Brudenell > > Grepping the code suggests this is presumably coming > from src/imap-login/client.c > > I'm now peering at the code trying to see if I can spot anything, but have > to confess to not being too wonderful in the area of sockets

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Mike Brudenell
Hi again... 2009/3/19 Mike Brudenell > > 2009/3/13 Timo Sirainen > >> On Mon, 2009-03-09 at 17:41 +, Mike Brudenell wrote: >> > We have grown to suspect it is to do with one of the imap-login >> processes >> > having a large number of files open. Kil

Re: [Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-19 Thread Mike Brudenell
Hi! Sorry for the delay in replying: I was waiting for the problem to recur so I could double-check the logs and the states of the imap-login processes. 2009/3/13 Timo Sirainen > On Mon, 2009-03-09 at 17:41 +0000, Mike Brudenell wrote: > > We have grown to suspect it is to do with o

[Dovecot] Dovecot 1.1.11 failing to accept SSL/TLS connections

2009-03-09 Thread Mike Brudenell
of weeks ago. From there I upgraded first to 1.0.15 and then to 1.1.11. I'd hoped that upgrading would fix the problem: I see it has been mentioned before on the list, but not for a year or two. Can anyone give any help, please? Cheers, Mike Brudenell Configuration info Platform: Solaris 1

[Dovecot] ACLs - what's the state of play?

2008-02-13 Thread Mike Brudenell
Greetings - Could someone help me understand what the latest situation id with regard to ACLs and sharing mailboxes, please? Currently we are using Dovecot 1.0.x but will be moving to 1.1 when it comes out of Beta (and hopefully I'll get some time before too long to try building a test se

[Dovecot] OT: Skins for Squirrelmail - looking for a reminder

2008-02-08 Thread Mike Brudenell
Greetings - On one of the mailing lists I'm on there was a recent-ish discussion about webmail clients, and someone mentioned a site selling sets of skins for SquirrelMail... the entire set was about $300. I'm trying to track down the site but seem to have deleted the message I'd carefull

Re: [Dovecot] [OT] Webmail Recommendation

2008-01-11 Thread Mike Brudenell
Greetings - On 10 Jan 2008, at 21:49, Chris Wakelin wrote: With Dovecot's caching and indexing, things are much better, but there is still a significant overhead on opening lots of connections, I fear, especially for mboxes (moving to maildir would help of course). I would consider using i

Re: [Dovecot] dovecot-auth consumes 100% CPU time on Solaris 10

2007-11-29 Thread Mike Brudenell
Greetings - On 29 Nov 2007, at 09:24, Mark Heitmann wrote: In my $LD_LIBRARY_PATH /usr/lib is behind /usr/local/lib (for openldap), although dovecot-auth was linked with the Solaris lib. The way that works for me is the following LDFLAGS directive to the configure command, because the -- wi

Re: [Dovecot] Limiting the size of index files

2007-11-21 Thread Mike Brudenell
Greetings - On 15 Nov 2007, at 07:36, Timo Sirainen wrote: That was the plan, Maildir keywords are the only exception. I was also thinking about changing that some day so that it's not possible to set more than 26 keywords with maildir. I think this is currently pretty much a nonissue beca

[Dovecot] "Corrupted index cache file" error (Dovecot 1.0.3)

2007-10-05 Thread Mike Brudenell
Greetings - Now that users are beginning to pile up more on our new Dovecot-based IMAP service I'm seeing a small number of entries like this in the logfiles: Corrupted index cache file /mailstore/index/o/ozw100/.INBOX/ dovecot.index.cache : invalid record size We are using Dovecot 1.0.3

Re: [Dovecot] How to upgrade a running Dovecot?

2007-10-05 Thread Mike Brudenell
Hi, Jerry/et al - On 4 Oct 2007, at 20:47, Jerry Yeager wrote: Have you considered sending out a message to each user to the effect that on some day, darned-early a.m. the system will be offline for 30 minutes for maintenance (no incoming email will be lost, etc., etc.). We have around

[Dovecot] How to upgrade a running Dovecot?

2007-10-04 Thread Mike Brudenell
Greetings - Could someone confirm how to perform various upgrades on a live system running Dovecot please? Scenario 1: Change to dovecot.conf === If I make a change to dovecot.conf am I right in thinking I can simply send a HUP signal to the main dovecot pr

Re: [Dovecot] UW-IMAP to Dovecot conversion - How to migrate the folders?

2007-08-22 Thread Mike Brudenell
Hi Patrick, On 20 Aug 2007, at 23:21, Patrick - South Valley Internet wrote: I've read so much information on this that I'm a little confused as to what to follow. Here's what's going on: We just migrated away from our AIX machines which were running Postfix and UW-IMAP. We're now runnin

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 14:36, Nicolas STRANSKY wrote: In fact the patch applies well, dovecot compiles well, but rquota is still not functionnal. I have this in config.log: HAVE_RQUOTA_FALSE='#' HAVE_RQUOTA_TRUE='' #define HAVE_RQUOTA But there is no RPC string in quota-fs.o. Where am I

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 13:54, Stewart Dean wrote: Sorry to be so clueless, but all the activity about rquotad drives me to admit my puzzlement (or ignorance)... I run rquotad on my mail server that also runs DCrquotad is used by the other 3 hosts (a login/FTP server, a mailing lis

Re: [Dovecot] NFS rquota support

2007-08-07 Thread Mike Brudenell
Greetings - On 7 Aug 2007, at 11:28, Nicolas STRANSKY wrote: OK, thanks for the answer, but unfortunately, these don't apply well to 1.0.3.. They applied just fine to 1.0.3 here. I started off with pristine copies of the files from the 1.0.3 distribution then applied the patches using

Re: [Dovecot] Userdb and home directories

2007-08-06 Thread Mike Brudenell
ed by the passwd userdb before its initial use in src/master/mail-process.c create_mail_process() Any help gratefully received! Cheers, Mike B-) On 3 Aug 2007, at 11:33, Mike Brudenell wrote: We use shadow for the passdb and passwd for the userdb (see dovecot -n output below). I'

Re: [Dovecot] Userdb and home directories (clarification)

2007-08-03 Thread Mike Brudenell
Greetings - I'm just feeling I need to clarify my previous message a bit to explain the problem better... On 3 Aug 2007, at 11:33, Mike Brudenell wrote: We have two NetApp filers: one serves people's home directories; the other their message store and control files filestores

[Dovecot] Userdb and home directories

2007-08-03 Thread Mike Brudenell
Greetings - I've just discovered an oddity I didn't know I had... We have two NetApp filers: one serves people's home directories; the other their message store and control files filestores. At the moment the first of the two filers is not accessible to my Dovecot system and I assumed all

Re: [Dovecot] NFS rquota support

2007-08-03 Thread Mike Brudenell
Greetings - On 3 Aug 2007, at 01:00, Nicolas STRANSKY wrote: I think the configure failed to set HAVE_RQUOTA to config.h. But this is what I had from ./configure: checking rpcsvc/rquota.h usability... yes checking rpcsvc/rquota.h presence... yes checking for rpcsvc/rquota.h... yes Yup, I go

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Mike Brudenell
Sorry for the flurry of messages! ... On 2 Aug 2007, at 17:06, Mike Brudenell wrote: However there doesn't seem to be anything in the existing 1.0.3 source or the three patches that provides this function. Is there something missing from the patches at http://hg.dovecot.org/dovecot

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Mike Brudenell
On 2 Aug 2007, at 16:56, Mike Brudenell wrote: What am I missing? (The especially annoying thing is that xdr_getquota_args is used in the test program included in the source code I sent out a few days ago and that worked... but I can't spot what is different in the linking/runtime.)

Re: [Dovecot] NFS rquota support

2007-08-02 Thread Mike Brudenell
AAARRGGH!! On 2 Aug 2007, at 16:19, Nicolas STRANSKY wrote: This applied and compiled well with v1.0.3. The patches applied (with fuzz and offsets) to 1.0.3 and compiled OK under Solaris 10 with Sun's C compiler. However when I try and start Dovecot I get: Edlopen(/usr/local/dovecot-1.0.

Re: [Dovecot] Dovecot 1.0.x and NFS-mounted mailstore quotas

2007-08-01 Thread Mike Brudenell
Greetings - On 31 Jul 2007, at 17:18, Mike Brudenell wrote: I'm attaching the patch files and a tar archive that comprise the changes I use to support reading quotas from NFS-mounted filestore. The patches are against the Dovecot 1.0.2 source code. Just to let you know that the pa

Re: [Dovecot] Mount options and NFS: just checking...

2007-08-01 Thread Mike Brudenell
Hi, Timo - On 1 Aug 2007, at 13:14, Timo Sirainen wrote: Q3. Which of the filestores should I mount with the "noatime" option? A3. Safe to use "noatime" for all three filestores. (I understand Dovecot will use utime() when needed on such filestores, but am not sure if it will wor

[Dovecot] Mount options and NFS: just checking...

2007-08-01 Thread Mike Brudenell
Greetings - I'm now in the last couple of weeks before going live with Dovecot (v1.0.3) on our revamped IMAP service. I'd like to double-check about the best mount options to use; could someone advise, please? I have three separate directory trees for the message store, the control files

[Dovecot] Dovecot 1.0.x and NFS-mounted mailstore quotas

2007-07-31 Thread Mike Brudenell
Greetings - On 30 Jul 2007, at 10:05, Joseba Torre wrote: Could you share it please? As previously reported, the "official" patch is not working right now. Aaagur. I'm attaching the patch files and a tar archive that comprise the changes I use to support reading quotas from NFS-m

Re: [Dovecot] RFE: please include quota waning patch

2007-07-30 Thread Mike Brudenell
Greetings - On 25 Jul 2007, at 15:18, Timo Sirainen wrote: On 23.7.2007, at 18.41, Farkas Levente wrote: it'd be very useful to include the quota warning patch in official release. without it the quota support is not really useful since mail simple dropped when quota is over. and most enduser

Re: [Dovecot] Small problem with src/lib/mountpoint.c [now with patch attached!]

2007-07-19 Thread Mike Brudenell
Greetings - On 18 Jul 2007, at 22:31, Timo Sirainen wrote: Could you try that both of these patches work: http://hg.dovecot.org/dovecot-1.0/rev/89184bad9d10 http://hg.dovecot.org/dovecot/rev/cc8b6e73e830 I'm not sure from what version Solaris has getextmntent(), but I think from at least 8 so

Re: [Dovecot] Small problem with src/lib/mountpoint.c [now with patch attached!]

2007-07-18 Thread Mike Brudenell
Ah! After a bit of test programming I understand what's going on now. If I'm right then there are a few incorrect assumptions in Dovecot's logic. (Sorry! :-) On 17 Jul 2007, at 18:12, Timo Sirainen wrote: auto_direct /mailstore/messages/p autofs direct,ignore,dev=4740014 11

Re: [Dovecot] Small problem with src/lib/mountpoint.c [now with patch attached!]

2007-07-18 Thread Mike Brudenell
Hi Timo, et al - On 17 Jul 2007, at 18:12, Timo Sirainen wrote: On 17.7.2007, at 13.55, Mike Brudenell wrote: auto_direct /mailstore/messages/p autofs direct,ignore,dev=4740014 1184648400 crypt2.york.ac.uk:/vol/vol9/p /mailstore/messages/p nfs proto=tcp,xattr,dev

[Dovecot] Small problem with src/lib/mountpoint.c [now with patch attached!]

2007-07-17 Thread Mike Brudenell
e loop skips over any such mounts (along with the existing tests for "swap" and "ignore"). I'm attaching my minimal patch in case it's of help to anyone else. (Timo: would it be possible to get this added into the distribution code if you agree it's right?) Ch

[Dovecot] Small problem with src/lib/mountpoint.c

2007-07-17 Thread Mike Brudenell
ore"). I'm attaching my minimal patch in case it's of help to anyone else. (Timo: would it be possible to get this added into the distribution code if you agree it's right?) Cheers, Mike Brudenell -- The Computing Service, University of York, Heslington, York Yo10 5DD,

[Dovecot] Getting quotas from an NFS-mounted filestore

2007-07-16 Thread Mike Brudenell
Greetings - I was just wondering what the state of play was with regard to reading filestore-based quotas when the mailstore is NFS-mounted? Timo mentioned a little while ago that he'd be including it: http://www.dovecot.org/list/dovecot/2007-May/022594.html However it isn't in 1.0.1 and

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-04 Thread Mike Brudenell
Greetings - On 4 Jul 2007, at 11:21, Peter Eriksson wrote: Uh.. I'n your case I think it would be quite easy. I think this should work: namespace private { separator = / prefix = snapshot-0/ location = maildir:~/Maildir/.snapshot/nightly. 0:CONTROL=~/.dovecot/control:INDEX=~/.

Re: [Dovecot] Maildir configuration vs ZFS and snapshots...

2007-07-04 Thread Mike Brudenell
Greetings - I'm intrigued by your suggestion of providing read-only access to mail folders in the snapshots... On 3 Jul 2007, at 15:20, Peter Eriksson wrote: Now,I can access the normal Maildir INBOX and folders nicely via Dovecot/IMAP. The thing is I'd like to be able to access the snapsho

Re: [Dovecot] Deferring, instead of rejecting, messages when at quota

2007-04-26 Thread Mike Brudenell
Greetings - On 26 Apr 2007, at 10:36, Magnus Holmgren wrote: In Exim, you can set the temp_errors option of the transport. I don't know what code is returned in this case, but I have temp_errors = 73:75:77:78:89. If Exim takes care of all the hard errors (like nonexisting user...) you can

[Dovecot] Deferring, instead of rejecting, messages when at quota

2007-04-26 Thread Mike Brudenell
Greetings - I'm having trouble working out where to alter this behaviour (so please forgive me if it turns out to be an Exim thing rather than Dovecot!)... My test service is using Exim as the MTA and Dovecot's "deliver" for the LDA. We are using Maildir mailboxes with filestore quotas.

Re: [Dovecot] imaptest10 and stalled messages

2007-03-30 Thread Mike Brudenell
Hi Timo et al, On 29 Mar 2007, at 17:52, Mike Brudenell wrote: But then the ODDNESS starts. I'm still a little hazy how to interpret the output of imaptest, but every now and then one or two processes stall for several seconds. When this happens activity seems to grow quieter i

Re: [Dovecot] imaptest10 and stalled messages

2007-03-29 Thread Mike Brudenell
Greetings - On 28 Mar 2007, at 20:45, Timo Sirainen wrote: - 12. stalled for 17 secs in LOGIN - 13. stalled for 17 secs in LOGIN .. When this happens, can you manually log in at the same time? Yes, but SLOWLY. It's making me think we're pushing the machine and/ or its 100Mbit network card

Re: [Dovecot] imaptest10 and stalled messages

2007-03-28 Thread Mike Brudenell
On 28 Mar 2007, at 18:15, Timo Sirainen wrote: - 16. stalled for 16 secs in LOGIN Try changing http://wiki.dovecot.org/LoginProcess settings, especially login_process_per_connection=no and see how much it helps. Sorry I forgot to give my current login and auth settings (which, I have to ad

[Dovecot] imaptest10 and stalled messages

2007-03-28 Thread Mike Brudenell
Greetings - I've now got as far as playing with the imaptest10 test utility to see if I can stress-test our development server. imaptest10 is built against dovecot-1.0rc28 It may just be that I'm excessively heavy handed, but when I let imaptest10 rip with the command... ./imaptest10 u

[Dovecot] Preparing for sharing with ACLs

2007-03-22 Thread Mike Brudenell
Greetings - I'm finalising the layout of our new mailstore ready for a trial service using Dovecot (switching from the UW IMAP server). This is using Maildir mailboxes, changing from our current mix of MBX and traditional Berkeley. One of the things we are often asked for is how someone

Re: [Dovecot] Alerts and pre-authenticated connections

2007-03-15 Thread Mike Brudenell
Many thanks, Timo... On 15 Mar 2007, at 13:59, Timo Sirainen wrote: On Thu, 2007-03-15 at 13:47 +, Mike Brudenell wrote: Can someone explain what I'm doing wrong, please, and how to use the dovecot --exec-mail imap trick to do pre-authenticated connections whilst getting loggin

Re: [Dovecot] Alerts and pre-authenticated connections

2007-03-15 Thread Mike Brudenell
Greetings - On 13 Mar 2007, at 16:08, Timo Sirainen wrote: On Tue, 2007-03-13 at 16:01 +, Mike Brudenell wrote: Q1. The UW IMAP Server supports "pre-authenticated connections" -- does Dovecot? dovecot --exec-mail imap I'm having some success with the above but... Wh

Re: [Dovecot] Hierarchy separator usage -- and a bijou bug? (was: Prayer, Maildir and Folders whose names begin with ".")

2007-03-13 Thread Mike Brudenell
Greetings - On 9 Mar 2007, at 19:40, Timo Sirainen wrote: I don't see any other way of doing this. Except possibly to give "invalid mailbox name" errors, or maybe even change the dot silently to some other character. All of these options kind of suck. We've been discussing this problem her

Re: [Dovecot] Alerts and pre-authenticated connections

2007-03-13 Thread Mike Brudenell
Greetings - On 13 Mar 2007, at 16:08, Timo Sirainen wrote: On Tue, 2007-03-13 at 16:01 +, Mike Brudenell wrote: Q1. The UW IMAP Server supports "pre-authenticated connections" -- does Dovecot? dovecot --exec-mail imap Excellent! I hadn't found that command line option