Re: [Dovecot] dovecot auth ldap attributes - unused?

2014-05-21 Thread Andreas Schulze
Maciej Uhlig: Please explain the following dovecot (2.2.13) behaviour: I run dovecot in ldap auth debug mode and log file excerpt follows: filter=(&(objectClass=MailAccount)(accountActive=TRUE)(mail=user@domain)) fields=mail,quota,mailbox Hello, no solution but a comment: ldap.conf define

Re: [Dovecot] Dovecot auth error

2013-08-26 Thread /dev/rob0
On Sun, Aug 25, 2013 at 04:33:49AM -0700, mehrdad nosrati wrote: > I'm newbie to Squirrelmail and just installed Dovecot in > CentOS6.3. When I try to login to the Squirrelmail, then I get > the following error: > >  auth: Info: passwd(myusern...@myserver.com): unknown user http://wiki2.dovecot.o

Re: [Dovecot] dovecot: auth-worker: order of authentication types

2013-03-20 Thread Timo Sirainen
On 20.3.2013, at 16.42, David Obando wrote: > still asking how to set up dovecot authentication so > *users that authenticate with only their username (i.e. system users) > always and only use PAM authentication > *users that authenticate with their e-mail-address always and only use > SQL authen

Re: [Dovecot] dovecot: auth-worker: order of authentication types

2013-03-20 Thread David Obando
I found out myself how to control the order: http://wiki2.dovecot.org/Authentication/MultipleDatabases. still asking how to set up dovecot authentication so *users that authenticate with only their username (i.e. system users) always and only use PAM authentication *users that authenticate with th

Re: [Dovecot] Dovecot auth works when tested with doveadm, but fails with Postfix

2013-02-25 Thread Darren Pilgrim
Timo, Thank you for trying to help, but I'm out of time on this. I switched everything over to the PLAIN mechanism with BLF-CRYPT hashes and it works fine. I'm guessing there's something broken with DIGEST-MD5, but can't say if the fault is in Dovecot 2 or Postfix. Given that it's obsolete

Re: [Dovecot] Dovecot auth works when tested with doveadm, but fails with Postfix

2013-02-22 Thread Darren Pilgrim
On 2013-02-22 03:30, Timo Sirainen wrote: If you want both CRAM-MD5 and DIGEST-MD5 auth, the password must be in plaintext format. I tried using a DIGEST-MD5 hash instead of CRAM-MD5. It doesn't work either: rush# doveadm pw -s digest-md5 -u houseloki -p {DIGEST-MD5}... Add to passwd file

Re: [Dovecot] Dovecot auth works when tested with doveadm, but fails with Postfix

2013-02-22 Thread Timo Sirainen
If you want both CRAM-MD5 and DIGEST-MD5 auth, the password must be in plaintext format. http://wiki2.dovecot.org/Authentication/Mechanisms#Non-plaintext_authentication (In theory it would be possible to have both CRAM-MD5 and DIGEST-MD5 hashes stored in the passdb and have Dovecot use the one

Re: [Dovecot] dovecot auth against AD on samba4

2012-10-24 Thread Carsten Laun-De Lellis
Miller Sent: Mittwoch, 24. Oktober 2012 18:05 To: dovecot@dovecot.org Subject: Re: [Dovecot] dovecot auth against AD on samba4 I don't have it in production yet because there are other things I am still trying to add to samba4, but my test server has dovecot authenticating against samba4. Wi

Re: [Dovecot] dovecot auth against AD on samba4

