Re: [Dovecot] Panic 1.1.4

2008-10-23 Thread Andre Hübner
Hi, So it happens regularly? Can you reproduce it? I can't really see how it's crashing. Could you apply the attached patch, and also compile the lib/*.c and lib-mail/istream-header-filter.c without -O2 so the backtrace will be more usable? (I usually do it by removing -O2 from the subdirs'

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Wed, 2008-10-22 at 16:15 +0200, Sascha Wilde wrote: Timo Sirainen [EMAIL PROTECTED] writes: On Oct 21, 2008, at 5:27 PM, Sascha Wilde wrote: Sascha Wilde [EMAIL PROTECTED] writes: [userdb-checkpassword] The code is now in dovecot-1.2 tree.

[Dovecot] ManageSieve textual fronend wanted

2008-10-23 Thread Edgar Fuß
Is there some simple textual frontend to the ManageSieve protocol somewhat easier to use than gnutls-cli? I.e. something to use like managesieve -u ef putscript myscript /tmp/myscript Password: managesieve -u ef setactive myscript Password: simply doing the TLS authentication and length

Re: [Dovecot] dovecot 1.0 to 1.1 upgrade and filesystem separators

2008-10-23 Thread Ian Thurlbeck
Timo Sirainen wrote: On Wed, 2008-10-22 at 13:43 +0100, Ian Thurlbeck wrote: #define MAILDIR_FS_SEP ';' #define MAILDIR_FS_SEP_S ; so I can get some mail folder hierarchy and '.'s in folder names - this all worked perfectly. Under 1.1.4 the MAILDIR_FS_SEP lines are no longer present. What is

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Oct 21, 2008, at 5:27 PM, Sascha Wilde wrote: Sascha Wilde [EMAIL PROTECTED] writes: [userdb-checkpassword] [...] The code is now in dovecot-1.2 tree. Unfortunately there is one tiny, but essential change missing: diff -r afdc27e0b665

[Dovecot] dovecot 1.2: SEGV in acl plugin when selecting a shared mailbox

2008-10-23 Thread Sascha Wilde
Hi Timo, there is a bug in the acl plugin (in head, _without_ our acl changes), which causes an segfault on selecting a shared folder. * OK [CAPABILITY ...] Dovecot ready. x login [EMAIL PROTECTED] secret x OK [CAPABILITY ...] Logged in y select users/[EMAIL PROTECTED]/INBOX/bla - Peer

Re: [Dovecot] ManageSieve textual fronend wanted

2008-10-23 Thread Stephan Bosch
Edgar Fuß wrote: Is there some simple textual frontend to the ManageSieve protocol somewhat easier to use than gnutls-cli? I.e. something to use like managesieve -u ef putscript myscript /tmp/myscript Password: managesieve -u ef setactive myscript Password: simply doing the TLS authentication

Re: [Dovecot] ManageSieve textual fronend wanted

2008-10-23 Thread Andraž 'ruskie' Levstik
On 13:48:40 2008-10-23 Stephan Bosch [EMAIL PROTECTED] wrote: Edgar Fuß wrote: Is there some simple textual frontend to the ManageSieve protocol somewhat easier to use than gnutls-cli? I.e. something to use like managesieve -u ef putscript myscript /tmp/myscript Password: managesieve -u

[Dovecot] Dovecot returns the same UIDL for another message

2008-10-23 Thread Alexander Shikoff
Hello, I have a serious problem with dovecot and mbox format. dovecot returns the same UIDL for new messages and as result some MUAs don't retrieve new mail. UIDs returned by UIDL command look like 00*1c*49006cec And there is a moment when dovecot stops incrementing marked digits. In other

Re: [Dovecot] Dovecot returns the same UIDL for another message

2008-10-23 Thread Roberto Tagliaferri - Tosnet srl
Alexander Shikoff ha scritto: Hello, I have a serious problem with dovecot and mbox format. dovecot returns the same UIDL for new messages and as result some MUAs don't retrieve new mail. UIDs returned by UIDL command look like 00*1c*49006cec And there is a moment when dovecot stops

Re: [Dovecot] Dovecot returns the same UIDL for another message

2008-10-23 Thread Alexander Shikoff
On Thu, Oct 23, 2008 at 02:57:04PM +0200, Roberto Tagliaferri - Tosnet srl wrote: Alexander Shikoff ha scritto: Hello, I have a serious problem with dovecot and mbox format. dovecot returns the same UIDL for new messages and as result some MUAs don't retrieve new mail. UIDs

Re: [Dovecot] Dovecot returns the same UIDL for another message

2008-10-23 Thread Timo Sirainen
On Oct 23, 2008, at 3:46 PM, Alexander Shikoff wrote: My dovecot's version is 1.1.3. .. mail_location: mbox:/var/mail:INBOX=/var/mail/%Ln:INDEX=MEMORY This is buggy, fixed in 1.1.4. PGP.sig Description: This is a digitally signed message part

Re: [Dovecot] Dovecot returns the same UIDL for another message

2008-10-23 Thread Roberto Tagliaferri - Tosnet srl
Alexander Shikoff ha scritto: Yeah, I also know the workarounds. Change uidl format or make MTA to mark all messages with X-UIDL: header and then use it in dovecot with pop3_reuse_xuidl parameter. But any workaround don't remove the bug... 1.0.3 version of Dovecot is free of it. I use

Re: [Dovecot] logging IMAP username rather than UNIX username

2008-10-23 Thread Dale Gallagher
Hi Timo 2008/10/22 Timo Sirainen [EMAIL PROTECTED]: That means your authentication changes the username. passdb checkpassword { args = /var/qmail/bin/qmail-vauth } Most likely qmail-vauth changes USER environment to vmail. If you can't edit qmail-vauth directly, create a wrapper

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Sascha Wilde
Sascha Wilde [EMAIL PROTECTED] writes: Timo Sirainen [EMAIL PROTECTED] writes: On Wed, 2008-10-22 at 16:15 +0200, Sascha Wilde wrote: There are more than 250LOC in deliver/auth-client.c and I wonder if there is already a higher level api for auth clients? I would have expected something like

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 13:13 +0200, Sascha Wilde wrote: Timo Sirainen [EMAIL PROTECTED] writes: On Oct 21, 2008, at 5:27 PM, Sascha Wilde wrote: Sascha Wilde [EMAIL PROTECTED] writes: [userdb-checkpassword] [...] The code is now in dovecot-1.2 tree. Unfortunately there is one tiny, but

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 16:18 +0200, Sascha Wilde wrote: 1.) It seems that some code in deliver/auth-client.c has been revised after it was copied to expire/auth-client.c, this is a small problem as I would expect simply using the newer code to be the right thing[tm]. Yes, I haven't

Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Scott Silva
on 10-22-2008 9:11 PM Kyle Wheeler spake the following: On Wednesday, October 22 at 11:35 PM, quoth Albert E. Whale: I am currently testing a single user, and have successfully converted the mail messages from mbox to Maildir format, and now I am setting up the procmail tool to place the

Re: [Dovecot] Possible header parsing problem

2008-10-23 Thread Timo Sirainen
On Wed, 2008-10-22 at 20:59 -0600, Eric Stadtherr wrote: Content-Type: multipart/alternative; boundary==_alternative 006F3A73872574E8_= Is there one space, two spaces or a TAB at the beginning of the second line? I did a little bit of tracing through the parsing code

Re: [Dovecot] Dovecot+PostfixAdmin+PostgreSQL on FreeBSD 7

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 09:35 +0800, Erdenebat Gantumur wrote: Hi dear, Timo When I execute dovecot -F then it doesn't exiting. During this time when try to telnet 110 port it shows Escape character is '^]'. +OK Dovecot ready. ^] telnet quit OK, so Dovecot works. What does it mean? How

Re: [Dovecot] Possible header parsing problem

2008-10-23 Thread Eric Stadtherr
On Thu, 23 Oct 2008 19:06:19 +0300, Timo Sirainen [EMAIL PROTECTED] wrote: On Wed, 2008-10-22 at 20:59 -0600, Eric Stadtherr wrote: Content-Type: multipart/alternative; boundary==_alternative 006F3A73872574E8_= Is there one space, two spaces or a TAB at the beginning of the second

[Dovecot] Best configuration of dovecot for limit Outlook problems with IMAP

2008-10-23 Thread Alessio Cecchi
Hi, in some installation where users using IMAP and Outlook Express I have some problems. Outolook randomly presents problems in messages retrieving, for example: Outlook Express is unable to retrieve the requested message because the server no longer has the message available server

[Dovecot] mixed client ssl certs and non cert

2008-10-23 Thread Harondel J. Sibble
How do I setup mixed authentication so that I can have say a couple of machines on my lan only use ssl without client certs, but have all the other machines connecting from remotely required to have ssl certs to connect to imap? This is with Dovecot 1.1.4 on CentOS 5.2 -- Harondel J. Sibble

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Thu, 2008-10-23 at 13:13 +0200, Sascha Wilde wrote: Timo Sirainen [EMAIL PROTECTED] writes: On Oct 21, 2008, at 5:27 PM, Sascha Wilde wrote: Sascha Wilde [EMAIL PROTECTED] writes: [userdb-checkpassword] [...] The code is now in dovecot-1.2

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Sascha Wilde
Timo Sirainen [EMAIL PROTECTED] writes: On Thu, 2008-10-23 at 16:18 +0200, Sascha Wilde wrote: [...] 2.) The exported interface in the respective auth-client.h files is different. The solution would be to figure out what the right interface would be [...] Perhaps something like: [api

Re: [Dovecot] dovecot 1.2: SEGV in acl plugin when selecting a shared mailbox

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 13:25 +0200, Sascha Wilde wrote: Hi Timo, there is a bug in the acl plugin (in head, _without_ our acl changes), which causes an segfault on selecting a shared folder. * OK [CAPABILITY ...] Dovecot ready. x login [EMAIL PROTECTED] secret x OK [CAPABILITY ...]

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 18:55 +0200, Sascha Wilde wrote: Timo Sirainen [EMAIL PROTECTED] writes: On Thu, 2008-10-23 at 13:13 +0200, Sascha Wilde wrote: Timo Sirainen [EMAIL PROTECTED] writes: On Oct 21, 2008, at 5:27 PM, Sascha Wilde wrote: Sascha Wilde [EMAIL PROTECTED] writes:

Re: [Dovecot] mixed client ssl certs and non cert

2008-10-23 Thread Timo Sirainen
On Thu, 2008-10-23 at 09:54 -0700, Harondel J. Sibble wrote: How do I setup mixed authentication so that I can have say a couple of machines on my lan only use ssl without client certs, but have all the other machines connecting from remotely required to have ssl certs to connect to imap?

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Sascha Wilde
Sascha Wilde [EMAIL PROTECTED] writes: Timo Sirainen [EMAIL PROTECTED] writes: On Thu, 2008-10-23 at 16:18 +0200, Sascha Wilde wrote: [...] 2.) The exported interface in the respective auth-client.h files is different. The solution would be to figure out what the right interface

Re: [Dovecot] Released v1.1.5 and v1.2.alpha3

2008-10-23 Thread Daniel L. Miller
Timo Sirainen wrote: http://dovecot.org/releases/1.1/dovecot-1.1.5.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.5.tar.gz.sig http://dovecot.org/releases/1.2/alpha/dovecot-1.2.alpha3.tar.gz http://dovecot.org/releases/1.2/alpha/dovecot-1.2.alpha3.tar.gz.sig A combined release announcement

Re: [Dovecot] New userdb backend for checkpassword like programs

2008-10-23 Thread Timo Sirainen
On Oct 23, 2008, at 9:15 PM, Sascha Wilde wrote: as lib-auth/auth-client.c already exists. Would it be a good idea to put the new stuff in the same file? And in case not, any suggestions what a new file could be named? Hmm. auth-client.c is about performing authentication as a client.

[Dovecot] Dovecot dies with PAM error?

2008-10-23 Thread Jason Walton
Just setup a new server on the weekend with Ubuntu 8.10 beta, and Dovecot 1.1.4. Every now and then, the IMAP server dies, and won't let users authenticate. It happens about once or twice a day. In /var/log/mail.log, you can see dovecot complaining about critial errors: Oct 21 14:46:16 tachikoma

Re: [Dovecot] Dovecot dies with PAM error?

2008-10-23 Thread Timo Sirainen
On Wed, 2008-10-22 at 18:17 -0400, Jason Walton wrote: Oct 21 14:47:15 tachikoma dovecot-auth: PAM _pam_init_handlers: error reading /etc/pam.d/dovecot Perhaps it's leaking file descriptors and running out of them. Set auth_worker_max_request_count to some non-zero value and it probably gets

Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Albert E. Whale
Kyle Wheeler wrote: On Wednesday, October 22 at 11:35 PM, quoth Albert E. Whale: I am currently testing a single user, and have successfully converted the mail messages from mbox to Maildir format, and now I am setting up the procmail tool to place the messages into the correct folder. I

[Dovecot] 1.1.5 abort with mal-formed address in header

2008-10-23 Thread Richard Platel
Hi An email with a mal-formed address in a header like: To:([EMAIL PROTECTED] (Starting with a comment, with no closing ')' ) causes dovecot 1.1.5 to panic and abort. This is similar to the problem fixed by: http://hg.dovecot.org/ dovecot-1.1/rev/04fdaa2f831e This patch seems to resolve

Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Albert E. Whale
Scott Silva wrote: on 10-23-2008 1:35 PM Neil spake the following: On 23 Oct 2008, at 16:17, Albert E. Whale wrote: Neil wrote: On 22 Oct 2008, at 23:35, Albert E. Whale wrote: I've been running a mbox solution using UW's IMAP server. I've run it for years.

Re: [Dovecot] mbox to Maildir conversion

2008-10-23 Thread Scott Silva
on 10-23-2008 4:31 PM Albert E. Whale spake the following: Scott Silva wrote: on 10-23-2008 1:35 PM Neil spake the following: On 23 Oct 2008, at 16:17, Albert E. Whale wrote: Neil wrote: On 22 Oct 2008, at 23:35, Albert E. Whale wrote: I've been running a mbox