[Dovecot] dovecot-auth restaring and caching

2012-03-22 Thread Angel L. Mateo
= prefetch } userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol lmtp { mail_plugins = sieve } protocol lda { mail_plugins = sieve } Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones

Re: [Dovecot] dovecot-auth restaring and caching

2012-03-23 Thread Angel L. Mateo
El 22/03/12 19:57, Timo Sirainen escribió: On 22.3.2012, at 11.55, Angel L. Mateo wrote: The problem I'm having is that if I have no activity in the server, dovecot stops its auth process and when another message is received, it restarted it, but with an empty cache. service auth

[Dovecot] director and IPs shown at the backends

2012-06-07 Thread Angel L. Mateo
Hello, I am configuring a dovecot imap/pop servers with a dovecot director in front of them. Because I am using director proxy, connections in the backends are show as coming from director IPs. Is there any way to configure director (or backends) so the backends know (and report) the

Re: [Dovecot] director and IPs shown at the backends

2012-06-08 Thread Angel L. Mateo
in somewhere. Thank you. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax: 86337

[Dovecot] director and doveadm server

2012-06-08 Thread Angel L. Mateo
) And another question about this... what is the local config option? I haven't found it documented anywhere. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica

[Dovecot] difference between client_limit and process_limit

2012-06-08 Thread Angel L. Mateo
of processes that can exist for this service. If set to 0, default_process_limit is used instead. But what does client connection exactly means? Is a user (login)? Is a user opens a few TCP connections (as many clients do) are they count as different connections? -- Angel L. Mateo Martínez

Re: [Dovecot] difference between client_limit and process_limit

2012-06-08 Thread Angel L. Mateo
El 08/06/12 12:24, Angel L. Mateo escribió: Hi, What is the real difference between client and process limit? According to documentation (http://wiki2.dovecot.org/Services#Service_limits): client_limit: Maximum number of simultaneous client connections. If set to 0, default_client_limit

Re: [Dovecot] difference between client_limit and process_limit

2012-06-11 Thread Angel L. Mateo
El 08/06/12 18:43, Timo Sirainen escribió: On 8.6.2012, at 19.33, Reindl Harald wrote: Yes, but like the wiki page also says, it's not a good idea increase client_limit for imap/pop3 processes. depends on the usecase / workload having dovecot as proxy for other imap-backends and 1 process

[Dovecot] Problem with lmtp director proxy

2012-06-12 Thread Angel L. Mateo
and the other when postfix retries again. Any help? Thank you -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax: 86337

Re: [Dovecot] Problem with lmtp director proxy

2012-06-12 Thread Angel L. Mateo
El 12/06/12 12:38, Jan-Frode Myklebust escribió: On Tue, Jun 12, 2012 at 12:23:28PM +0200, Angel L. Mateo wrote: I have two director servers directing to 4 backend servers. Which dovecot version are you running on your directors and backends? 2.1.5 We're running 2.0.14 plus

Re: [Dovecot] Problem with lmtp director proxy

2012-06-13 Thread Angel L. Mateo
) director/director-request.c:#define DIRECTOR_REQUEST_TIMEOUT_SECS 30 lmtp/commands.c:#define LMTP_PROXY_DEFAULT_TIMEOUT_MSECS (1000*30) Could it be one of these timeouts? In this case... is there any way to configure it without changing code? -- Angel L. Mateo Martínez Sección de Telemática

Re: [Dovecot] difference between client_limit and process_limit

2012-06-13 Thread Angel L. Mateo
On 11/06/12 13:45, Timo Sirainen wrote: On 11.6.2012, at 13.19, Angel L. Mateo wrote: Proxying is done by imap-login process, not imap process. For login processes there are different recommendations. What are those recommendations? The ones at http://wiki2.dovecot.org/LoginProcess

Re: [Dovecot] difference between client_limit and process_limit

