Re: [Dovecot] log for each user

2009-08-25 Thread Thomas G. Lau
Dear Pascal, rawlog does not include timestamp on the log, how is it possible to be done, also, is it possible to combine in, out log into one? so that we could see the whole picture Pascal Volk wrote: On 08/25/2009 06:57 AM Thomas G. Lau wrote: Dear all, does anyone did any scripting t

Re: [Dovecot] log for each user

2009-08-25 Thread Seth Mattinen
Thomas G. Lau wrote: > Dear Pascal, > > rawlog does not include timestamp on the log, how is it possible to be > done, also, is it possible to combine in, out log into one? so that we > could see the whole picture > Syslog. ~Seth

Re: [Dovecot] log for each user

2009-08-25 Thread Thomas G. Lau
Dear Seth, any docs shows how to pipe rawlog into syslog ? Seth Mattinen wrote: Thomas G. Lau wrote: Dear Pascal, rawlog does not include timestamp on the log, how is it possible to be done, also, is it possible to combine in, out log into one? so that we could see the whole picture

Re: [Dovecot] Dovecot and LDAP-Quotas

2009-08-25 Thread south africa
> Do you have any other userdbs now? What does dovecot-ldap-userdb.conf > now contain? Is it only quota that's now broken or the logins > completely? The dovecot-ldap-userdb.conf is only a symbolic link on the original dovecot-ldap.conf. Only the ldap-quota is broken. The normal ldap-authentific

[Dovecot] Two server certificates for two common names

2009-08-25 Thread Δημήτριος Καραπιπέ ρης
Hi there! I have two DNS records mail1.domain.tld mail2.domain.tld I have issued SSL server Certificates for both my domain names. Is it possible to tell dovecot to use both , depending on client access; clients using the mail1.domain.tld be served by the mail1.domain.tld .key and .cert and t

Re: [Dovecot] Problem with ldap error logging

2009-08-25 Thread Bernie Innocenti
El Mon, 24-08-2009 a las 18:27 +0200, Stefano Fedrigo escribió: > > I guess I could work around it, but then again no one else has had this > > problem.. It'll be fixed in v2.0 in any case. > > Of course the main problem is with Openldap, but such a fix could be very > useful to improve system's r

[Dovecot] LDAP: Connection lost to LDAP server, reconnecting

2009-08-25 Thread McShel
Hi! Sorry by my english. Set Postfix + dovecot + AD + ldap, everything works well, but appears in the logs, every 15 minutes: auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting Standart limit ldap connect to AD 15 minutes. Can somehow fix this problem without increasing the

Re: [Dovecot] log for each user

2009-08-25 Thread Timo Sirainen
mail_log plugin, not rawlog. On Tue, 2009-08-25 at 15:37 +0800, Thomas G. Lau wrote: > Dear Pascal, > > rawlog does not include timestamp on the log, how is it possible to be > done, also, is it possible to combine in, out log into one? so that we > could see the whole picture > > Pascal Volk

Re: [Dovecot] Dovecot and LDAP-Quotas

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 04:08 -0700, south africa wrote: > Aug 25 11:51:18 auth(default): Info: client in: AUTH1 PLAIN > service=pop3secured lip=123.456.789.72 rip=192.168.1.2 > lport=995 rport=1984 > Aug 25 11:51:18 auth(default): Info: client out: CONT 1 > Aug 25 1

Re: [Dovecot] Problem with ldap error logging

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 00:29 -0400, Bernie Innocenti wrote: > On upgrading to Dovecot 1.2.3, the "cmusieve" plugin was replaced by > "sieve", so I started getting these errors in my maillog until I fixed > the configuration: > > Aug 19 11:33:26 trinity dovecot: deliver(bernie): Fatal: Plugin cmus

Re: [Dovecot] LDAP: Connection lost to LDAP server, reconnecting

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 16:09 +0400, McShel wrote: > Hi! Sorry by my english. Set Postfix + dovecot + AD + ldap, everything works > well, but appears in the logs, every 15 minutes: > > auth(default): Error: LDAP: Connection lost to LDAP server, reconnecting > > Standart limit ldap connect to AD 15

[Dovecot] setting up both system password users AND virtual users

2009-08-25 Thread Markus Bonet
Hi, I want to pick up this discussion. I am trying to achieve the same, but I am using Maildir instead. Here's the (relevent part of the) config file as configured by the recent suggestion: # We're using Maildir format mail_location = maildir:~/Maildir # Authentication configuration: auth_verbo