2012-10-24 Thread Bob Miller
I don't have it in production yet because there are other things I am still trying to add to samba4, but my test server has dovecot authenticating against samba4. Without openchange or any other non-native mechanism. Dovecot supports authenticating against ldap, the settings are in your auth-ld

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 19.39, SATOH Fumiyasu wrote: > At Mon, 11 Jun 2012 18:32:35 +0300, > Timo Sirainen wrote: >>> If an auth client remains a connection to dovecot/auth, >>> dovecot/auth does NOT exit immediately when dovecot master exits. >> >> Ah, now we're getting somewhere :) Yes, this is correc

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread SATOH Fumiyasu
At Mon, 11 Jun 2012 18:32:35 +0300, Timo Sirainen wrote: > > If an auth client remains a connection to dovecot/auth, > > dovecot/auth does NOT exit immediately when dovecot master exits. > > Ah, now we're getting somewhere :) Yes, this is correct and intentional. But > it should still close the l

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 18.24, SATOH Fumiyasu wrote: > If an auth client remains a connection to dovecot/auth, > dovecot/auth does NOT exit immediately when dovecot master exits. Ah, now we're getting somewhere :) Yes, this is correct and intentional. But it should still close the listeners, so this sh

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread SATOH Fumiyasu
At Mon, 11 Jun 2012 15:30:59 +0300, Timo Sirainen wrote: > Dovecot auth process has a problem > that Dovecot auth delays exiting about between 20 and > 60 seconds when Dovecot dovecot (master) process is already > terminated by an administrator. > > > > Yes. I can reproduce wit

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread Timo Sirainen
On 7.6.2012, at 6.06, SATOH Fumiyasu wrote: Dovecot auth process has a problem that Dovecot auth delays exiting about between 20 and 60 seconds when Dovecot dovecot (master) process is already terminated by an administrator. > > Yes. I can reproduce with dovecot 1:2.1.7-1 (Deb

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-07 Thread SATOH Fumiyasu
At Tue, 29 May 2012 18:31:45 +0300, Timo Sirainen wrote: > > > If Dovecot passdb is configured with LDAP (no TLS/SSL), > > > it is no problem. But if Dovecot passdb is configured with > > > LDAPS (or LDAP+TLS), Dovecot auth process has a problem > > > that Dovecot auth delays exiting about between

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-05-29 Thread Timo Sirainen
On Thu, 2012-05-24 at 01:22 +0900, SATOH Fumiyasu wrote: > At Thu, 24 May 2012 01:01:25 +0900, > SATOH Fumiyasu wrote: > > If Dovecot passdb is configured with LDAP (no TLS/SSL), > > it is no problem. But if Dovecot passdb is configured with > > LDAPS (or LDAP+TLS), Dovecot auth process has a probl

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-05-23 Thread SATOH Fumiyasu
At Thu, 24 May 2012 01:01:25 +0900, SATOH Fumiyasu wrote: > If Dovecot passdb is configured with LDAP (no TLS/SSL), > it is no problem. But if Dovecot passdb is configured with > LDAPS (or LDAP+TLS), Dovecot auth process has a problem > that Dovecot auth delays exiting about between 20 and > 60 sec

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-05-23 Thread SATOH Fumiyasu
Hi, At Thu, 24 May 2012 01:01:25 +0900, SATOH Fumiyasu wrote: > If Dovecot passdb is configured with LDAP (no TLS/SSL), > it is no problem. But if Dovecot passdb is configured with > LDAPS (or LDAP+TLS), Dovecot auth process has a problem > that Dovecot auth delays exiting about between 20 and > 6

Re: [Dovecot] dovecot/auth killed with signal 6

2012-05-14 Thread Edward Burr
As requested: (gdb) x 0x3016833290 0x3016833290 : 0x55415641 (gdb) x 0x3016836cd0 0x3016836cd0 : 0x246c8948 (gdb) On Mon, 14 May 2012 19:11:20 +0300, Timo Sirainen wrote: > On Wed, 2012-05-09 at 20:38 -0400, Edward Burr wrote: > > May 9 20:27:37 box dovecot: auth: Panic: io_add(0x1) calle

Re: [Dovecot] dovecot/auth killed with signal 6

2012-05-14 Thread Timo Sirainen
On Wed, 2012-05-09 at 20:38 -0400, Edward Burr wrote: > May 9 20:27:37 box dovecot: auth: Panic: io_add(0x1) called twice fd=13, > callback=0x3016833290 -> 0x3016836cd0 Could you do: gdb /usr/libexec/dovecot/auth coredump x 0x3016833290 x 0x3016836cd0 > I finally got it working by commenting ou

Re: [Dovecot] dovecot/auth killed with signal 6

2012-05-09 Thread Edward Burr
Some more info... I finally got it working by commenting out the configuration under service auth { # inet_listener { #port = 12345 # } which I had in there for SASL with postfix, and which WAS working before the power outage. I guess now I need to figure out why it doesn't like that now, b

Re: [Dovecot] dovecot/auth killed with signal 6

2012-05-09 Thread Edward Burr
Okay, I figured out about installing debuginfo for a better backtrace, so here it is: #0 0x003016c32885 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 resultvar = 0 pid = 2598 selftid = 2598 #1 0x003016c34065 in abort () at abort.c:92 save_

Re: [Dovecot] dovecot-auth restaring and caching

2012-04-03 Thread Timo Sirainen
On 23.3.2012, at 14.15, Angel L. Mateo wrote: > 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

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 {

Re: [Dovecot] dovecot-auth restaring and caching

2012-03-22 Thread Timo Sirainen
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 { idle_kill = 0 }

Re: [Dovecot] dovecot-auth: gkr-pam: error looking up user information for: IP ?

2011-07-08 Thread Duane Hill
Friday, July 8, 2011, 4:54:19 AM, babajaga wrote: > I am receiving a lot of error messages > dovecot-auth: gkr-pam: error looking up user information for: > Unfortunately, I do not see the IP of the remote client, trying to break in. > Is there any possibility to get it ? Would be useful to bloc

Re: [Dovecot] dovecot auth server problem PAM handshake imap-login

2011-06-13 Thread Timo Sirainen
On Thu, 2011-06-09 at 12:55 +, emc wrote: > Jun 9 14:49:46 vps dovecot: pop3-login: Can't connect to auth server at > default: Resource temporarily unavailable dovecot-auth process is hanging for some reason. Do you have any error messages from it in the logs?

Re: [Dovecot] dovecot auth server problem PAM handshake imap-login

2011-06-09 Thread emc
Thanks Charles... Someone else can help me? I cannot receive any mail with my client thunderbird. Postfix send mail ok... and the mail they are received by server (i can read it inside webmin), but even squirrelmail give me a imap login error. Im running a Debian Linux 5 Thanks for some reply and

Re: [Dovecot] dovecot auth server problem PAM handshake imap-login

2011-06-09 Thread emc
Charles Marcus Media-Brokers.com> writes: > > On 2011-06-09 8:55 AM, emc wrote: > > * > > HERE my doveconf -a > > * > > No - doveconf -n is what is needed, not -a... > > > # 1.0.15: /etc/dovecot/dovecot.conf > > Very old - an upgrade is in order

Re: [Dovecot] dovecot auth server problem PAM handshake imap-login

2011-06-09 Thread Charles Marcus
On 2011-06-09 8:55 AM, emc wrote: > * > HERE my doveconf -a > * No - doveconf -n is what is needed, not -a... > # 1.0.15: /etc/dovecot/dovecot.conf Very old - an upgrade is in order... -- Best regards, Charles

Re: [Dovecot] dovecot: auth(default): Can't open configuration file /etc/dovecot/dovecot-sql.conf: Permission denied

2011-04-05 Thread Kevin P. McDonough
Yes, it was definitely AppArmor. Thank you for pointing me in that direction. I have never run into issues with OpenSuSE and AppArmor not being properly configured when installing packages using Yast so I didnt even think to look there. Kevin M. On 04/05/2011 12:54 AM, Timo Sirainen wrote:

Re: [Dovecot] dovecot: auth(default): Can't open configuration file /etc/dovecot/dovecot-sql.conf: Permission denied

2011-04-05 Thread Kevin P. McDonough
Hmm. I did see mention of SELinux in regards to other permissions errors but everything I was reading seemed to have less to do with configuration file read access and more with creation of sockets, etc and I didnt think about AppArmor. That sounds like a good place to start looking. Thank y

Re: [Dovecot] dovecot: auth(default): Can't open configuration file /etc/dovecot/dovecot-sql.conf: Permission denied

2011-04-04 Thread Timo Sirainen
On 5.4.2011, at 1.16, Kevin P. McDonough wrote: > Apr 4 13:15:03 * dovecot: auth(default): Can't open configuration file > /etc/dovecot/dovecot-sql.conf: Permission denied This file is opened while dovecot-auth is still running as root. So I'm guessing you have SELinux or AppArmor or somet

Re: [Dovecot] Dovecot-auth crash after upgrade to 1.2.16

2011-01-05 Thread Maxim Kostikov
Well, I took a little investigation about it and found that the problem in new MySQL 5.5.8 client. I believe that the better solution in this case is downgrade to 5.5.7 client. Here is the prooflink http://www.pubbs.net/201012/freebsd/38528-mysql-client-558-breaks-postfix-dovecot.html 2011/1/4 Max

Re: [Dovecot] dovecot: auth: Fatal: sql_driver_register(mysql): Already registered

2011-01-04 Thread kjhkg kjkjhgkhg
Thank you, it seems that uninstalling, manually removing /usr/local/libexec/dovecot/auth, and reinstalling solved the problem. 2011/1/4 Timo Sirainen > On Mon, 2011-01-03 at 01:57 +0100, kjhkg kjkjhgkhg wrote: > > > i've been using dovecot2 on our server for handling virtual mailboxes and > > po

Re: [Dovecot] dovecot: auth: Fatal: sql_driver_register(mysql): Already registered

2011-01-04 Thread Timo Sirainen
On Tue, 2011-01-04 at 11:37 +0200, Timo Sirainen wrote: > You have mysql support built into Dovecot binaries, but you also have > Dovecot's mysql plugin installed (from old installation I guess). v2.0.9 will give a prettier error message about this. signature.asc Description: This is a digital

Re: [Dovecot] dovecot: auth: Fatal: sql_driver_register(mysql): Already registered

2011-01-04 Thread Timo Sirainen
On Mon, 2011-01-03 at 01:57 +0100, kjhkg kjkjhgkhg wrote: > i've been using dovecot2 on our server for handling virtual mailboxes and > postfix is also using it to examine if a mail has to be delivered locally or > not. Recently i upgraded to 2.0.7 (freebsd ports), but it stopped working, > says t

Re: [Dovecot] dovecot-auth process crashed during pam login

2010-08-06 Thread Timo Sirainen
On Fri, 2010-08-06 at 14:30 +0200, Elmar Rudigier wrote: > After a little debugging I saw that pam_ssh and dovecot both provide a > buffer_free() function. During cleanup of pam_ssh the buffer_free() from > dovecot was called. The members of the buffer had all "out of bound" > addresses. > > Afte

Re: [Dovecot] dovecot-auth process crashed during pam login

2010-08-06 Thread Marcus Rueckert
On 2010-08-06 14:30:21 +0200, Elmar Rudigier wrote: > We experienced crashes of the dovecot-auth process during user > verification with pam_ssh. > > After a little debugging I saw that pam_ssh and dovecot both provide a > buffer_free() function. During cleanup of pam_ssh the buffer_free() from >

Re: [Dovecot] dovecot-auth question

2010-04-16 Thread Timo Sirainen
On Mon, 2010-04-05 at 10:20 -0400, rmcg...@math.purdue.edu wrote: > passdb: > driver: pam > userdb: > driver: passwd > - > > We recently moved to dovecot and after few little configuration problem > our dovecot seems to be running without problems for the most part, but I > am seei

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Glen Lee Edwards
Pascal Volk wrote: On 03/29/2010 04:53 PM Glen Lee Edwards wrote: Pascal Volk wrote: On 03/29/2010 04:29 PM Glen Lee Edwards wrote: $ /usr/local/sbin/dovecot --build-options | tail -n4 SQL drivers: Passdb: checkpassword pam passwd passwd-file shadow sql Userdb: nss passwd p

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Rainer Weikusat
Glen Lee Edwards writes: > Pascal Volk wrote: >> On 03/29/2010 04:29 PM Glen Lee Edwards wrote: >> >>> $ /usr/local/sbin/dovecot --build-options | tail -n4 >>> SQL drivers: >>> Passdb: checkpassword pam passwd passwd-file shadow sql >>> Userdb: nss passwd passwd-file prefetch sql static >>>

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Pascal Volk
On 03/29/2010 04:53 PM Glen Lee Edwards wrote: > Pascal Volk wrote: >> On 03/29/2010 04:29 PM Glen Lee Edwards wrote: >> >>> $ /usr/local/sbin/dovecot --build-options | tail -n4 >>> SQL drivers: >>> Passdb: checkpassword pam passwd passwd-file shadow sql >>> Userdb: nss passwd passwd-file prefet

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Glen Lee Edwards
Pascal Volk wrote: On 03/29/2010 04:29 PM Glen Lee Edwards wrote: $ /usr/local/sbin/dovecot --build-options | tail -n4 SQL drivers: Passdb: checkpassword pam passwd passwd-file shadow sql Userdb: nss passwd passwd-file prefetch sql static You have built Dovecot w/o SQL drivers. Use one

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Pascal Volk
On 03/29/2010 04:29 PM Glen Lee Edwards wrote: > $ /usr/local/sbin/dovecot --build-options | tail -n4 > SQL drivers: > Passdb: checkpassword pam passwd passwd-file shadow sql > Userdb: nss passwd passwd-file prefetch sql static You have built Dovecot w/o SQL drivers. Use one or more of the followi

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Glen Lee Edwards
Pascal Volk wrote: On 03/29/2010 05:31 AM Glen Lee Edwards wrote: I just tried upgrading from 1.1.rc6 to v1.2.11, and am getting the following error: dovecot: auth(default): Fatal: Unknown database driver 'mysql'. If I change the respective line in dovecot-sql.conf from driver = mysql to dr

Re: [Dovecot] dovecot: auth(default): Fatal: Unknown database driver 'mysql'

2010-03-29 Thread Pascal Volk
On 03/29/2010 05:31 AM Glen Lee Edwards wrote: > I just tried upgrading from 1.1.rc6 to v1.2.11, and am getting the > following error: > dovecot: auth(default): Fatal: Unknown database driver 'mysql'. > If I change the respective line in dovecot-sql.conf from driver = mysql to > driver = pgsql th

Re: [Dovecot] dovecot-auth stops responding

2010-02-05 Thread Jonathan Siegle
On Oct 28, 2009, at 10:29 AM, Jonathan Siegle wrote: > > On Oct 27, 2009, at 7:36 PM, Timo Sirainen wrote: > >> On Wed, 2009-09-16 at 13:50 -0400, Jonathan Siegle wrote: I found something in syslog today: local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): BUG: Work

Re: [Dovecot] dovecot auth feature request

2010-01-29 Thread Frank Cusack
On January 29, 2010 7:11:59 PM +0200 Timo Sirainen wrote: On Fri, 2010-01-29 at 12:01 -0500, Frank Cusack wrote: when i try to run dovecot for SASL support only, with literally just this configuration: protocols = none ssl = no I suppose you didn't mean to include "ssl=no" above? yes, sorr

Re: [Dovecot] dovecot auth feature request

2010-01-29 Thread Timo Sirainen
On Fri, 2010-01-29 at 12:01 -0500, Frank Cusack wrote: > when i try to run dovecot for SASL support only, with literally just > this configuration: > > protocols = none > ssl = no I suppose you didn't mean to include "ssl=no" above? > Error: ssl_cert_file: Can't use /etc/ssl/certs/dovecot.pem: N

Re: [Dovecot] dovecot-auth stops responding

2009-10-28 Thread Jonathan Siegle
On Oct 27, 2009, at 7:36 PM, Timo Sirainen wrote: On Wed, 2009-09-16 at 13:50 -0400, Jonathan Siegle wrote: I found something in syslog today: local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): BUG: Worker sent reply with id 1, expected 2 local0.log.20090916:Sep 16 11:58:01 dovecot:

Re: [Dovecot] dovecot-auth stops responding

2009-10-27 Thread Timo Sirainen
On Wed, 2009-09-16 at 13:50 -0400, Jonathan Siegle wrote: > > I found something in syslog today: > > > > local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): BUG: > > Worker sent reply with id 1, expected 2 > > local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): worker- > > server

