Re: [Dovecot] Improving lmtp performance

2011-02-02 Thread Stan Hoeppner
Joseba Torre put forth on 2/2/2011 4:14 AM: > yesterday I migrated and old version with sendmail + courier to a virtual > machine (vmware) with postfix and dovecot 2.0.9. > > Everything worked fine, but with a more or less default setup for both > dovecot > and postfix, lmtp performance was pr

[Dovecot] EUID not changing when delivering to a mailbox

2011-02-02 Thread rastik
Hello, I've set up virtual mailboxes and I'm using one uid/gid pair (mail/mail) to deliver almost all messages. Some accounts I'd like to have accessible by local Linux accounts as well, so postfix is delivering them using separate uids (gid stays the same). But I run into a problem when

Re: [Dovecot] LDAP and GSSAPI problems

2011-02-02 Thread Jason Gunthorpe
On Thu, Feb 03, 2011 at 01:17:02AM +0200, Timo Sirainen wrote: > > Postfix (the other half of my solution -- though the version I am using > > doesn't do SASL LDAP yet, but 2.9.x does) allows you, in the > > configuration, to set what environment variables it should not unset and > > even define ne

Re: [Dovecot] LDAP and GSSAPI problems

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 16:13 -0700, Trever L. Adams wrote: > > #!/bin/sh > > export KRB5_KTNAME=/etc/dovecot/krb5.keytab > > exec /usr/local/libexec/dovecot/auth -k > I thought I saw a patch on the mailing list in 2007 that set KRB5_KTNAME > if auth_krb5_keytab was set in the configuration. I guess

Re: [Dovecot] LDAP and GSSAPI problems

2011-02-02 Thread Trever L. Adams
On 02/02/2011 02:38 PM, Timo Sirainen wrote: > On Wed, 2011-02-02 at 14:29 -0700, Trever L. Adams wrote: >> dn = smtp/mailhost.example@example.org >> sasl_bind = yes >> sasl_mech = GSSAPI >> sasl_realm = EXAMPLE.ORG >> sasl_authz_id = smtp/mailhost.example@example.org > LDAP SASL authentica

Re: [Dovecot] Quota ignore issue

2011-02-02 Thread Tim Traver
Timo, ok, I found the issue. Config problem on some servers that were delivering the mail. We have separate servers delivering outside mail to the Maildirs, and a set of servers that do the IMAP, POP, Webmail, etc... Seems the delivery servers didn't have the ignore the Spam folder directive. I t

Re: [Dovecot] Reproducable hang caused by IMAP server

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 22:20 +, Matthias Scheler wrote: > > Stupid gcc didn't give a warning here.. I should create some nightly run > > that emails me if clang gives any warnings on latest hg (it would have > > caught this). > > clang can warn about such things? That is useful. The amount of

Re: [Dovecot] Backtrace:dovecot/imap with 2.0.9 hg checkout from 1st of Febrauary

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 09:59 +0100, Ralf Hildebrandt wrote: > #8 squat_trie_build_more (ctx=0x9ef10a8, uid=37, > type=SQUAT_INDEX_TYPE_HEADER, > input=0xb719e008 "\037\357\277\275\b\b?C\357\277\275L2,S\n\020H! > \357\277\275\060 \314\203\357\277\275-!\026\341\222\215\357\277 > \275{\357\2

Re: [Dovecot] Reproducable hang caused by IMAP server

2011-02-02 Thread Matthias Scheler
On Thu, Feb 03, 2011 at 12:02:40AM +0200, Timo Sirainen wrote: > On Wed, 2011-02-02 at 19:45 +, Matthias Scheler wrote: > > > 2.) I tag two of the messages and then save them to a *non existent* > > folder. When "mutt" asks whether the folder should be created > > I confirm the action.

Re: [Dovecot] Resource temporarily unavailable

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 17:09 +0100, Len7hir wrote: > Feb 2 16:32:17 pp4 dovecot: pop3: Error: > net_connect_unix(/var/run/dovecot/auth-master) failed: Resource > temporarily unavailable auth process isn't responding fast enough. > My settings: Full doveconf -n output please. > Different Erro