2012-06-13 Thread Angel L. Mateo
On 13/06/12 14:06, Timo Sirainen wrote: On Wed, 2012-06-13 at 13:15 +0200, Angel L. Mateo wrote: In my test environment I have configured (this is extracted from doveconf -n output): service imap-login { client_limit = 10740 executable = imap-login director process_limit

Re: [Dovecot] Problem with lmtp director proxy

2012-06-13 Thread Angel L. Mateo
El 13/06/12 14:59, Timo Sirainen escribió: On Wed, 2012-06-13 at 08:58 +0200, Angel L. Mateo wrote: I have checked in almost every error I had that the error is produced whenever happens a timeout of 30 seconds between opening the connection between the director and backend server

Re: [Dovecot] Problem with lmtp director proxy

2012-06-13 Thread Angel L. Mateo
El 13/06/12 17:17, Timo Sirainen escribió: On Wed, 2012-06-13 at 16:57 +0200, Angel L. Mateo wrote: Jun 12 11:40:39 myotis41 dovecot: lmtp(6595): Connect from 155.54.212.167 Jun 12 11:40:39 myotis41 dovecot: lmtp(6595): Debug: auth input: user=user1 proxy host=155.54.211.163 proxy_refresh=450

Re: [Dovecot] Problem with lmtp director proxy

2012-06-18 Thread Angel L. Mateo
El 16/06/12 01:22, Timo Sirainen escribió: On 13.6.2012, at 20.11, Angel L. Mateo wrote: Ok, you were right. I was looking for logs at my log repository, which doesn't receive debug log. Nevertheless, the only auth lines I have found at the ones above, with the proxy_refresh=450. I

[Dovecot] Sieve and fileinto encoding change?

2012-06-18 Thread Angel L. Mateo
Hello, I have changed from debian servers (debian lenny 5) running dovecot 1.1.16 to new ones with ubuntu 12.04 and dovecot 2.1.5 and now I'm having problems with sieve filters storing mails in folders with spanish characters (accents). Myh problem is the one described at

Re: [Dovecot] Problem with lmtp director proxy

2012-06-18 Thread Angel L. Mateo
El 18/06/12 15:50, Timo Sirainen escribió: On 18.6.2012, at 9.52, Angel L. Mateo wrote: El 16/06/12 01:22, Timo Sirainen escribió: On 13.6.2012, at 20.11, Angel L. Mateo wrote: Ok, you were right. I was looking for logs at my log repository, which doesn't receive debug log

[Dovecot] dovecot 2.1.5 performance

2012-06-20 Thread Angel L. Mateo
, but load of the server is very, very high. With the old servers, I have performance problems, access to mail is slow, but it works. But with the new ones it doesn't work at all. Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las

Re: [Dovecot] dovecot 2.1.5 performance

2012-06-20 Thread Angel L. Mateo
On 20/06/12 11:40, Angel L. Mateo wrote: Hello, I'm migrating from 1.1.16 running in 4 debian lenny servers virtualized with xenserver and 1 core and 5GB of RAM to 2.1.5 running in 4 ubuntu 12.04 servers with 6 cpu cores and 16GB of RAM virtualized with VMWare, but I'm having lots

Re: [Dovecot] dovecot 2.1.5 performance

2012-06-20 Thread Angel L. Mateo
On 20/06/12 12:05, Timo Sirainen wrote: On Wed, 2012-06-20 at 11:40 +0200, Angel L. Mateo wrote: * mmap_disable: both single and multi server configurations have mmap_disable=yes but in index file section says that you need it if you have your index files stored in nfs. I have it stored

Re: [Dovecot] dovecot 2.1.5 performance

2012-06-21 Thread Angel L. Mateo
El 20/06/12 12:05, Timo Sirainen escribió: default_process_limit = 1000 Since you haven't enabled high-performance mode for imap-login processes and haven't otherwise changed the service imap-login settings, this means that you can have max. 1000 simultaneous IMAP SSL/TLS connections.

Re: [Dovecot] dovecot 2.1.5 performance

2012-06-21 Thread Angel L. Mateo
El 21/06/12 11:53, Timo Sirainen escribió: Look at the next sentence also: SSL/TLS proxying processes are also counted here, so if you're using SSL/TLS you'll need to make sure this count is higher than the maximum number of users that can be logged in simultaneously. I guess you don't have

[Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Angel L. Mateo
Hi, We have dovecot configured with auth cache. Is there any way to remove a specific entry (not all) from this cache? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-28 Thread Angel L. Mateo
El 27/06/12 14:24, Timo Sirainen escribió: On 27.6.2012, at 14.10, Angel L. Mateo wrote: We have dovecot configured with auth cache. Is there any way to remove a specific entry (not all) from this cache? Nope. What do you need it for? Because information for users sometimes

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-29 Thread Angel L. Mateo
normally directed to this server is now been directed to other. Now I want a user to get back to his normal server (force it, I know we willl get back after a timeout), but I don't want to flush all user connections to the backup server. -- Angel L. Mateo Martínez Sección de Telemática Área de

[Dovecot] director directing to wrong server (sometimes)

2012-06-29 Thread Angel L. Mateo
=155.54.211.162 proxy_refresh=450 I haven't found any error log for the correct backend server between the correct redirection and the incorrect one. In fact, I have lot of logs of other users directed to it, and logs of the same director directing connections to the correct server. -- Angel L. Mateo

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-07-02 Thread Angel L. Mateo
. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337

Re: [Dovecot] director directing to wrong server (sometimes)

2012-07-02 Thread Angel L. Mateo
El 30/06/12 03:51, Daniel Parthey escribió: Hi Angel, Angel L. Mateo wrote: I have a user, its assigned server is 155.54.211.164. The problem is that I don't know why director sent him yesterday to a different server, because my server was up all the time. Moreover, I'm using poolmon

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-07-02 Thread Angel L. Mateo
El 02/07/12 09:13, Timo Sirainen escribió: On 2.7.2012, at 10.10, Timo Sirainen wrote: On 2.7.2012, at 9.49, Angel L. Mateo wrote: My problem was that this timeout seems to be counted from the beginning of the LMTP connection, so when I have a lot of recipients in the same

[Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-04 Thread Angel L. Mateo
? And if this difference could be significative? PS: I have attached doveconf -n of the new server. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 # 2.1.5: /etc/dovecot/dovecot.conf # OS

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-04 Thread Angel L. Mateo
? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-05 Thread Angel L. Mateo
El 05/07/12 07:49, Timo Sirainen escribió: On 5.7.2012, at 8.44, Angel L. Mateo wrote: El 04/07/12 23:55, Timo Sirainen escribió: Also maildir_very_dirty_syncs=yes improves performance by reducing readdirs. It's safe to use as long as only Dovecot is reading the Maildir

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-05 Thread Angel L. Mateo
El 04/07/12 23:55, Timo Sirainen escribió: On 4.7.2012, at 21.49, Angel L. Mateo wrote: Although nfs configuration is the same, there are a lot of differences on readdir vs readdirplus nfs operations. In fact, in the old one we have 12% readdir operations and 3% of readdirplus

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-06 Thread Angel L. Mateo
El 05/07/12 16:46, Timo Sirainen escribió: On 5.7.2012, at 15.55, Angel L. Mateo wrote: Concluding... in my systems, with users with hugh mail folders (thousands of mails) in maildir format, disabling rdirplus with mount options (mount option nordirplus) increases performance (maybe

[Dovecot] Timeout (180s) while waiting for lock for transaction log file

2012-07-09 Thread Angel L. Mateo
specific messages or something specific to the user, because we are having this problem only with a few users and the problem repeatedly happens when our mta tries to deliver the queued message. Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información

[Dovecot] imap-login: Panic: epoll_ctl(add, 6) failed: Invalid argument

2012-07-09 Thread Angel L. Mateo
://bugzilla.redhat.com/show_bug.cgi?id=681578 but it is for redhat kernel of series 2.6. Could be the same problem? Any pointer to this problem for ubuntu kernels? Or for generic 3.0 kernels? Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y

Re: [Dovecot] imap-login: Panic: epoll_ctl(add, 6) failed: Invalid argument

2012-07-09 Thread Angel L. Mateo
El 09/07/12 13:51, Timo Sirainen escribió: On Mon, 2012-07-09 at 13:39 +0200, Angel L. Mateo wrote: Hello, More problems (it seems that we won't be able to put our new servers in production). The problem now is that when we reach 1000 dovecot processes we have errors like: Jul 9 12

[Dovecot] doveadm director move behaviour

2012-07-12 Thread Angel L. Mateo
? Is there any way to also force the kick of the imap/pop user's connection in the temporal server? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337

[Dovecot] Difference between proxy_refresh and proxy_timeout in director

2012-07-13 Thread Angel L. Mateo
Hello, I know proxy_timeout is the timeout for the director operation. But what is the purpose for proxy_refresh? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica

Re: [Dovecot] imap-login: Panic: epoll_ctl(add, 6) failed: Invalid argument

2012-07-13 Thread Angel L. Mateo
El 09/07/12 14:37, Robert Schetterer escribió: guess this is latest for 12.04 http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-precise/ I have check this 3.4 kernel and it seems there is no problem with it -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la

[Dovecot] userdb multiple databases

2012-08-20 Thread Angel L. Mateo
as I know, they are looked in order, so if the user is found in the first one, then is no look for the user in the second one, so I have to configure all user's attributes in the passwd-file database. Is there any way to chain these lookups? -- Angel L. Mateo Martínez Sección de

[Dovecot] enabling per user quota plugin and problems with pop3

2012-08-20 Thread Angel L. Mateo
? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337

Re: [Dovecot] enabling per user quota plugin and problems with pop3

2012-08-20 Thread Angel L. Mateo
lmtp and (I think) dovecot-lda is not running at all. So the problem (I think) is that quota plugin is not used in the lmtp process. Is there any way to configure that lmtp processes use the mail_plugins in the userdb database? -- Angel L. Mateo Martínez Sección de Telemática Área de

Re: [Dovecot] enabling per user quota plugin and problems with pop3

2012-08-20 Thread Angel L. Mateo
El 20/08/12 12:56, Angel L. Mateo escribió: Hi again, Another problem I'm having with this is that quota (maildirsize) is not updated when mail is delivered. According to http://wiki2.dovecot.org/Quota/Configuration#Per-user_quota I must be sure that dovecot-lda is run with -d option

[Dovecot] exclude a folder for lazy expunge (move to trash)

2012-08-22 Thread Angel L. Mateo
lazy expunge plugin? Any other idea not to duplicate these emails? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax

Re: [Dovecot] doveadm director move behaviour

2012-08-23 Thread Angel L. Mateo
works correctly, kicking user's connection in the old backend server. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337

Re: [Dovecot] enabling per user quota plugin and problems with pop3

2012-08-24 Thread Angel L. Mateo
El 23/08/12 22:05, Timo Sirainen escribió: On 20.8.2012, at 14.47, Angel L. Mateo wrote: The origin of the problem why lmtp didn't use user's mail_plugin is that I had it configured it in the pass_attrs option (and read with prefetch) and not in user_attrs, so lmtp didn't get

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-27 Thread Angel L. Mateo
. And you could also run a cron to expunge old deleted messages from user mailboxes (for example, messages deleted more than 15 days ago) -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo

[Dovecot] doveadm commands returning 139 at director servers

2012-08-27 Thread Angel L. Mateo
and backend servers. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337 # 2.1.5: /etc/dovecot/dovecot.conf # OS: Linux 3.2.19um1 x86_64 Ubuntu 12.04.1 LTS

Re: [Dovecot] exclude a folder for lazy expunge (move to trash)

2012-09-03 Thread Angel L. Mateo
El 31/08/12 15:23, Timo Sirainen escribió: On 22.8.2012, at 11.01, Angel L. Mateo wrote: I'm configuring lazy expunge plugin to act as a kind of backup of my user's emails. I'm getting a little problem because a lot of my users use move to trash behaviour in their email

[Dovecot] doveadm command to block a user?

2012-09-03 Thread Angel L. Mateo
Hello, Is there any command to be able to lock imap access to a specific user? With doveadm kick I could close his connections, but I want to avoid future ones too and just for imap. Any way to do it? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la

[Dovecot] Resynchronization of indexes (or Warning: Maildir Scanning dir took X seconds)

2012-09-05 Thread Angel L. Mateo
Hello, We have a dovecot servers farm with storage in NFS and indexes in local files. Under heavy load conditions we a log of messages in the form: Sep 3 12:35:49 myotis32 dovecot: imap(imapuser): Warning: Maildir: Scanning maildir cur directory took 62 seconds (9516 readdir()s, 0

Re: [Dovecot] Resynchronization of indexes (or Warning: Maildir Scanning dir took X seconds)

2012-09-05 Thread Angel L. Mateo
El 05/09/12 13:50, Timo Sirainen escribió: On 5.9.2012, at 14.40, Angel L. Mateo wrote: Sep 3 12:35:49 myotis32 dovecot: imap(imapuser): Warning: Maildir: Scanning maildir cur directory took 62 seconds (9516 readdir()s, 0 rename()s to cur/, why=0x80) We have check that messages

[Dovecot] best way to activate quota

2012-09-07 Thread Angel L. Mateo
Hello, I'm planning to activate quota control in dovecot, with maildir quota backend. I have about 70k users in my system directed to 4 backend servers (with a director to ensure that a user is always directed to the same server). I have tried to activate it in one of my nodes. The

Re: [Dovecot] Removing specific entry in user/auth cache

2012-09-07 Thread Angel L. Mateo
El 04/07/12 10:01, Timo Sirainen escribió: On Fri, 2012-06-29 at 05:01 +0300, Timo Sirainen wrote: and for v2.1 a bit kludgy way: doveadm auth user [pass] doveadm auth cache flush [user] Done: http://hg.dovecot.org/dovecot-2.1/rev/007bf0047ab0

Re: [Dovecot] Resynchronization of indexes (or Warning: Maildir Scanning dir took X seconds)

2012-09-12 Thread Angel L. Mateo
El 11/09/12 18:07, Timo Sirainen escribió: On 5.9.2012, at 15.07, Angel L. Mateo wrote: El 05/09/12 13:50, Timo Sirainen escribió: On 5.9.2012, at 14.40, Angel L. Mateo wrote: Sep 3 12:35:49 myotis32 dovecot: imap(imapuser): Warning: Maildir: Scanning maildir cur directory took 62 seconds

Re: [Dovecot] best way to activate quota

2012-09-12 Thread Angel L. Mateo
El 12/09/12 00:28, Timo Sirainen escribió: Activating quota is equally slow, because it needs to scan sizes of all files. If the size is stored in maildir filename (,S=123) this is pretty fast, otherwise it's pretty slow because Dovecot stat()s the files, but afterwards it stores them to

Re: [Dovecot] best way to activate quota

2012-09-12 Thread Angel L. Mateo
in the user's home directory as maildir++ quota does. This is the way I'm going to use it, not with a sql backend. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 86337

Re: [Dovecot] best way to activate quota

2012-09-14 Thread Angel L. Mateo
El 07/09/12 12:28, Robert Schetterer escribió: I have tried to activate it in one of my nodes. The problem is that load of it has increase a lot, as much as the system was unusable (maildir is in nfs storage, with indexes in local disks). that might not be the optimal storage solution

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-18 Thread Angel L. Mateo
El 11/09/12 16:24, Timo Sirainen escribió: On 3.9.2012, at 14.16, Angel L. Mateo wrote: Moreover... according to previous mails (thread http://www.dovecot.org/list/dovecot/2012-June/066691.html) there is a patch to remove a specific user entry from cache. This patch I think

[Dovecot] Deleting a folder with character

2012-09-19 Thread Angel L. Mateo
Hello, One of my users has a mailbox named 'INBOX.Kron SPM' (maybe created a long time ago, when we use courier imap as pop/imap server, but I'm not sure). I can see the maildir with a doveadm list command: amateo_adm@myotis31:~$ sudo doveadm mailbox list -u user ... INBOX.Kron

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-19 Thread Angel L. Mateo
El 18/09/12 18:31, Timo Sirainen escribió: On 18.9.2012, at 9.59, Angel L. Mateo wrote: So I'm running this command. Whenever I run it, I get the message that 3 (sometimes, is 4) entries are removed, but user information isn't really reloaded and I doubt it is really removed from

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-19 Thread Angel L. Mateo
(I forgot the attach) El 19/09/12 11:15, Angel L. Mateo escribió: El 18/09/12 18:31, Timo Sirainen escribió: On 18.9.2012, at 9.59, Angel L. Mateo wrote: So I'm running this command. Whenever I run it, I get the message that 3 (sometimes, is 4) entries are removed, but user

Re: [Dovecot] Can`t get over 1024 processes on FreeBSD - possible bug?

2012-09-24 Thread Angel L. Mateo
reached 1024 processes, no more processes were created and we had errors like imap-login: Panic: epoll_ctl(add, 6) failed: Invalid argument. If this is your same case, you could look for more info at http://www.dovecot.org/list/dovecot/2012-July/067014.html -- Angel L. Mateo Martínez Sección

[Dovecot] bug formatting results when using doveadm-server

2012-09-26 Thread Angel L. Mateo
Hello, I have a infrastructure using director in front of backend servers. So I normally run doveadm commands in director servers, not the backends. The problem I have is when I try to concatenate commands like this: doveadm search -S /var/run/dovecot/auth-userdb -u ${user} SAVEDSINCE 5w |

Re: [Dovecot] bug formatting results when using doveadm-server

2012-09-26 Thread Angel L. Mateo
I forgot to mention that I'm running dovecot 2.1.9 in my servers. El 26/09/12 12:55, Angel L. Mateo escribió: Hello, I have a infrastructure using director in front of backend servers. So I normally run doveadm commands in director servers, not the backends. The problem I have

Re: [Dovecot] Syntax for doveadm auth cache

2012-10-02 Thread Angel L. Mateo
that authenticate with just his/her login, not the complete email address. How can I unify those entries, so they use always just the login as key? El 18/09/12 18:31, Timo Sirainen escribió: On 18.9.2012, at 9.59, Angel L. Mateo wrote: So I'm running this command. Whenever I run

Re: [Dovecot] bug formatting results when using doveadm-server

2012-10-03 Thread Angel L. Mateo
El 02/10/12 21:38, Timo Sirainen escribió: On 26.9.2012, at 13.55, Angel L. Mateo wrote: doveadm search -S /var/run/dovecot/auth-userdb -u ${user} SAVEDSINCE 5w | while read guid uid; do doveadm fetch -S /var/run/dovecot/auth-userdb -u ${user} size.physical mailbox-guid $guid uid $uid

Re: [Dovecot] Syntax for doveadm auth cache

2012-10-03 Thread Angel L. Mateo
El 02/10/12 22:18, Timo Sirainen escribió: On 2.10.2012, at 11.41, Angel L. Mateo wrote: I've been doing some more tests with this problem I have (I need to solve it because I'm planning to migrate mailboxes from maildir to mdbox and I need to change mail_location for my users

Re: [Dovecot] bug formatting results when using doveadm-server

2012-10-04 Thread Angel L. Mateo
El 03/10/12 15:27, Timo Sirainen escribió: On 3.10.2012, at 9.20, Angel L. Mateo wrote: El 02/10/12 21:38, Timo Sirainen escribió: On 26.9.2012, at 13.55, Angel L. Mateo wrote: doveadm search -S /var/run/dovecot/auth-userdb -u ${user} SAVEDSINCE 5w | while read guid uid; do doveadm

Re: [Dovecot] CAS Authentication

2012-10-17 Thread Angel L. Mateo
} passdb { args = session=yes cache_key=%n dovecot driver = pam } With this, it works fine. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337

Re: [Dovecot] CAS Authentication

2012-10-18 Thread Angel L. Mateo
and if so where can I find it? You need this script at your webmail server. This script depend on the webmail you are using. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax

[Dovecot] Auth caching and password changes

2012-10-19 Thread Angel L. Mateo
doveconf -n too. -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 Oct 19 12:41:29 myotis32 dovecot: auth: cache(user,155.54.212.234,dfl4JWfMhwCbNtTq): Password mismatch

Re: [Dovecot] Auth caching and password changes

2012-10-22 Thread Angel L. Mateo
El 19/10/12 14:38, Angel L. Mateo escribió: Hello, In my system I have configured auth caching. The problem I have is that whenever a user changes his password, he/she can't login to dovecot after a while and the scenarios described at http://wiki2.dovecot.org/Authentication/Caching

[Dovecot] Auth USER lookup failed

2012-11-06 Thread Angel L. Mateo
In fact, I have tried to put all sockets with permissions 0666 and 0777, but the error persists. Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 Nov

[Dovecot] Problem importing messages with lazy_expunged configured

2012-11-13 Thread Angel L. Mateo
doveadm -vD -o mail_plugins='quota zlib' import -u user maildir:/tmp/user '' mailbox INBOX. Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 # 2.1.9

[Dovecot] shared mailboxes and indexes

2012-11-16 Thread Angel L. Mateo
-constructed when they are outdated. So, how do shared mailboxes work with dbox backend? Do I have to configure indexes in any particular way? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Angel L. Mateo
El 23/11/12 08:07, Timo Sirainen escribió: On 16.11.2012, at 12.11, Angel L. Mateo wrote: We are deploying shared mailboxes in our mail system. We are running 2.1.9 and mail backend is maildir. As described at http://wiki.dovecot.org/SharedMailboxes/Shared when shared

Re: [Dovecot] dovecot, mdbox and indexes

2011-06-30 Thread Angel L. Mateo
El 30/06/11 15:53, William Blunn escribió: On 30/06/2011 13:28, Angel L. Mateo wrote: We are now trying to migrate to the third scenario and using mdbox. These errors cause a corrupted index and we have to manually delete the user's index so he could read his mail again. * I connect

[Dovecot] auth error using director

2011-07-01 Thread Angel L. Mateo
{ executable = pop3-login director } ssl = no ssl_cert = /etc/ssl/certs/dovecot.pem ssl_key = /etc/ssl/private/dovecot.pem userdb { driver = prefetch } userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol lda { mail_plugins = sieve } -- Angel L. Mateo Martínez Sección de

[Dovecot] A question about director_user_expire (was Re: auth error using director)

2011-07-01 Thread Angel L. Mateo
server is down (or I have another active session because of a previous downtime)? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo

Re: [Dovecot] Lots of LMTP errors Remote server not answering (DATA output timeout) (in reply to end of DATA command))

2011-07-08 Thread Angel L. Mateo
El 08/07/11 12:18, Angel L. Mateo escribió: Hello, I have configured two dovecot servers with director acting as lmtp/imap/pop proxy server with 8 dovecot backend servers. In our test environment we had no problem, but when we migrated to production environment, our mail list server

Re: [Dovecot] Lots of LMTP errors Remote server not answering (DATA output timeout) (in reply to end of DATA command))

2011-07-11 Thread Angel L. Mateo
El 08/07/11 14:04, Angel L. Mateo escribió: El 08/07/11 12:18, Angel L. Mateo escribió: Hello, I have configured two dovecot servers with director acting as lmtp/imap/pop proxy server with 8 dovecot backend servers. In our test environment we had no problem, but when we migrated to production

[Dovecot] Director lmtp timeout errors

2011-07-13 Thread Angel L. Mateo
a lot of errors like this: 451 4.4.0 Remote server not answering (DATA output timeout) (in reply to end of DATA command)) I have found this same issue in some posts to this list, but I can't find any solution Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de

[Dovecot] Process parameters tuning

2011-07-14 Thread Angel L. Mateo
= 100k connections Does this mean that a process handle a maximun of client_limit connections concurrently? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica

[Dovecot] Update indexes with dovecot 1.1

2011-08-19 Thread Angel L. Mateo
L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax: 86337

Re: [Dovecot] Update indexes with dovecot 1.1

2011-08-19 Thread Angel L. Mateo
El 19/08/11 12:15, Patrick Westenberg escribió: On Fri, 19 Aug 2011 11:13:21 +0200, Angel L. Mateo ama...@um.es wrote: Is there any way to manually update indexes? As far as I understood, you just have to delete the index files and Dovecot will regenerate them when a user logs in the next

Re: [Dovecot] Update indexes with dovecot 1.1

2011-08-23 Thread Angel L. Mateo
El 23/08/11 04:40, Timo Sirainen escribió: On 19.8.2011, at 12.13, Angel L. Mateo wrote: I have a farm of dovecot 1.1 servers (debian lenny). Mailboxes are in Maildir format. Is there any way to manually update indexes? v2.0 has doveadm index command to do this. There's

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

2011-08-25 Thread Angel L. Mateo
applied in 2.0. So I guess that the disconnection is for other problem, isn't it? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica_(___V Tfo: 868887590 Fax

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

2011-08-26 Thread Angel L. Mateo
El 25/08/11 12:10, Timo Sirainen escribió: On 25.8.2011, at 13.04, Angel L. Mateo wrote: Aug 24 23:07:32 myotis28 dovecot: auth-worker(default): LDAP: Connection lost to LDAP server, reconnecting I have seen in the mail list a patch for 1.2 (http://hg.dovecot.org/dovecot-1.2/rev

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

2011-08-26 Thread Angel L. Mateo
El 25/08/11 12:10, Timo Sirainen escribió: On 25.8.2011, at 13.04, Angel L. Mateo wrote: Aug 24 23:07:32 myotis28 dovecot: auth-worker(default): LDAP: Connection lost to LDAP server, reconnecting I have seen in the mail list a patch for 1.2 (http://hg.dovecot.org/dovecot-1.2/rev

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

2011-08-29 Thread Angel L. Mateo
El 29/08/11 05:26, Timo Sirainen escribió: On Fri, 2011-08-26 at 13:01 +0200, Angel L. Mateo wrote: El 25/08/11 12:10, Timo Sirainen escribió: On 25.8.2011, at 13.04, Angel L. Mateo wrote: Aug 24 23:07:32 myotis28 dovecot: auth-worker(default): LDAP: Connection lost to LDAP server

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

2011-08-30 Thread Angel L. Mateo
El 30/08/11 05:13, Timo Sirainen escribió: On Mon, 2011-08-29 at 11:44 +0200, Angel L. Mateo wrote: Is there any way to configure ldap connection with a keepalive, so I don't need a reconnection? Nope. But you could configure your LDAP server to idle-disconnect after some amount

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

2011-08-31 Thread Angel L. Mateo
problem, because when my load balancer expires the connection it closes the tcp connection (it sends a fin packet). I guess that slapd too. But I'll check this... -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas (ATICA

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

2011-08-31 Thread Angel L. Mateo
El 31/08/11 08:54, Angel L. Mateo escribió: El 30/08/11 11:41, Timo Sirainen escribió: Yeah, that happens if the disconnection is noticed at the time when user is trying to authenticate. But if the disconnection is noticed immediately when there are no user requests, there is also no message

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

2011-08-31 Thread Angel L. Mateo
El 31/08/11 12:31, Angel L. Mateo escribió: * When openldap closes the connection because of the idle timeout, it sends a FIN packet. When dovecot needs the connections, it simply opens a new connection (without any log message). * When my load balancer closes the connection, it doesn't send

[Dovecot] Deleted mailboxes with lazy_expunge

2011-09-16 Thread Angel L. Mateo
mail client reports the error [CANNOT] Can't rename mailboxes accross specified storages and the mail folder isn't created in the DELETED namespace. Any idea? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información _o) y las Comunicaciones Aplicadas

Re: [Dovecot] Deleted mailboxes with lazy_expunge

2011-09-16 Thread Angel L. Mateo
El 16/09/11 12:08, Timo Sirainen escribió: On Fri, 2011-09-16 at 11:51 +0200, Angel L. Mateo wrote: Hello, I'm trying to configure lazy_expunge plugin (as a way to provide easy backup for mails). This is my configuration (as explained in dovecot wiki): dovecot -n output would have

Re: [Dovecot] Deleted mailboxes with lazy_expunge

2011-09-19 Thread Angel L. Mateo
El 16/09/11 14:01, Timo Sirainen escribió: On Fri, 2011-09-16 at 13:24 +0200, Angel L. Mateo wrote: Sep 16 13:21:00 myotis30 dovecot: imap(angel.luis): Debug: Can't rename 'kk' to '.DELETED/kk-20110916-132100': index dirs don't match I have try to remove the same folder without INDEX

  1   2   >