Re: [Dovecot] dovecot-auth stops responding

2009-10-16 Thread Nathan M
On Thu, Sep 10, 2009 at 12:47 PM, Timo Sirainen wrote: > On Thu, 2009-09-10 at 12:22 -0700, Nathan M wrote: >> The difference is we aren't doing PAM, we have it disabled.  We do SQL >> authentication only.  Exact same symptoms, the server and all active >> connections remain online; however, new c

Re: [Dovecot] Dovecot(-auth) crashes upon encountering a private key in .ssh

2009-09-18 Thread atoth
It solves the problem. The pam file dovecot uses relies on system-auth. However no other application using system-auth crashes... Regards, Dw. -- dr Tóth Attila, Radiológus, 06-20-825-8057, 06-30-5962-962 Attila Toth MD, Radiologist, +36-20-825-8057, +36-30-5962-962 On Pén, Szeptember 18, 2009 2

Re: [Dovecot] Dovecot(-auth) crashes upon encountering a private key in .ssh

2009-09-18 Thread Timo Sirainen
On Sep 18, 2009, at 7:53 PM, at...@atoth.sote.hu wrote: I've recently hit a bug after updating pam, while pam-ssh passphrase authentication become enabled. Dovecot-auth crashes as users having private a key stored in .ssh try to log in. I have a gentoo system with dovecot-1.1.7 installed. PAM

