[Dovecot] GPFS for mail-storage (Was: Re: Compressing existing maildirs)

2012-01-03 Thread Jan-Frode Myklebust
On Sat, Dec 31, 2011 at 01:54:32AM -0600, Stan Hoeppner wrote: Nice setup. I've mentioned GPFS for cluster use on this list before, but I think you're the only operator to confirm using it. I'm sure others would be interested in hearing of your first hand experience: pros, cons, performance,

Re: [Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-03 Thread Jan-Frode Myklebust
On Tue, Jan 03, 2012 at 02:00:08PM +0200, Timo Sirainen wrote: So here on source you have namespace separator '.' and in destination you have separator '/'? Maybe that's the problem? Try with both having '.' separator. I added this namespace on the destination: namespace { inbox = yes

Re: [Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-03 Thread Jan-Frode Myklebust
On Tue, Jan 03, 2012 at 02:34:59PM +0200, Timo Sirainen wrote: On Tue, 2012-01-03 at 13:12 +0100, Jan-Frode Myklebust wrote: dsync-remote(janfr...@tanso.net): Error: Can't delete mailbox directory INBOX.a: Mailbox has children, delete them first Oh, this happens only with dsync backup

Re: [Dovecot] GPFS for mail-storage (Was: Re: Compressing existing maildirs)

2012-01-03 Thread Jan-Frode Myklebust
On Wed, Jan 04, 2012 at 12:09:39AM -0600, l...@airstreamcomm.net wrote: Could you remark on GPFS services hosting mail storage over a WAN between two geographically separated data centers? I haven't tried that, but know the theory quite well. There are 2 or 3 options: 1 - shared SAN

Re: [Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-02 Thread Jan-Frode Myklebust
On Mon, Jan 02, 2012 at 09:51:00AM -0500, Charles Marcus wrote: dovecot -n output? What are you using for the namespace hierarchy separator? I have the folder format default separator (maildir .), but still dovecot creates directories named .a.b. On receiving dsync server

[Dovecot] Dsync fails on second sync for folders with dot in the name

2012-01-01 Thread Jan-Frode Myklebust
I'm in the processes of running our first dsync backup of all users (from maildir to mdbox on remote server), and one problem I'm hitting that dsync will work fine on first run for some users, and then reliably fail whenever I try a new run: $ sudo dsync -u janfr...@example.net backup

Re: [Dovecot] doveadm + dsync merging

2011-12-30 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 08:59:35PM +0100, Attila Nagy wrote: Slightly different, but it would be good to have a persistently running daemon which could operate both in server and client mode. In server mode it would listen on a TCP socket. In client mode it would accept source and target

[Dovecot] lmtp-postlogin ?

2011-12-30 Thread Jan-Frode Myklebust
We have last-login tracking for imap and pop, and I intend to use this for deciding which users to backup daily. But, it would also be nice to backup users who has only received messages, but not logged in lately.. So is it possible to implement last-login tracking for lmtp ? I naively tried

Re: [Dovecot] lmtp-postlogin ?

2011-12-30 Thread Jan-Frode Myklebust
On Fri, Dec 30, 2011 at 02:03:34PM +0200, Timo Sirainen wrote: LMTP supports authentication, but Dovecot doesn't support it. And you most likely didn't mean that anyway. Yes, I know.. So, when would it be executed? When client connects? After each RCPT TO? After DATA? For my async

Re: [Dovecot] Compressing existing maildirs

2011-12-30 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 07:00:03AM -0600, Stan Hoeppner wrote: We just got rid of the legacy app that worked directly against the maildirs, which is the reason we now can turn on compression. I intend to switch to mdbox, but first I need to free up some disks by compressing the existing

Re: [Dovecot] Compressing existing maildirs

2011-12-30 Thread Jan-Frode Myklebust
On Fri, Dec 30, 2011 at 06:38:28PM -0600, Stan Hoeppner wrote: Roger that. Good strategy. You using SAN storage or local RAID? What filesystem do you plan to use for the new mailbox location? What OS is the Dovecot host? IBM DS4800 SAN-storage. Filesystem is IBM GPFS, which stripe all

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Jan-Frode Myklebust
On Wed, Dec 28, 2011 at 03:56:33PM -0800, Dovecot-GDH wrote: The cleanest (though not necessarily simplest) way to go about this would be to use dsync to create a new maildir and incrementally direct traffic to a separate Dovecot instance. Unless you have a legacy application that relies

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 03:10:20PM +0200, Timo Sirainen wrote: With mdbox the internal separator is '/', but it's not valid to have INBOX. prefix then (it should be INBOX/). But how should this be handled in the migration phase from maildir to mdbox then? Can we have different namespaces for

Re: [Dovecot] Compressing existing maildirs

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 02:55:40PM +0200, Timo Sirainen wrote: I.e. find all maildir-files: - with size in the name (*,S=*) - modified before I enabled zlib plugin As long as it doesn't find any already compressed mails.. Can't I trust that no mails with timestamp before I

[Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Jan-Frode Myklebust
Guess I don't quite get namespaces, but we have the following namespace configured: $ doveconf namespace namespace { hidden = no inbox = yes list = yes location = prefix = INBOX.

Re: [Dovecot] dsync / separator / namespace config-problem

2011-12-29 Thread Jan-Frode Myklebust
On Thu, Dec 29, 2011 at 03:49:57PM +0200, Timo Sirainen wrote: With mdbox the internal separator is '/', but it's not valid to have INBOX. prefix then (it should be INBOX/). But how should this be handled in the migration phase from maildir to mdbox then? Can we have different

[Dovecot] Compressing existing maildirs

2011-12-24 Thread Jan-Frode Myklebust
I've just enabled zlib for our users, and am looking at how to compress the existing files. The routine for doing this at http://wiki2.dovecot.org/Plugins/Zlib seems a bit complicated. What do you think about simply doing: find /var/vmail -type f -name *,S=* -mtime +1 -exec gzip -S Z -6

Re: [Dovecot] database failover

2011-12-12 Thread Jan-Frode Myklebust
On Mon, Dec 12, 2011 at 09:25:14PM +1000, Nick Edwards wrote: Thanks, we considered options, ruled out master-master for security, and since everything is with mysql (AAA) we decided not to introduce another database type, But LDAP master-master is sooo nice :-) and once you have your users in

[Dovecot] master user only for sieve

2011-12-07 Thread Jan-Frode Myklebust
Changes in SOGo is forcing me to define a master user, so that SOGo can disable sieve out-of-office processing on a given date. I'm not too happy about having master users that are allowed to read the users messages, so is it possible to define a master user that can only log in trough

Re: [Dovecot] master user only for sieve

2011-12-07 Thread Jan-Frode Myklebust
On Wed, Dec 07, 2011 at 12:32:21PM +0100, Stephan Bosch wrote: However, I do have a suggestion for a different approach. You can define a vacation response action with an expiry date, as follows: require [date, relational, vacation]; if currentdate :value le date 2011-12-09 {

Re: [Dovecot] lmtp panic in proxy lmtp director

2011-12-05 Thread Jan-Frode Myklebust
On Mon, Dec 05, 2011 at 03:26:54PM +0100, Xavier Pons wrote: Hi, we are getting some core dumps with signal 6 in ltmp on a dovecot director proxy server, like this: http://dovecot.org/list/dovecot/2011-September/060830.html

[Dovecot] Strange quota problem

2011-12-05 Thread Jan-Frode Myklebust
I have a strange problems with quota on v2.0.14. We have an ldap user directory, and all users should have a mailQuota defined there. My problem is that some users gets the quota enforced, while others don't, and doveadm user doesn't seem to agree with doveadm quota ge gett Ref: $

Re: [Dovecot] Strange quota problem

2011-12-05 Thread Jan-Frode Myklebust
On Mon, Dec 05, 2011 at 09:50:32PM +0200, Timo Sirainen wrote: On 5.12.2011, at 21.14, Jan-Frode Myklebust wrote: userdb: janfr...@example.net home : /usr/local/atmail/users/j/a/janfr...@example.net mailQuota : quota_rule=*:storage=210 it should say

Re: [Dovecot] v2.1.rc1 released

2011-11-25 Thread Jan-Frode Myklebust
On Thu, Nov 24, 2011 at 09:25:47PM +0200, Timo Sirainen wrote: I'm not sure if changing /etc/security/limits.conf helps. It's probably only used by PAM when user logs in, so if Dovecot is started in system bootup it's unlikely to have been even read yet. Also I think some OSes override the

Re: [Dovecot] Questions about Proxy/Director (was: Re: Indexes to MLC-SSD)

2011-11-24 Thread Jan-Frode Myklebust
On Thu, Nov 24, 2011 at 02:38:43PM +0100, Patrick Westenberg wrote: Jan-Frode Myklebust schrieb: MTA -(lmtp)-- dovecot-director ---(lmtp)--- backend-server1 \---(lmtp)--- backend-server2 IMAP-user -(imap)-- dovecot-director --(imap) -- backend

Re: [Dovecot] Questions about Proxy/Director (was: Re: Indexes to MLC-SSD)

2011-11-24 Thread Jan-Frode Myklebust
On Thu, Nov 24, 2011 at 02:35:55PM +0100, Patrick Westenberg wrote: - What happens if the MTA accepted a message but the backend-server fails and is unable to store it? Your MTA will be notified about the failure trough SMTP/LMTP error codes, and retry if it was a temp-failure. - What about

Re: [Dovecot] Indexes to MLC-SSD

2011-11-22 Thread Jan-Frode Myklebust
On Tue, Nov 22, 2011 at 11:17:12AM +0100, Patrick Westenberg wrote: No. I want to know if dovecot writes to the indexes if it receives a mail via lmtp. Someone proposed to store the index files on a locally installed SSD on a frontend (imap) machine and stick the users to that machine but

Re: [Dovecot] Indexes to MLC-SSD

2011-11-21 Thread Jan-Frode Myklebust
On Mon, Nov 21, 2011 at 10:45:49PM +0100, Patrick Westenberg wrote: Timo Sirainen schrieb: On Wed, 2011-11-16 at 19:40 +0100, Patrick Westenberg wrote: I already use lmtp:unix:private/dovecot-lmtp as transport but where is the link to the indexes? You can switch to lmtp:tcp:1.2.3.4:24 where

Re: [Dovecot] Dovecot performance issues with many writes

2011-11-17 Thread Jan-Frode Myklebust
On Thu, Nov 17, 2011 at 03:30:07PM -0600, Andy Robbins wrote: We are currently experiencing performance issue with our Dovecot system which we believe is caused by excessive writes to the dovecot files. The confusing thing is that we are seeing more writes than reads on our Dovecot volume when

Re: [Dovecot] Performance-Tuning

2011-11-14 Thread Jan-Frode Myklebust
On Mon, Nov 14, 2011 at 10:34:02AM +0100, Peer Heinlein wrote: I have 11 TB hard used Mailstorage, saved als maildir in ext3 on HP EVA. You have 11 TB of mails on a non cluster filesystem? Yes. I don't believe a clustered filesystem would have more performance and would be

Re: [Dovecot] doveadm delete-user ?

2011-11-04 Thread Jan-Frode Myklebust
On Fri, Nov 04, 2011 at 10:41:26PM +0200, Timo Sirainen wrote: On Wed, 2011-11-02 at 09:57 +0100, Jan-Frode Myklebust wrote: IMHO it would be great if we could both provision and un-provision users without having the provisioning system mess with files in the filesystem. Provisioning new

[Dovecot] doveadm delete-user ?

2011-11-02 Thread Jan-Frode Myklebust
IMHO it would be great if we could both provision and un-provision users without having the provisioning system mess with files in the filesystem. Provisioning new users works fine since dovecot will create all files/directories on first login, but I haven´t found the tools to un-provison them. I

Re: [Dovecot] Panic: file lmtp-proxy.c: line 370 (lmtp_proxy_output_timeout): assertion failed: (proxy-data_input-eof)

2011-09-30 Thread Jan-Frode Myklebust
On Thu, Sep 29, 2011 at 04:09:02PM +0100, mailing lists wrote: Hello all, today I got this crash from dovecot (2.0.14) FYI: You're not alone.. http://dovecot.org/list/dovecot/2011-September/060830.html I seem to remember thinking this probably was caused by too short

Re: [Dovecot] What best decision to make for flatfiles or SQL when I use Dovecot2 + Postfix together?

2011-09-28 Thread Jan-Frode Myklebust
On Tue, Sep 27, 2011 at 08:51:18AM -0700, terryjames9...@mm.st wrote: I'm a little confused about: to do that sharing-in-one-place, do I have to use SQL or can I use the flatfiles like passwd-db? I think for sure someone already decided the best approach for this, and maybe I'm not

Re: [Dovecot] Warning: Subscriptions file .. Removing invalid entry:

2011-09-15 Thread Jan-Frode Myklebust
On Thu, Sep 15, 2011 at 02:50:08PM +0300, Timo Sirainen wrote: Sep 13 20:39:20 popimap1 dovecot: pop3(xx...@y.yy): Warning: I/O leak: 0x3829233d20 (10) Sep 13 20:39:20 popimap1 dovecot: pop3(xx...@y.yy): Warning: Timeout leak: 0x3829233ce0 Could you show the

[Dovecot] Warning: Subscriptions file .. Removing invalid entry:

2011-09-14 Thread Jan-Frode Myklebust
One of our dovecot-servers (v2.0.14) got a bit too busy last evening: Sep 13 20:39:18 popimap1 dovecot: master: Warning: service(pop3-login): process_limit reached, client connections are being dropped then logged a few: Sep 13 20:39:20 popimap1 dovecot:

Re: [Dovecot] Warning: Subscriptions file .. Removing invalid entry:

2011-09-14 Thread Jan-Frode Myklebust
On Wed, Sep 14, 2011 at 09:12:52AM +0200, Jan-Frode Myklebust wrote: but what has me a bit worried is these: imap(u...@xxx.xxx): Warning: Subscriptions file /path/to/u...@xxx.xxx/subscriptions: Removing invalid entry: .Sent imap(u...@xxx.xxx): Warning: Subscriptions file /path

Re: [Dovecot] director ignoring director_mail_servers for lmtp connections

2011-09-13 Thread Jan-Frode Myklebust
On Mon, Sep 12, 2011 at 04:55:51PM +0100, mailing lists wrote: how I can redirect incoming lmtp request to backend lmtp servers (and not just one)? what I'm missing here? director_mail_servers = 101.180.245.101 director_servers = 101.180.245.101 Is this a loop maybe?

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-09 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 04:03:58PM +0300, Timo Sirainen wrote: So the No such object isn't expected.. Maybe different LDAP servers work in different ways?.. Yours appears to give out the difference between user doesn't exist and wrong password? Does the attached patch change these to unknown

Re: [Dovecot] Shared Mailboxes with VirtualUsers and mail_location retrieved from ldap

2011-09-09 Thread Jan-Frode Myklebust
On Fri, Sep 09, 2011 at 08:18:40AM +0100, mailing lists wrote: and how to I might configure dovecot to use the mail directory as a subdirectory of the home directory? this way all lookups for home (with %%h fetched from ldap) will return the correct locationand mail will be in (i.e.)

[Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
I've had 18 instances of this error the last 24 hours: Sep 8 08:56:00 popimap1 dovecot:: lmtp(10529, first.l...@example.om): mGdAOtdlaE4hKQAAg/aw4w: msgid=b8fa3d5b230184409450d51d522678404e5...@asp-ex02.asp.lan: save failed to INBOX: BUG: Unknown internal error 17 on lmtp-server A,

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 11:53:26AM +0300, Timo Sirainen wrote: Hmm. These are pretty annoying to find. I looked through the sources and.. Well, found one possible reason for it. Try applying these patches and see what it says then: http://hg.dovecot.org/dovecot-2.0/raw-rev/858298eb101f

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 01:31:22PM +0300, Timo Sirainen wrote: I couldn't find any.. but these BUG:-messages were logged as debug or info level syslog messages, which quickly drowns in everything else on busy pop/imap-servers. That's why I prefer logging errors and warnings to separate

Re: [Dovecot] limit number of simultaneous lmtp deliveries ?

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 01:42:16PM +0300, Timo Sirainen wrote: Well, I added even more debugging output for this message: http://hg.dovecot.org/dovecot-2.0/raw-rev/8de8752b2e94 Would be interesting to know what it logs with that. Postfix logs: Sep 8 13:14:28 asav7

Re: [Dovecot] lmtp -- save failed to INBOX: BUG: Unknown internal error

2011-09-08 Thread Jan-Frode Myklebust
On Thu, Sep 08, 2011 at 04:03:58PM +0300, Timo Sirainen wrote: It shouldn't be behaving like that.. Are you saying that all unknown user failures are logged as those errors? Seems so yes. I get without auth_bind_userdn: Sep 08 15:56:08 auth: Info: ldap(foo,127.0.0.1): unknown user

Re: [Dovecot] limit number of simultaneous lmtp deliveries ?

2011-09-07 Thread Jan-Frode Myklebust
On Mon, Sep 05, 2011 at 07:50:20PM +0300, Timo Sirainen wrote: Possibly randomly either one. I'll need to start looking into these LMTP proxy bugs some day.. Although for 2.0.14 I improved the error messages a little. Is this from 2.0.14 or earlier? It's with v2.0.14 on both director and

Re: [Dovecot] is it necessary lmtp and director to avoid index corruption in mail delivery?

2011-09-07 Thread Jan-Frode Myklebust
On Wed, Sep 07, 2011 at 11:26:28AM +0100, mailing lists wrote: Hello all, If I have several postfix/dovecot-lda boxes with shared nfs storage, how director helps in this scenario? The director can help by directing each unique user to the same backend server for each delivery, which should

[Dovecot] limit number of simultaneous lmtp deliveries ?

2011-09-05 Thread Jan-Frode Myklebust
We have quite a few frontend mail gateways that deliver incoming email trough our dovecot director (lmtp proxy) to the backend lmtp servers, and are seeing this logged on the frontend mail gateways: Sep 5 10:51:56 mailgw1 postfix/lmtp[23443]: 0E2F41C01A: to=m...@example.com,

Re: [Dovecot] lmtp bouncing -- Invalid parameters (in reply to MAIL FROM command)

2011-09-01 Thread Jan-Frode Myklebust
On Wed, Aug 31, 2011 at 02:38:50PM +0300, Timo Sirainen wrote: On Wed, 2011-08-31 at 13:21 +0200, Jan-Frode Myklebust wrote: mail from:a b@no.no 501 5.5.4 Invalid parameters This is fixed in v2.0.14. Wow, you're quick :-) Thanks! -jf

[Dovecot] Crash in director/lmtp-proxy (lmtp_proxy_output_timeout)

2011-09-01 Thread Jan-Frode Myklebust
FYI, we saw one panic on our director/lmtp-proxy yesterday. It's running dovecot v2.0.13, so it very well might have been fixed already.., but here it is anyway: Aug 31 11:33:31 loadbalancer1 dovecot:: lmtp(4119): Panic: file lmtp-proxy.c: line 370 (lmtp_proxy_output_timeout): assertion

[Dovecot] lmtp bouncing -- Invalid parameters (in reply to MAIL FROM command)

2011-08-31 Thread Jan-Frode Myklebust
I just configured postfix' virtual_transport to point at my dovecot director, but am seeing occational problems like this: Aug 31 11:50:06 smtpgw postfix/lmtp[5339]: 69E2F5410D: to=em...@example.net, relay=loadbalancers.example.net[192.168.42.17]:24, delay=0.15, delays=0.14/0.01/0/0,

Re: [Dovecot] lmtp bouncing -- Invalid parameters (in reply to MAIL FROM command)

2011-08-31 Thread Jan-Frode Myklebust
On Wed, Aug 31, 2011 at 01:03:07PM +0200, Jan-Frode Myklebust wrote: I just configured postfix' virtual_transport to point at my dovecot director, but am seeing occational problems like this: Aug 31 11:50:06 smtpgw postfix/lmtp[5339]: 69E2F5410D: to=em...@example.net, relay

Re: [Dovecot] director monitoring?

2011-08-05 Thread Jan-Frode Myklebust
On Thu, Jun 02, 2011 at 12:29:10PM -0700, Kelsey Cummings wrote: I'm using a hacked up version of poolmon. The only important changes are that it actually logs into the real server rather than just making a connection to it and that has heuristics to prevent the real servers from flapping and

Re: [Dovecot] director monitoring?

2011-08-05 Thread Jan-Frode Myklebust
On Thu, Jun 02, 2011 at 10:37:23AM +0200, Cor Bosman wrote: We use a setup as seen on http://grab.by/agCb for about 30.000 simultaneous(!) imap connections. Are you doing NFS against the Netapp(s)? I've always assumed that maildir wouldn't work on NFS (to slow fstat's), but would be

[Dovecot] high number of processes

2011-06-14 Thread Egbert Jan van den Bussche
0t0 13565904 /var/run/dovecot/login/default dovecot-a 12941 root 19u unix 0x8800a68a9800 0t0 13610586 /var/run/dovecot/login/default TNX for any advise! Egbert Jan HCC!Hobbynet, NL

[Dovecot] Question about Dovecot-ACLs

2011-06-09 Thread Jan Phillip Greimann
dovecot by any way? Thanks, Jan

Re: [Dovecot] .dovecot.sieve as Mailbox

2011-04-12 Thread Jan Phillip Greimann
be in ~/ ? Sorry for my bad english :) Sorry for my bad english too ^^ Greetings Jan P. Greimann Administrator (in training)

Re: [Dovecot] Fwd: .dovecot.sieve as Mailbox

2011-04-12 Thread Jan Phillip Greimann
Am 12.04.2011 14:20, schrieb Francisco Wagner C. Freire: -- Forwarded message -- From: Francisco Wagner C. Freirewgrcu...@gmail.com Date: Tue, Apr 12, 2011 at 9:20 AM Subject: Re: [Dovecot] .dovecot.sieve as Mailbox To: Jan Phillip Greimannj...@softjury.de Yeah, i can do

Re: [Dovecot] imap-login: Panic: file ioloop.c: line 35 (io_add): assertion failed:

2011-04-08 Thread Jan-Frode Myklebust
On Mon, Apr 04, 2011 at 04:39:35PM +0300, Timo Sirainen wrote: On Fri, 2011-04-01 at 09:25 +0200, Jan-Frode Myklebust wrote: My dovecot directors (v2.0.8) had 3 instances of these yesterday: imap-login: Panic: file ioloop.c: line 35 (io_add): assertion failed: (fd = 0) master

Re: [Dovecot] Managing public folder ACL files

2011-04-06 Thread Jan Phillip Greimann
, some groups could be combined. I think a global public-folder management would be nice, in example via ldap or mysql (or in a file). Dovecot reads this and create mail-folders and acl files for the configuration. Greetings, Jan Phillip Greimann

[Dovecot] imap-login: Panic: file ioloop.c: line 35 (io_add): assertion failed:

2011-04-01 Thread Jan-Frode Myklebust
My dovecot directors (v2.0.8) had 3 instances of these yesterday: imap-login: Panic: file ioloop.c: line 35 (io_add): assertion failed: (fd = 0) master: Error: service(imap-login): child 17374 killed with signal 6 (core dumps disabled) imap-login: Panic: file ioloop.c:

[Dovecot] inotify and network/cluster filesystems

2011-04-01 Thread Jan-Frode Myklebust
(dovecot v1.2.16) I've notice the log notices about increasing /proc/sys/fs/inotify/max_user_instances on my servers, and started wondering if inotify works for network/cluster filesystems.. I found this: http://www.ibm.com/developerworks/forums/thread.jspa?threadID=311194 which says

Re: [Dovecot] inotify and network/cluster filesystems

2011-04-01 Thread Jan-Frode Myklebust
On Fri, Apr 01, 2011 at 03:10:47PM +0300, Timo Sirainen wrote: So, are there any recommendations for what settings one should use for for filesystems where inotify woun't work ? Are there settings for disabling it (without recompiling)? Why not just keep it enabled? There shouldn't be

[Dovecot] dovecot ldap failed to recover

2011-03-30 Thread Jan-Frode Myklebust
One of our backend pop/imap-server running dovecot v1.2.16 experienced some problems yesterday. It suddenly couldn't authenticate users anymore, flooding the logs with: pop3-login: Disconnected (auth failed, 1 attempts): user=us...@example.com, method=PLAIN, rip=192.168.42.15,

[Dovecot] Dict spams in my Log-File

2011-03-16 Thread Jan Phillip Greimann
Hi there, i use dovecot 2.0.9 with mysql as backend. I've also configured dict to mysql, but after some time dict spams in my log-file, i don't know why. Hope someone can help me with this. Greetings from Germany Jan P. Greimann mail.log [...] Mar 16 10:29:35 s16 dovecot: dict

Re: [Dovecot] dsync problem: Error: Can't rename mailbox INBOX

2011-02-19 Thread Jan Binder
Am Donnerstag 17 Februar 2011, 17:14:45 schrieb Timo Sirainen: On Thu, 2011-02-17 at 14:25 +0100, Jan Binder wrote: dsync-local(jan.binder): Error: Can't rename mailbox INBOX to INBOX_a432bf2eca595a4dba4743b078f4: Renaming INBOX isn't supported. dsync-local(jan.binder): Error: Can't

[Dovecot] dsync problem: Error: Can't rename mailbox INBOX

2011-02-17 Thread Jan Binder
} Should this usage of dsync work in principle? Best regards, Jan Binder

Re: [Dovecot] dsync problem: Error: Can't rename mailbox INBOX

2011-02-17 Thread Jan Binder
Am Donnerstag 17 Februar 2011, 17:14:45 schrieb Timo Sirainen: On Thu, 2011-02-17 at 14:25 +0100, Jan Binder wrote: dsync-local(jan.binder): Error: Can't rename mailbox INBOX to INBOX_a432bf2eca595a4dba4743b078f4: Renaming INBOX isn't supported. dsync-local(jan.binder): Error: Can't

Re: [Dovecot] Great time savings backing a mdbox versus Maildir

2011-02-08 Thread Jan-Frode Myklebust
On Tue, Feb 08, 2011 at 08:42:40AM +0100, Javier Miguel Rodríguez wrote: I am writing to this mailing list to thanks Timo for dovecot 2 mdbox. We have almost 30.000 active users and our life was sad with Maildir backup: 24 hours for a full backup with bacula (zlib enabled maildirs,

Re: [Dovecot] NoSQL Storage Backend

2011-02-08 Thread Jan-Frode Myklebust
On Tue, Feb 8, 2011 at 1:22 PM, Marten Lehmann lehm...@cnm.de wrote: Modern object stores like Scality, CouchDB or MongoDB can be very handy, as they easily allow to keep an arbitrary amount of copies of each message on different servers, you can simply add a storage node and new storage is

[Dovecot] converting from maildir to mdbox ?

2011-02-08 Thread Jan-Frode Myklebust
I´m considering moving from maildir to mdbox, but don´t quite see how I should do the conversion with minimal downtime. Our userdb is ldap, and the we use this setting to point to the users maildirectory: user_attrs =

Re: [Dovecot] Best filesystem?

2011-01-30 Thread Jan-Frode Myklebust
On Mon, Jan 31, 2011 at 12:40:11AM +0200, Timo Sirainen wrote: On Sun, 2011-01-30 at 16:13 -0600, Stan Hoeppner wrote: be, but it still gives you 0 byte files, so make sure you have a good UPS .. Q: Why do I see binary NULLS in some files after recovery when I unplugged the power

Re: [Dovecot] Best Cluster Storage

2011-01-23 Thread Jan-Frode Myklebust
On Sun, Jan 23, 2011 at 02:01:49AM -0200, Henrique Fernandes wrote: It is better, because now we have an decent webmail ( horde with dimp enable, before were just imp ) , and most people use to have pop configured, becasue of quota of 200mb, and little user use webmail. Now much more people

Re: [Dovecot] Best Cluster Storage

2011-01-23 Thread Jan-Frode Myklebust
On Sun, Jan 23, 2011 at 09:54:56AM +, John Moorhouse wrote: http://www.sogo.nu/ http://www.sogo.nu/english/tour/online_demo.html Have a look at roundcube http://roundcube.net/ Yes, roundcube is looking good, but AFAIK it's missing an integrated calendar. -jf

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Jan-Frode Myklebust
On Fri, Jan 21, 2011 at 01:08:09AM +0200, Timo Sirainen wrote: On Thu, 2011-01-20 at 23:50 +0100, Jan-Frode Myklebust wrote: But this woun´t work if the maildir has been modified outside of dovecot (i.e. webmail usage). Are there any simple interface I can use in this short snippet

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Jan-Frode Myklebust
On Fri, Jan 21, 2011 at 03:08:26PM +0200, Timo Sirainen wrote: $ doveadm -v mailbox status -u u...@example.com unseen inbox doveadm(u...@example.com): Error: userdb lookup: connect(/usr/local/dovecot-2.0.9/var/run/dovecot/auth-userdb) failed: No such file or directory Then you'll

Re: [Dovecot] utility to update indexes ?

2011-01-21 Thread Jan-Frode Myklebust
On Fri, Jan 21, 2011 at 10:36:11AM -0500, Charles Marcus wrote: Easiest would be to just use a webmail app that talks IMAP and let it talk directly to dovecot... ? Yes, we want to implement that as soon as possible. Looking forward to getting everything all maildirs completely managed

Re: [Dovecot] ldap auth error

2011-01-20 Thread Jan-Frode Myklebust
On Wed, Jan 19, 2011 at 05:27:52PM -0500, Charles Marcus wrote: On 2011-01-19 5:04 PM, pch0317 wrote: I have dovecot 2.0.beta6 and I'm newbie with dovecot. First assignment: upgrade to 2.0.9... why waste time fighting with bugs that are already long fixed? RHEL6 ships dovecot 2.0-beta6

Re: [Dovecot] Best Cluster Storage

2011-01-20 Thread Jan-Frode Myklebust
On Thu, Jan 20, 2011 at 5:20 PM, Henrique Fernandes sf.ri...@gmail.com wrote: Not all, if this counts as large:        Filesystem            Size  Used Avail Use% Mounted on        /dev/gpfsmail      9.9T  8.7T  1.2T  88% /maildirs        Filesystem            Inodes   IUsed   IFree

[Dovecot] utility to update indexes ?

2011-01-20 Thread Jan-Frode Myklebust
We have both dovecot and a webmail application that are both modifying our users maildirs, so dovecot indexes can be out of sync when the webmail has been messing with the maildirs. We also have a webservice that report how many unread messages a user has in his inbox, which is simply counting

Re: [Dovecot] rotate logs ?

2011-01-18 Thread Egbert Jan van den Bussche
Same advise. Works flawlessly. Egbert Jan Op 18-1-2011 10:41, Nick Lunt schreef: -Original Message- From: dovecot-bounces+nick.lunt=patech-solutions@dovecot.org [mailto:dovecot-bounces+nick.lunt=patech-solutions@dovecot.org] On Behalf Of Frank Bonnet Sent: 18 January 2011 09

Re: [Dovecot] Best Cluster Storage

2011-01-16 Thread Jan-Frode Myklebust
On Fri, Jan 14, 2011 at 05:16:50PM -0800, Brad Davidson wrote: Don't give up on the simplest solution too easily - lots of us run NFS with quite large installs. As a matter of fact, I think all of the large installs run NFS; hence the need for the Director in 2.0. Not all, if this counts

Re: [Dovecot] Web Based User Management

2011-01-14 Thread Egbert Jan van den Bussche
160 domains, 5000 aliases and 900 mailboxes. All virtual offcause. Postfix, Dovecot, Roundcube, Mailman, All server side virus and spam software. Egbert Jan

Re: [Dovecot] v2.0.9 released

2011-01-13 Thread Jan-Frode Myklebust
On Thu, Jan 13, 2011 at 01:21:26PM +0200, Timo Sirainen wrote: I'm still lagging behind in my email, but I guess it's time to release v2.0.9 anyway. - Linux: Fixed a high system CPU usage / high context switch count performance problem Is this relevant to RHEL5 kernels

[Dovecot] Connection queue full on my directors

2011-01-11 Thread Jan-Frode Myklebust
I finally upgraded to v1.2.16 on my backend servers, with ldap instead of previously mysql, and put a couple of dovecot v2.0.8 directors in front of them (used haproxy previously). It seemed to work OK initially, but after a few hours we got bit by Connection queue full problems on the

Re: [Dovecot] Connection queue full on my directors

2011-01-11 Thread Jan-Frode Myklebust
On Tue, Jan 11, 2011 at 04:31:03PM +0200, Timo Sirainen wrote: Well, switching to high performance mode would work better for proxies: http://wiki2.dovecot.org/LoginProcess That text does a good job at scaring me away from high perf mode.. I wouldn't want any attackers stealing my user's

Re: [Dovecot] Last login

2011-01-10 Thread Egbert Jan van den Bussche
Op 9-1-2011 23:55, Jan-Frode Myklebust schreef: On Sun, Jan 09, 2011 at 09:19:39PM +0100, Egbert Jan van den Bussche wrote: I'm trying to find a way to find inactive users. What we do is to touch a file upon every login: protocol imap { snip mail_executable = /usr/local

Re: [Dovecot] Last login

2011-01-10 Thread Jan-Frode Myklebust
On Mon, Jan 10, 2011 at 04:57:19PM +0100, Egbert Jan van den Bussche wrote: This works fine! I had to change the path but that is Ubuntu versus your distro. One question though: I have file called dump-capability in the ...activeaccounts/imap dir. Any idea what that is? Maybe generated

[Dovecot] Last login

2011-01-09 Thread Egbert Jan van den Bussche
.../vmail/domain/user/Maildir tree. I'n running 1.2.9 on ububtu 10.04 LTS with posttfix and postfixadmin. The users (all are virtual) reside in the postfixadmin MySQL tables. TNX Egbert Jan (NL)

Re: [Dovecot] Last login

2011-01-09 Thread Jan-Frode Myklebust
On Sun, Jan 09, 2011 at 09:19:39PM +0100, Egbert Jan van den Bussche wrote: I'm trying to find a way to find inactive users. What we do is to touch a file upon every login: protocol imap { snip mail_executable = /usr/local/dovecot/sbin/imap-wrapper.sh } protocol pop3

Re: [Dovecot] Pointers for developing a proper encryption plugin?

2011-01-07 Thread Jan-Frode Myklebust
On Thu, Jan 06, 2011 at 02:05:29PM -0500, Michael Orlitzky wrote: This still doesn't work, because the administrator is the one who tells the system to encrypt messages as they arrive. He can peek at the messages before they're encrypted with the user's public key. That's a small window

[Dovecot] Lazy expunge for performance ?

2011-01-05 Thread Jan-Frode Myklebust
Some filesystems are quite slow at deleting files, so I'm wondering if anybody is using the lazy expunge plugin to implement a solution where expunged messages are moved to a separate directory structure within the same filesystem, and later deleted as a nighly batchjob ? Assuming expunge

[Dovecot] dovecot 2.0.8 defaults to require ipv6 ?

2011-01-05 Thread Jan-Frode Myklebust
FYI it seems dovecot 2.0.8 fails to start on RHEL5 with IPv6 disabled (alias net-pf-10 off in modprobe.conf) unless one specify listen = *. Not sure if this is a known problem, or just a hint that we should start enabling ipv6 on our mailservers... ;-) -jf

Re: [Dovecot] dovecot 2.0.8 defaults to require ipv6 ?

2011-01-05 Thread Jan-Frode Myklebust
On Wed, Jan 05, 2011 at 02:02:12PM +0100, Jan-Frode Myklebust wrote: FYI it seems dovecot 2.0.8 fails to start on RHEL5 with IPv6 disabled (alias net-pf-10 off in modprobe.conf) unless one specify listen = *. i.e., without listen = * it complains: Error: service(pop3-login): listen

Re: [Dovecot] Automatic Debian Dovecot repository now also includes amd64 binary packages.

2011-01-04 Thread Jan Behrend
extended the slave builder with support for multiple architectures and I've added amd64 binaries to the repository. Hello Stephan, has the amd64 build process stopped recently? I noticed no more updates in the amd64 repository while the i386 repository has plenty. Cheers Jan -- MAX

Re: [Dovecot] Finally upgrading from v1.0.15 to v1.2.16 -- advice please

2011-01-04 Thread Jan-Frode Myklebust
On Tue, Jan 04, 2011 at 11:35:42AM +0200, Timo Sirainen wrote: You could have upgraded from v1.0 to v1.1 or v1.1 to v1.2 incrementally, but v1.2's index changes haven't been backported to v1.0, so if v1.0 accesses indexes modified by v1.2 you'll probably get some errors. I think we'll just

Re: [Dovecot] Finally upgrading from v1.0.15 to v1.2.16 -- advice please

2011-01-04 Thread Jan-Frode Myklebust
On Tue, Jan 04, 2011 at 12:44:26PM +0200, Timo Sirainen wrote: user_attrs = mailMessageStore=mail=maildir:%$:INDEX=/usr/local/atmail/users/indexes/%1u/%1.1u/%u, mailQuota=quota_rule=*:storage=%$ i.e. will it point dovecot at: mail = maildir:/usr/local

Re: [Dovecot] Finally upgrading from v1.0.15 to v1.2.16 -- advice please

2011-01-04 Thread Jan-Frode Myklebust
On Tue, Jan 04, 2011 at 03:37:47PM +0200, Timo Sirainen wrote: You don't have plugin { quota=maildir } We didn't have any plugin-setting for this with v1.0, and it wasn't obvious to me that we also needed this plugin-definition in addition to the quota_rule string per user. Works now

[Dovecot] Finally upgrading from v1.0.15 to v1.2.16 -- advice please

2011-01-03 Thread Jan-Frode Myklebust
It's long over due, but now I finally plan on upgrading from v1.0.15 to v1.2.16 on our servers. Would appreciate any comments! We have 7 servers, all running of the same GPFS filesystem. Both maildirs and indexes are stored here. We use dovecot for POP/IMAP and deliver. Currently we're using

[Dovecot] dovecot director terminate ssl ?

2011-01-03 Thread Jan-Frode Myklebust
I plan on putting two dovecot directors in front of our backend dovecot pop/imap servers, instead of our current haproxy loadbalancing of the connections -- but how do we handle SSL in such a setup. Will all SSL be terminated on the directors automatically, and then proxyed plain text, or is there

<    1   2   3   4   5   >