[Dovecot] scalability and arhive ideas

2009-08-25 Thread fernando
Hi, I´m reading the past topics related to archive and scalability of dovecot, they are all very interesting. Here, I´m using two dovecot proxies in front of five storages pairs, and we split the domain´s accounts among those servers. So, we can share the i/o load and if one server goes down only

Re: [Dovecot] LDAP: Connection lost to LDAP server, reconnecting

2009-08-25 Thread McShel
25.08.09, 17:32, "Timo Sirainen" : > On Tue, 2009-08-25 at 16:09 +0400, McShel wrote: > > Hi! Sorry by my english. Set Postfix + dovecot + AD + ldap, everything > > works well, but appears in the logs, every 15 minutes: > > > > auth(default): Error: LDAP: Connection lost to LDAP server, reconnec

Re: [Dovecot] LDAP: Connection lost to LDAP server, reconnecting

2009-08-25 Thread Charles Marcus
On 8/25/2009, McShel (mcs...@yandex.ua) wrote: > Thank you! You include this fix in the next release? He always does... :) -- Best regards, Charles

Re: [Dovecot] dovecot-auth failed: Not enough space

2009-08-25 Thread S. A. Woltering
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Working and now on an HA cluster. Thanks Timo. A Timo Sirainen wrote: > On Mon, 2009-08-24 at 17:36 +0100, S. A. Woltering wrote: >> # /opt/dovecot/sbin/dovecot >> Info: If you have trouble with authentication failures, >> enable auth_debug setting. S

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 11:00 -0300, ferna...@dfcom.com.br wrote: > this is very weird and (at same time) very interesting approach. Instead > of put all messages into one maildir and this maildir into one server, > this "maildir" (?) is spplited among many servers - so, if one servers > fails the ac

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread fernando
Hi Timo, Yes it´s related, but I don´t understand '... You'll just need to implement a filesystem that allows distributing a single user's mails to multiple servers ...'. My idea is just in the direction that we don´t need to care about filesystem, we don´t need any distribuited filesystem...let

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 12:12 -0300, ferna...@dfcom.com.br wrote: > Hi Timo, > > Yes it´s related, but I don´t understand '... You'll just need to > implement a filesystem that allows distributing a single user's mails to > multiple servers ...'. > > My idea is just in the direction that we don´t n

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread fernando
I´m not sure if i´m being quite clear about my solution (pardon my english)... I´m not thinking in any filesystem abstraction layer, I´m afraid of this kind of solution. If some corruption happens we can loose data - and the crash-recovery is not easy. I´m suggesting the opposite, to not have an

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 12:41 -0300, ferna...@dfcom.com.br wrote: > I´m suggesting the opposite, to not have an abstraction layer. The > abstraction layer would be the proxy - dovecot does the abstraction layer. > When I´m telling 'proxy' I meaning something like the proxy feature of the > dovecot.

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread Stephen Usher
ferna...@dfcom.com.br wrote: I´m reading the past topics related to archive and scalability of dovecot, they are all very interesting. Here, I´m using two dovecot proxies in front of five storages pairs, and we split the domain´s accounts among those servers. So, we can share the i/o load and if

Re: [Dovecot] Two server certificates for two common names

2009-08-25 Thread Patrick Domack
That is an ssl imposibility, and the current tls clients can't really do that either. The best way to do it is to use seperate ip's for mail1 and mail2. The only other option is to use a new certificate with subject-alt-names, but lots of email clients don't support that. Webbrowsers have

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread fernando
Hi Timo, Do you have any experience using Dovecot and Glusterfs ? How about the maturity of Glusterfs in a huge email environment ? Fernando > On Tue, 2009-08-25 at 12:12 -0300, ferna...@dfcom.com.br wrote: >> Hi Timo, >> >> Yes it´s related, but I don´t understand '... You'll just need to >>

Re: [Dovecot] scalability and arhive ideas

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 14:13 -0300, ferna...@dfcom.com.br wrote: > Hi Timo, > > Do you have any experience using Dovecot and Glusterfs ? Not really. > How about the > maturity of Glusterfs in a huge email environment ? No idea. signature.asc Description: This is a digitally signed message pa

Re: [Dovecot] LDAP: Connection lost to LDAP server,