Re: [Dovecot] dovecot-auth stops responding

2009-09-16 Thread Jonathan Siegle
On Sep 16, 2009, at 1:35 PM, Jonathan Siegle wrote: On Sep 10, 2009, at 2:43 PM, Timo Sirainen wrote: Yes. Also having auth_debug=yes enabled might show something useful. What does it log last before it stops responding? I found something in syslog today: local0.log.20090916:Sep 16 11:58

Re: [Dovecot] dovecot-auth stops responding

2009-09-16 Thread Jonathan Siegle
On Sep 10, 2009, at 2:43 PM, Timo Sirainen wrote: On Thu, 2009-09-10 at 14:32 -0400, Jonathan Siegle wrote: It only helps when I kill dovecot-auth, not dovecot-auth -w. Interesting.. What if you kill imap-login processes instead? I don't have imap-login processes associated with inetd s

Re: [Dovecot] dovecot-auth stops responding

2009-09-10 Thread Nathan M
On Thu, Sep 10, 2009 at 12:47 PM, Timo Sirainen wrote: > > So killing dovecot-auth fixes the problem? What if you set > login_process_per_connection=no? > > Next time it happens I'll just try killing dovecot-auth. Thus far the fix has been fairly crude: killall dovecot /usr/local/sbin/dovecot

