Re: [Dovecot] Syntax for doveadm auth cache

2012-10-02 Thread Angel L. Mateo
Hello, 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 without rebooting the server). I think I have found the source of the problem, although I

Re: [Dovecot] Antispam plugin problem (CRM114)

2012-10-02 Thread Davide
I'm unable to output nothing to syslog nor in other dovecot's log files about problem of plugin. If i use the test server the output is this: Oct 2 10:38:34 debnew imap: antispam: mailbox_is_unsure(SPAM): 0 Oct 2 10:38:34 debnew imap: antispam: mailbox_is_trash(INBOX): 0 Oct 2 10:38:34

Re: [Dovecot] LTMP Proxy failure fix/hack

2012-10-02 Thread Timo Sirainen
On 28.9.2012, at 23.29, Jack Bates wrote: On 9/28/2012 3:12 PM, Jack Bates wrote: Code needs to be written to handle the special case of us not having any proxy callbacks as they are all bad. Timo, please check and approve. This was diff'd on 2.1.10 on my test server (2.1.9 and

Re: [Dovecot] noisy auth-worker messages in logs (dovecot 2.1.8 FreeBSD)

2012-10-02 Thread Timo Sirainen
On 24.9.2012, at 21.41, Philippe Chevalier wrote: As for the ldap message, it errors if there's no domain in the login. In the doc, it says that %d is empty if there's no domain part. So I guess it's an enhancement request : a configuration option to have it filled out with a default domain

[Dovecot] About ManageSieve and TLS

2012-10-02 Thread 3.lis...@adminlinux.com.br
Hi, I have a ubuntu10.04 + dovecot-2.0.13 configuration in my server. It works fine with ~50k accounts. Recently I enabled TLS: $ cat /etc/dovecot/dovecot.conf ... # Use SSL ? ssl = yes ... The goal was to provide only IMAPS and POP3S. But Managesieve says STARTTLS: $ telnet _MY_IP_ 2000

Re: [Dovecot] Spurious Renaming not supported across conflicting directory permissions

2012-10-02 Thread Timo Sirainen
On 22.9.2012, at 15.04, tlhackque wrote: Dovecot 2.1.10 Client = Thunderbird. Local disks. mbox format. Attempted to rename a folder, failed with: CANNOT Renaming not supported across conflicting directory permissions Fixed: http://hg.dovecot.org/dovecot-2.1/rev/83695d6d41aa

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-02 Thread Timo Sirainen
On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This backtrace is rather weird. Could you also do (instead of bt full): fr 1 p *ns p *ns.user p *auser It crashes because

Re: [Dovecot] About ManageSieve and TLS

2012-10-02 Thread Stephan Bosch
On 10/2/2012 8:45 PM, 3.lis...@adminlinux.com.br wrote: Hi, I have a ubuntu10.04 + dovecot-2.0.13 configuration in my server. It works fine with ~50k accounts. Recently I enabled TLS: $ cat /etc/dovecot/dovecot.conf ... # Use SSL ? ssl = yes ... The goal was to provide only IMAPS and POP3S.

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

2012-10-02 Thread Timo Sirainen
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; done -S auth-userdb? You've named it

Re: [Dovecot] Problem with process_limit

2012-10-02 Thread Timo Sirainen
On 1.10.2012, at 12.15, FABIO FERRARI wrote: Occasionally, it happens that the dovecot.log shows this line: master: Warning: service(imap): process_limit reached, client connections are being dropped .. Then, i edited the file /etc/dovecot/conf.d/10-master.conf and set the line process_limit

Re: [Dovecot] segfault in Debian Squeeze + Dovecot 2.1.10

2012-10-02 Thread Timo Sirainen
On 24.9.2012, at 22.03, Joe Auty wrote: #2 0x7ff30074633d in master_service_settings_cache_deinit (_cache=value optimized out) at master-service-settings-cache.c:86 Fixed: http://hg.dovecot.org/dovecot-2.1/rev/e29b627219b3

Re: [Dovecot] Dovecot deliver Segmentation fault when arrive the first message

2012-10-02 Thread Timo Sirainen
On 2.10.2012, at 22.28, Timo Sirainen wrote: On 19.9.2012, at 16.07, Alessio Cecchi wrote: #1 0x7f2fc9fc41b4 in acl_backend_vfile_acllist_try_rebuild ( backend=0x1944240) at acl-backend-vfile-acllist.c:297 This backtrace is rather weird. Could you also do (instead of bt full):

Re: [Dovecot] Syntax for doveadm auth cache

2012-10-02 Thread Timo Sirainen
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 without rebooting the server). You could flush the

[Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Florian Zeitz
Hello, attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Ideally I'd want doveadm pw's rounds flag to apply to this, but that's currently specific to the crypt password scheme, so I left it out for now. Regards, Florian

Re: [Dovecot] segfault in Debian Squeeze + Dovecot 2.1.10

2012-10-02 Thread Joe Auty
Timo Sirainen mailto:t...@iki.fi October 2, 2012 4:12 PM Fixed: http://hg.dovecot.org/dovecot-2.1/rev/e29b627219b3 Awesome! Will this fix make it into 2.1.11, or should I toy with incorporating your change and compiling a new copy of 2.1.10 by hand? Also, will the seg fault have caused

Re: [Dovecot] segfault in Debian Squeeze + Dovecot 2.1.10

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 0.09, Joe Auty wrote: Timo Sirainen mailto:t...@iki.fi October 2, 2012 4:12 PM Fixed: http://hg.dovecot.org/dovecot-2.1/rev/e29b627219b3 Awesome! Will this fix make it into 2.1.11, or should I toy with incorporating your change and compiling a new copy of 2.1.10 by

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Ideally I'd want doveadm pw's rounds flag to apply to this, but that's currently specific to the crypt password scheme, so I

[Dovecot] possible nfs issue

2012-10-02 Thread Cor Bosman
Hi all, we've started receiving complaints from users that seemingly use more quota than they actually have. We noticed that these users have (in some cases many) .nfs files in their mailspool. Some of our admins checked their own dirs, and noticed them there as well. This could of course be

Re: [Dovecot] possible nfs issue

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 0.39, Cor Bosman wrote: With NFS these files are created when a file gets unlinked, but another process still has it open. It disappears as soon as the other process closes it. For some reason they dont disappear. As far as I can tell we've had no server crashes that could

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Florian Zeitz
Am 02.10.2012 23:27, schrieb Timo Sirainen: On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Ideally I'd want doveadm pw's rounds flag to apply to this, but that's currently

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 1.12, Florian Zeitz wrote: Am 02.10.2012 23:27, schrieb Timo Sirainen: On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Ideally I'd want doveadm pw's

Re: [Dovecot] possible nfs issue

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 0.45, Timo Sirainen wrote: On 3.10.2012, at 0.39, Cor Bosman wrote: With NFS these files are created when a file gets unlinked, but another process still has it open. It disappears as soon as the other process closes it. For some reason they dont disappear. As far as I

Re: [Dovecot] Logging IP address for failed login

2012-10-02 Thread Joseph Tam
Scott Neville dovecot...@keystealth.org writes: I am trying to use the logs to show the IP that brute force activity comes from, but Im not succeeding. I have read the archives and seen the advice others have had. I can see logs for repeated bad logins, but I need the IP address from the

Re: [Dovecot] possible nfs issue

2012-10-02 Thread Cor Bosman
On Oct 3, 2012, at 12:35 AM, Timo Sirainen t...@iki.fi wrote: On 3.10.2012, at 0.45, Timo Sirainen wrote: On 3.10.2012, at 0.39, Cor Bosman wrote: With NFS these files are created when a file gets unlinked, but another process still has it open. It disappears as soon as the other

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Oh, and SCRAM-SHA1 or SCRAM-SHA-1? I'd think SCRAM-SHA1 as the scheme is now called, but elsewhere in the code (including

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Florian Zeitz
Am 03.10.2012 01:42, schrieb Timo Sirainen: On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Oh, and SCRAM-SHA1 or SCRAM-SHA-1? I'd think SCRAM-SHA1 as the scheme is now

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Timo Sirainen
On 3.10.2012, at 2.54, Florian Zeitz wrote: Am 03.10.2012 01:42, schrieb Timo Sirainen: On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password scheme. Oh, and SCRAM-SHA1 or SCRAM-SHA-1?

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Florian Zeitz
Am 03.10.2012 01:58, schrieb Timo Sirainen: On 3.10.2012, at 2.54, Florian Zeitz wrote: Am 03.10.2012 01:42, schrieb Timo Sirainen: On 3.10.2012, at 0.05, Florian Zeitz wrote: attached is an hg export on top of the current dovecot-2.2 branch, which adds support for a SCRAM-SHA-1 password

Re: [Dovecot] [PATCH] Add SCRAM-SHA-1 password scheme

2012-10-02 Thread Timo Sirainen
On Wed, 2012-10-03 at 02:10 +0200, Florian Zeitz wrote: Attached is a new export incorporating your feedback. Committed. Also what do you think about the attached patch? (Compiles, untested.) diff -r 3e3ac2c16fa4 src/auth/mech-scram-sha1.c --- a/src/auth/mech-scram-sha1.c Wed Sep 19 03:13:39

Re: [Dovecot] possible nfs issue

2012-10-02 Thread Jack Bates
On 10/2/2012 4:39 PM, Cor Bosman wrote: Anyone else with NFS mailspools seeing this? Cor I haven't seen them yet, however, to help troubleshoot, see this link and follow it's links for more details on .nfs files