Re: [Dovecot] STARTTLS problem

2011-02-02 Thread Lucas -LandM-
Hi Timo, From other server: gnutls-cli --starttls -p 143 ip Resolving 'ip'... Connecting to 'ip:143'... - Simple Client Mode: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready. 9 starttls 9 OK Begin TLS

Re: [Dovecot] STARTTLS problem

2011-02-02 Thread Lucas -LandM-
Hi Timo again, It works right now, but only in command line approach: gnutls-cli --starttls -p 143 ip Resolving 'ip'... Connecting to 'ip:143'... - Simple Client Mode: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5

Re: [Dovecot] STARTTLS problem

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 22:47 +0100, Lucas -LandM- wrote: > Same error: > gnutls-cli --starttls -p 143 ip > Resolving 'ip'... > Connecting to 'ip:143'... > > - Simple Client Mode: > > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=C

Re: [Dovecot] Reproducable hang caused by IMAP server

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 19:45 +, Matthias Scheler wrote: > 2.) I tag two of the messages and then save them to a *non existent* > folder. When "mutt" asks whether the folder should be created > I confirm the action. Thanks, fixed: http://hg.dovecot.org/dovecot-2.0/rev/826981b2c5c4 Stup

Re: [Dovecot] STARTTLS problem

2011-02-02 Thread Lucas -LandM-
Hi Tio, Thank you very much for your quick answer. Same error: gnutls-cli --starttls -p 143 ip Resolving 'ip'... Connecting to 'ip:143'... - Simple Client Mode: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot

Re: [Dovecot] LDAP and GSSAPI problems

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 14:29 -0700, Trever L. Adams wrote: > dn = smtp/mailhost.example@example.org > sasl_bind = yes > sasl_mech = GSSAPI > sasl_realm = EXAMPLE.ORG > sasl_authz_id = smtp/mailhost.example@example.org LDAP SASL authentication goes through Cyrus SASL library, nothing Doveco

Re: [Dovecot] Quota ignore issue

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 11:54 -0800, Tim Traver wrote: > But, it looks like when a new spam email is delivered, before the sieve > rules in the lda can move it into the spam folder, it is added to the > maildirsize file. Then, once it is moved into the Spam folder, if it is > directly expunged from

[Dovecot] LDAP and GSSAPI problems

2011-02-02 Thread Trever L. Adams
This is a continuation of a problem I have been having. Samba 4 has recently changed to require binds. I need LDAP to verify users exist. I am using Kerberos (GSSAPI) as the passdb. Samba can handle GSSAPI/Kerberos SASL binds. I have the following in my dovecot-ldap setup for userdb: dn = smtp/ma

Re: [Dovecot] STARTTLS problem

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 21:28 +0100, Lucas -LandM- wrote: > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=CRAM-MD5] Dovecot ready. > *** Starting TLS handshake You're starting it too early. Give "x starttls" command first.

Re: [Dovecot] Signal 11 on deliver

2011-02-02 Thread Timo Sirainen
On Wed, 2011-02-02 at 14:36 -0500, Matt wrote: > OK, > I've been working on this all day... after I sent the message I just > finally solved it. Why is it that dovecot crashes when the first > option in the dovecot.conf file is something=no? It's actually glibc that crashes. Fixed in newer glibc

[Dovecot] STARTTLS problem

2011-02-02 Thread Lucas -LandM-
Hi, We try to configure dovecot as usual (all our servers have dovecot+vpopmail+qmail or postfix). We set up dovecot with the next outcome: - imap ok - imaps ok - imap STARTTLS NOT OK Debug: root@s13:/home/lucas# gnutls-cli --starttls -p 143 ip Resolving 'ip'... Connecting to 'ip'... - Si

[Dovecot] Quota ignore issue

2011-02-02 Thread Tim Traver
Hi Timo, ok, in my dovecot setup, I have a setting to ignore messages in the Spam folder (I will put my dovecot -n at the end of the message), and a strange thing appears to be happening. If I do a quota recalc on an account, It creates the maildirsize file correctly, without the contents of the