Re: [Dovecot] dovecot-auth stops responding

2009-09-10 Thread Timo Sirainen
On Thu, 2009-09-10 at 12:22 -0700, Nathan M wrote: > The difference is we aren't doing PAM, we have it disabled. We do SQL > authentication only. Exact same symptoms, the server and all active > connections remain online; however, new connections coming in via > POP3/IMAP hang. The connection is

Re: [Dovecot] dovecot-auth stops responding

2009-09-10 Thread Nathan M
On Thu, Sep 10, 2009 at 11:43 AM, Timo Sirainen wrote: > On Thu, 2009-09-10 at 14:32 -0400, Jonathan Siegle wrote: >> It only helps when I kill dovecot-auth, not dovecot-auth -w. > > Interesting.. > >> > What if you kill imap-login processes instead? >> > >> >> I don't have imap-login processes as

Re: [Dovecot] dovecot-auth stops responding

2009-09-10 Thread Timo Sirainen
On Thu, 2009-09-10 at 14:32 -0400, Jonathan Siegle wrote: > It only helps when I kill dovecot-auth, not dovecot-auth -w. Interesting.. > > What if you kill imap-login processes instead? > > > > I don't have imap-login processes associated with inetd spawned > dovecot. Why do you use inetd? I'

Re: [Dovecot] dovecot-auth stops responding

2009-09-10 Thread Jonathan Siegle
On Sep 9, 2009, at 4:16 PM, Timo Sirainen wrote: On Wed, 2009-09-09 at 14:12 -0400, Jonathan Siegle wrote: Running dovecot 1.2.4(imap only) on AIX out of inetd. I accept passwords(PAM for auth) and kerberos tickets. Occasionally we see dovecot-auth stop responding. I just kill it off and anoth