2009-08-25 Thread Andrés A. Gómez Palacio
Hi i have: [r...@mail log]# rpm -q dovecot dovecot-1.2.4-0_99.el5 and have the same problem with ldap (AD), in this release is not include the patch? (http://hg.dovecot.org/dovecot-1.2/rev/355d5a40f7a7) is normal the reconnection to ldap server? or exist any reazon for lose the connection? Aug 2

Re: [Dovecot] LDAP: Connection lost to LDAP server,

2009-08-25 Thread Timo Sirainen
On Tue, 2009-08-25 at 12:37 -0500, Andrés A. Gómez Palacio wrote: > Hi i have: > > [r...@mail log]# rpm -q dovecot > dovecot-1.2.4-0_99.el5 > > and have the same problem with ldap (AD), in this release is not include the > patch? (http://hg.dovecot.org/dovecot-1.2/rev/355d5a40f7a7) v1.2.4 was re

Re: [Dovecot] Dovecot + DRBD/GFS mailstore

2009-08-25 Thread Eric Jon Rostetter
Quoting Romer Ventura : Last time i checked the free version of DRBD only supports 2 nodes. Correct. But RHCS supports more, and works best with an off number (to prevent cluster splits, etc). The paid version supports 16 nodes. I think there are some limits on that too... Like two read-

Re: [Dovecot] Two server certificates for two common names

2009-08-25 Thread Ed W
Patrick Domack wrote: That is an ssl imposibility, and the current tls clients can't really do that either. The best way to do it is to use seperate ip's for mail1 and mail2. The only other option is to use a new certificate with subject-alt-names, but lots of email clients don't support that

[Dovecot] Quotas ignored on INBOX only

2009-08-25 Thread Random Monkey
I have set up postifx and dovecot (1.1) with virtual users and delivery via LDA. I am very pleased with the results so far but have this problem with quotas.   Setting a global quota using plugin { } I initially used maildir to set quotas, but they seem to apply to all folders apart from INBOX.

[Dovecot] Load spikes on NFS server, multiple index updaters.

2009-08-25 Thread Jorgen Lundman
We are occasionally experiencing trouble where the NFS server's load will shoot over 60+. (Normal of sub 1.0). I have been hunting this for a while, and I believe it comes down to "deliver". System setup: NFS servers: x4540 Solaris 10 x64 ZFS over NFS. NFS clients: Solaris 10 x64 postfix-2

Re: [Dovecot] Load spikes on NFS server, multiple index updaters.

2009-08-25 Thread Timo Sirainen
On Aug 25, 2009, at 10:06 PM, Jorgen Lundman wrote: 26099: stat64("/export/censored/mail/cur/ 1223013930.V4700010I69f93eM483098.vmx02.unix:2,S", 0x08047930) = 0 Are these old files, or why don't they contain the ,S=1234 in filename? That would help a lot when recaculating Maildir++ quota.

Re: [Dovecot] Load spikes on NFS server, multiple index updaters.

2009-08-25 Thread Jorgen Lundman
Timo Sirainen wrote: Are these old files, or why don't they contain the ,S=1234 in filename? That would help a lot when recaculating Maildir++ quota. Ah legacy reasons :) We used to use UFS (with quotas) inside zvol on the zfs server. But this panics, and has performance issues. We changed

Re: [Dovecot] Load spikes on NFS server, multiple index updaters.

2009-08-25 Thread Timo Sirainen
On Aug 25, 2009, at 11:39 PM, Jorgen Lundman wrote: Do you need Maildir++ quota at all? With v1.2 you could use dict quota with file backend. It'll use dovecot.index.cache when recalculating quota, although it doesn't do that unless the quota is lost for some reason (so about never). We o

Re: [Dovecot] Quotas ignored on INBOX only

2009-08-25 Thread Timo Sirainen
On Aug 25, 2009, at 7:41 PM, Random Monkey wrote: I have set up postifx and dovecot (1.1) with virtual users and delivery via LDA. I am very pleased with the results so far but have this problem with quotas. Setting a global quota using plugin { } I initially used maildir to set quotas, b

Re: [Dovecot] Load spikes on NFS server, multiple index updaters.

2009-08-25 Thread Jorgen Lundman
Yeah, zfs quotas gets rid of this problem. Maybe I should also start recommending people to use dict quota with v1.2.. Hmm. Although I think there was also some rare issue with it that I should fix. Ah great. I was just about to move the customer's directory to the test servers and try with,