[Dovecot] Reproducable hang caused by IMAP server

2011-02-02 Thread Matthias Scheler
Hello, I have problems with Dovecot 2.0.9 (and 2.0.8) under NetBSD/amd64 5.1. "mutt" hangs when I try to quit it after accessing a folder via IMAP. I can reproduce the problem with these steps: 1.) I run "mutt -f =foo" to access folder "foo" via IMAP. The folder contains about 10 mes

Re: [Dovecot] Signal 11 on deliver

2011-02-02 Thread Matt
OK, I've been working on this all day... after I sent the message I just finally solved it. Why is it that dovecot crashes when the first option in the dovecot.conf file is something=no? On Wed, Feb 2, 2011 at 2:25 PM, Matt wrote: > I just installed Postfix, MySQL, and Dovecot.  Everything is wo

[Dovecot] Signal 11 on deliver

2011-02-02 Thread Matt
I just installed Postfix, MySQL, and Dovecot. Everything is working great (IMAP, POP, SMTP) except that I can't get incoming mail to deliver properly. Incoming mail logs the following: Feb 2 13:23:52 mail postfix/qmgr[2187]: CE0D41F0263: from=, size=650, nrcpt=1 (queue active) Feb 2 13:23:52 m

[Dovecot] Can´t move folders in Outlook

2011-02-02 Thread Mult´Moldes - Informatica
Hi, this is my first time in a mailing list, so I don´t know if I´m doing it right. My problem is that I cannot move a folder into another one, I can create them, move messages, etc, but I can´t move a folder, no matter what folder. It works fine With Thunderbird, but in Outlook Express or WLiv

Re: [Dovecot] override not working

2011-02-02 Thread Paul A
Solved: Initially it was not working because I use prefetch and since prefetch gets the variables from the password_query it was not working because the password_query was not configured correctly. I was using "as_mail_plugins" when I should have been using " as userdb_mail_plugins". Hope this hel

Re: [Dovecot] Maintaining data integrity through proper power supplies (slightly referencing Best filesystem)

2011-02-02 Thread Rick Romero
If you have a proper-sized UPS, combined with notification from the UPS to the servers to perform orderly shutdowns - including telling >> the application servers to shutdown prior to the storage servers, >> etc. - doesn't that render the (possibly more than theoretical) >> chances of da

[Dovecot] Resource temporarily unavailable

2011-02-02 Thread Len7hir
On very high traffic in POP3 I have flood of messages in my log: Feb 2 16:32:17 pp4 dovecot: pop3: Error: net_connect_unix(/var/run/dovecot/auth-master) failed: Resource temporarily unavailable What a Terrible Failure (WTF)? Can You help me resolve this problem? I've not found any info ab

Re: [Dovecot] UIDPLUS in the wiki

2011-02-02 Thread Timo Sirainen
On 2.2.2011, at 17.33, David Klann wrote: >> Something should be done about the Feat* pages. My vote would be to >> just remove them. Maybe make one single page listing everything and >> have those items link to their configuration pages in wiki (rather >> than separate Feat* pages). But what item

Re: [Dovecot] UIDPLUS in the wiki

2011-02-02 Thread David Klann
On Wed, 2 Feb 2011 09:04:25 -0600, Timo Sirainen said: > On 2.2.2011, at 16.22, Peter Mogensen wrote: > > > Isn't the stuff in the wiki about UIDPLUS being disabled because of maildir > > outdated? > > Yes. > > > http://wiki.dovecot.org/FeatUIDPLUS > > http://wiki2.dovecot.org/FeatUIDPLUS >

Re: [Dovecot] Splitting up mail_location setting?

2011-02-02 Thread Joseba Torre
El Tuesday 01 February 2011, Timo Sirainen dijo: > Below are the setting names I thought about using: > > a) mail_location = > maildir:~/Maildir:INBOX=~/Maildir/.INBOX:INDEX=~/indexes:CONTROL=~/control > :LAYOUT=fs:SUBSCRIPTIONS=courier-subscriptions > > mail_format = maildir > mail_root_path =