Re: [Dovecot] dovecot-auth stops responding

2009-09-09 Thread Timo Sirainen
On Wed, 2009-09-09 at 14:12 -0400, Jonathan Siegle wrote: > Running dovecot 1.2.4(imap only) on AIX out of inetd. I accept > passwords(PAM for auth) and kerberos tickets. Occasionally we see > dovecot-auth stop responding. I just kill it off and another process > is spawned which works fine.

Re: [Dovecot] dovecot-auth segfault with vpopmail 5.5.0 on amd64

2009-09-06 Thread Timo Sirainen
On Sun, 2009-09-06 at 22:32 -0400, Timo Sirainen wrote: > On Tue, 2009-09-01 at 01:41 +0800, Lawrence wrote: > > #0 0x in ?? () > > No symbol table info available. > > #1 0x0041eb2d in vpopmail_lookup_vqp (request=0x1ae6548, > > vpop_user=0x7fff7a044830 "lawrence", vpop_

Re: [Dovecot] dovecot-auth segfault with vpopmail 5.5.0 on amd64

2009-09-06 Thread Timo Sirainen
On Tue, 2009-09-01 at 01:41 +0800, Lawrence wrote: > #0 0x in ?? () > No symbol table info available. > #1 0x0041eb2d in vpopmail_lookup_vqp (request=0x1ae6548, > vpop_user=0x7fff7a044830 "lawrence", vpop_domain=0x7fff7a0447d0 > "shanghaiguide.com") at userdb-vpopmail.

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] dovecot-auth failed: Not enough space

2009-08-24 Thread Timo Sirainen
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. See http://wiki.dovecot.org/WhyDoesItNotWork > > Not a good start... That's just an Info message, it's written every time

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

2009-08-24 Thread S. A. Woltering
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen wrote: > On Mon, 2009-08-24 at 14:52 +0100, S. A. Woltering wrote: >> execv(/opt/dovecot/libexec/dovecot/dovecot-auth) failed: Not enough space > > Increase auth_process_size or just set it to 0. > Thanks for this Timo. It gets me a li

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

2009-08-24 Thread Timo Sirainen
On Mon, 2009-08-24 at 14:52 +0100, S. A. Woltering wrote: > execv(/opt/dovecot/libexec/dovecot/dovecot-auth) failed: Not enough space Increase auth_process_size or just set it to 0. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :) (SOLVED)

2009-08-20 Thread Benny Pedersen
On ons 19 aug 2009 22:39:02 CEST, Benny Pedersen wrote could you mail me that config to horde ?, but still i also like to make a better dovecot.conf if its possible so it will say user unknown instaed of just accept case insensitive on auth just to the mail archives, i sorted this problem wi

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

2009-08-19 Thread Benny Pedersen
On ons 19 aug 2009 15:31:39 CEST, Patrick Domack wrote My fix was to adjust the ldap schema to have case sensitivty, and then add for user idiot proofing, force usernames to lowercase in horde. could you mail me that config to horde ?, but still i also like to make a better dovecot.conf i

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

2009-08-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 19 Aug 2009, pod wrote: But the username in the authentication db is completely independent of any localpart that might be used to deliver to a mailbox - access to which is authenticated by providing creds for that username. I don't see how

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

2009-08-19 Thread pod
Noel Butler writes: > On Wed, 2009-08-19 at 01:41 -0400, Timo Sirainen wrote: > >> Dovecot auth isn't case-insensitive. But MySQL is, and I guess you're >> using it? There are several different ways around it. > > > Which is not a problem since most (all) MTA's normally treat user@ as > case

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

2009-08-19 Thread Patrick Domack
Actually that isn't the issue. The issue is like one I had with ldap, till I modified it to be case sensitive. And that is, atleast in my old pre-1.0 version of dovecot, it would authenicate the user with mixed or uppercase letters, then use that username for the mailpath. Since the mailpat

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

2009-08-19 Thread Noel Butler
On Wed, 2009-08-19 at 01:41 -0400, Timo Sirainen wrote: > On Aug 19, 2009, at 1:37 AM, Benny Pedersen wrote: > > > others have found this problem ? > > Dovecot auth isn't case-insensitive. But MySQL is, and I guess you're > using it? There are several different ways around it. Which is not a

Re: [Dovecot] dovecot auth is case insensitive, but fs is sensitive :)

2009-08-18 Thread Timo Sirainen
On Aug 19, 2009, at 1:37 AM, Benny Pedersen wrote: others have found this problem ? Dovecot auth isn't case-insensitive. But MySQL is, and I guess you're using it? There are several different ways around it.

Re: [Dovecot] dovecot auth(default): Master request xxxx.xxxx not found

2009-06-09 Thread Timo Sirainen
On Jun 8, 2009, at 1:36 PM, Eric Sammons wrote: Hi, Wondering if anyone could give some indication as to where to look for the cause of the following error messages. These error messages seem to occur at about the time when users are having problems logging in. Jun 8 10:33:19 host dovec

Re: [Dovecot] Dovecot auth user lookup patch for maildrop

2009-04-26 Thread mr.maX
+One significant difference compared to Courier Authlib extension is that Dovecot +Authentication extension will never return uid/gid that's equal to zero. This isn't actually true always. gid=0 can be returned, although to get that working with imap/pop3 requires also setting first_valid_g

Re: [Dovecot] Dovecot auth user lookup patch for maildrop

2009-04-26 Thread Timo Sirainen
On Apr 25, 2009, at 6:20 PM, mr.maX wrote: +One significant difference compared to Courier Authlib extension is that Dovecot +Authentication extension will never return uid/gid that's equal to zero. This isn't actually true always. gid=0 can be returned, although to get that working with

Re: [Dovecot] Dovecot auth user lookup patch for maildrop

2009-04-26 Thread Ed W
Oh, fantastic! I use Maildrop for quite a few things and I'm reluctant to convert (was considering all kinds of loopy options including some perl based custom delivery tool...). However, it's been annoying me to drag this extra baggage around Please submit to the maildrop developers - I hope t

Re: [Dovecot] dovecot: auth(default): ldap(...): Authenticated user not found

2009-03-29 Thread Stas SUSHKOV
On Sun, 2009-03-29 at 14:20 -0400, Sahil Tandon wrote: > On Sun, 29 Mar 2009, Stas SUSHKOV wrote: > > --- > > Instead, try appending -d ${user} to the above set of arguments. > Solved. I started to log the dovecot lda protocol (after adding ${user}), and found this: --- deliver(c00l2sv): 2009-03

Re: [Dovecot] dovecot: auth(default): ldap(...): Authenticated user not found

2009-03-29 Thread Stas SUSHKOV
On Sun, 2009-03-29 at 14:20 -0400, Sahil Tandon wrote: > On Sun, 29 Mar 2009, Stas SUSHKOV wrote: > > > > I got it now. That makes sense. > > So I followed the wiki: > > http://wiki.dovecot.org/LDA#Without_a_lookup > > > > and simply cut the "-d {recipient}" from the pipe. > > In your setup, I d

Re: [Dovecot] dovecot: auth(default): ldap(...): Authenticated user not found

2009-03-29 Thread Sahil Tandon
On Sun, 29 Mar 2009, Stas SUSHKOV wrote: > On Sun, 2009-03-29 at 11:39 -0400, Sahil Tandon wrote: > > On Sun, 29 Mar 2009, Stas SUSHKOV wrote: > > > > > > > ***Authenticated user not found!!!*** > > > > In your log, notice the 'user' in a successful IMAP login: > > > > > dovecot: imap-login: L

Re: [Dovecot] dovecot: auth(default): ldap(...): Authenticated user not found

2009-03-29 Thread Stas SUSHKOV
On Sun, 2009-03-29 at 11:39 -0400, Sahil Tandon wrote: > On Sun, 29 Mar 2009, Stas SUSHKOV wrote: > > > > ***Authenticated user not found!!!*** > > In your log, notice the 'user' in a successful IMAP login: > > > dovecot: imap-login: Login: user=, method=PLAIN, > > rip=193.226.6.226, lip=193.2

Re: [Dovecot] dovecot: auth(default): ldap(...): Authenticated user not found

2009-03-29 Thread Sahil Tandon
On Sun, 29 Mar 2009, Stas SUSHKOV wrote: > I'm trying to set up dovecot together with postfix and experience some > problems. > > Here's in details what I have and what I want to get. > I have a ldap server on localhost, a working setup of dovecot to serve > sasl, imap using ldap, a working setup

Re: [Dovecot] dovecot auth

2009-02-23 Thread ben
You were right... I changed the %n to %Lu in the passdb file scheme and everything is working now :-) thx a lot On Sun, 2009-02-22 at 13:42 +0100, Andrzej Adam Filip wrote: > ben wrote: > > > tried %Lu, dovecot seems to still strip of the domain part before > > looking it up in dovecot.passwd.

Re: [Dovecot] dovecot auth

2009-02-22 Thread Andrzej Adam Filip
ben wrote: > tried %Lu, dovecot seems to still strip of the domain part before > looking it up in dovecot.passwd... : > > > dovecot.passwd : > --- > t...@testdomain.com:{plain}test123.:8:12::/opt/storage/mbox/bb107608:: > > - > dovecot -n > > # OS: Linux 2.6.24.5-smp i686 Slackwar

Re: [Dovecot] dovecot auth

2009-02-22 Thread ben
Hi, tried %Lu, dovecot seems to still strip of the domain part before looking it up in dovecot.passwd... : dovecot.passwd : --- t...@testdomain.com:{plain}test123.:8:12::/opt/storage/mbox/bb107608:: - dovecot -n # OS: Linux 2.6.24.5-smp i686 Slackware 12.1.0 base_dir: /var/run

Re: [Dovecot] dovecot auth