Re: [Dovecot] UIDPLUS in the wiki

2011-02-02 Thread Timo Sirainen
On 2.2.2011, at 16.22, Peter Mogensen wrote: > Isn't the stuff in the wiki about UIDPLUS being disabled because of maildir > outdated? Yes. > http://wiki.dovecot.org/FeatUIDPLUS > http://wiki2.dovecot.org/FeatUIDPLUS Something should be done about the Feat* pages. My vote would be to just remo

[Dovecot] UIDPLUS in the wiki

2011-02-02 Thread Peter Mogensen
Hi, Isn't the stuff in the wiki about UIDPLUS being disabled because of maildir outdated? http://wiki.dovecot.org/FeatUIDPLUS http://wiki2.dovecot.org/FeatUIDPLUS /Peter

Re: [Dovecot] Logging on syslog and selected dovecot files at the sametime

2011-02-02 Thread Antonio Perez-Aranda
Greats, Thanks 2011/2/2 Charles Marcus : > On 2011-02-02 7:19 AM, Antonio Perez-Aranda wrote: >> Is it possible to send logs to syslog and files set by log_path and >> log_info_path on config? >> >> Just two logs at the same time (not realtime). > > This would need to be done by your syslogger...

Re: [Dovecot] Logging on syslog and selected dovecot files at the sametime

2011-02-02 Thread Charles Marcus
On 2011-02-02 7:19 AM, Antonio Perez-Aranda wrote: > Is it possible to send logs to syslog and files set by log_path and > log_info_path on config? > > Just two logs at the same time (not realtime). This would need to be done by your syslogger... syslog-ng can do this easily... -- Best regard

[Dovecot] Logging on syslog and selected dovecot files at the sametime

2011-02-02 Thread Antonio Perez-Aranda
Is it possible to send logs to syslog and files set by log_path and log_info_path on config? Just two logs at the same time (not realtime). -- Antonio Pérez-Aranda Alcaide aperezara...@yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 954 50 00 57 Fax      +3

Re: [Dovecot] automated mailbox trimming?

2011-02-02 Thread Andraž 'ruskie' Levstik
:2011-01-31T20:10:Monique Y. Mudama: > On Tue, Feb 1 at 3:07, Timo Sirainen penned: > > > > > > What's the best way to go about mailbox trimming with dovecot's > > > implementation of maildir? > > > > http://wiki.dovecot.org/Plugins/Expire although it's a bit > > annoyingly complex with v1.x.

[Dovecot] Backtrace:dovecot/imap with 2.0.9 hg checkout from 1st of Febrauary

2011-02-02 Thread Ralf Hildebrandt
It's actually 4 crashes in the same minute: Date: Wed, 02 Feb 2011 04:28:35 +0100 GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribu

[Dovecot] Improving lmtp performance

2011-02-02 Thread Joseba Torre
Hi, yesterday I migrated and old version with sendmail + courier to a virtual machine (vmware) with postfix and dovecot 2.0.9. Everything worked fine, but with a more or less default setup for both dovecot and postfix, lmtp performance was pretty bad: a message was written to an inbox every 2

Re: [Dovecot] Maintaining data integrity through proper power supplies (slightly referencing Best filesystem)

2011-02-02 Thread David Ledger
At 23:43 + 1/2/11, Ron Leach wrote: Since the HDs can be considered 'secure' (well, something v close to 100% available), data can be that secure 'provided' it is written to the HD. Since failures can occur at any time, the smaller the time that data exists that is 'not' on the HD, compare

Re: [Dovecot] dovecot: imap-login: Error: net_connect_unix(imap) failed: Resource temporarily unavailable

2011-02-02 Thread Joseba Torre
El Tuesday 01 February 2011, Kurt Hockenbury dijo: > That's what is shipping with RHEL 6. We've been trying to keep the system > as close to stock RH as possible, to make support easier. We are in a similar situation (using RH and not moving too much from that), but using an up to date version