2009-02-21 Thread Timo Sirainen
On Sat, 2009-02-21 at 12:23 +0100, ben wrote: > I'm using dovecot with a passdb-file . > > When I login using : t...@testdomain.com I notice dovecot strips off the > domainname and looks up everything in front of the @ in his > passdb-file... There are several possibilities. Show your dovecot -n

Re: [Dovecot] dovecot auth

2009-02-21 Thread Andrzej Adam Filip
ben wrote: > I'm using dovecot with a passdb-file . > > When I login using : t...@testdomain.com I notice dovecot strips off the > domainname and looks up everything in front of the @ in his > passdb-file... > > So I went on to configure the following in my dovecot.conf : > > auth_username_format

Re: [Dovecot] dovecot-auth Temporary But Frequent CPU Spike

2009-01-08 Thread Timo Sirainen
On Tue, 2008-12-23 at 23:40 -0600, Joe Clark wrote: > auth default: > passdb: > driver: pam > userdb: > driver: passwd > > The problem I'm noticing is that if I do top -d 1 while clicking links > in Squirrelmail (e.g., logging in, the Inbox link, opening a message), I > see that a "d

Re: [Dovecot] Dovecot-auth timeouts

2009-01-08 Thread Timo Sirainen
On Tue, 2008-12-23 at 14:50 -0800, Javier Fox wrote: > I'm running Dovecot as an LDA and SASL auth for Postfix on a Debian 4 > box. Dovecot is version 1.0.rc15 (the official debian pkg version). .. > deliver(u...@domain.com): "Dec 23 14:38:47 "Error: User request from > dovecot-auth timed out ..

Re: [Dovecot] Dovecot auth-worker permission denied.

2008-12-02 Thread Romer Ventura
There is nothing being logged by PAM, that's the only error I see On 11/29/08 8:24 PM, "Timo Sirainen" <[EMAIL PROTECTED]> wrote: > On Wed, 2008-11-26 at 15:52 -0600, Romer Ventura wrote: >> I followed the tutorials from the wiki page from: >> http://www.linuxmail.info/active-directory-dovec

Re: [Dovecot] Dovecot auth-worker permission denied.

2008-11-29 Thread Timo Sirainen
On Wed, 2008-11-26 at 15:52 -0600, Romer Ventura wrote: > I followed the tutorials from the wiki page from: > http://www.linuxmail.info/active-directory-dovecot-pam-authentication/ I don't know much about Kerberos, but: > Nov 26 15:12:27 housigma20 dovecot: auth-worker(default): > pam(linuxt,

Re: [Dovecot] Dovecot-auth connection problem

2008-08-12 Thread Timo Sirainen
On Jul 29, 2008, at 12:20 AM, Alexey Gorbov wrote: I have this messages in log: Jul 29 00:02:56 10.0.4.16 dovecot: imap-login: Can\'t connect to auth server at default: Resource temporarily unavailable Has this happened more than once? In this way users can't connect top pop3, imap service

Re: [Dovecot] dovecot-auth requires userdb, but already configured

2008-08-04 Thread Carl Vondrick
Everything seems to work now. I needed to configure a postmaster_address in the dovecot.conf. I guess I missed this in the docs somewhere. For the random Googler who sees this later on: protocol lda { auth_socket_path = /var/run/dovecot/auth-master log_path = /var/log/dovecot-deliver.

Re: [Dovecot] dovecot-auth requires userdb, but already configured

2008-08-04 Thread Timo Sirainen
On Aug 4, 2008, at 10:53 PM, Carl Vondrick wrote: How exactly do you see the problem with deliver? In short, it causes fetchmail / getmail to fail. There doesn't seem to be an error message either. You should probably find deliver's error log file. See http://wiki.dovecot.org/LDA -> loggi

Re: [Dovecot] dovecot-auth requires userdb, but already configured

2008-08-04 Thread Carl Vondrick
On Mon, Aug 4, 2008 at 5:31 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Aug 4, 2008, at 6:11 PM, Carl Vondrick wrote: > >>> In this case, Dovecot's deliver needs a >>> master socket to get user information from. See instructions at >>> http://wiki.dovecot.org/LDA . >> >> I have adjusted my co

Re: [Dovecot] dovecot-auth requires userdb, but already configured

2008-08-04 Thread Timo Sirainen
On Aug 4, 2008, at 6:11 PM, Carl Vondrick wrote: In this case, Dovecot's deliver needs a master socket to get user information from. See instructions at http://wiki.dovecot.org/LDA . I have adjusted my configuration so that a master auth socket is created. I confirmed it's created, but the pr

Re: [Dovecot] dovecot-auth requires userdb, but already configured

2008-08-04 Thread Carl Vondrick
On Mon, Aug 4, 2008 at 4:19 AM, Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote: > Carl Vondrick wrote: > > I believe I have narrowed down the problem to dovecot-auth not finding my > > userdb. But, I am able to connect to dovecot via IMAP in my MUA and preform > > operations (read, delete mail, cr

  1   2   >