[Dovecot] verbose IMAP logging

2008-02-14 Thread Robert Chien
Hi, Is there a way to enable telemetry or debug-level logging in Dovecot IMAP, to see the exact IMAP command issued by the client and server? E.g. to confirm if a certain MUA is indeed using IMAP IDLE, or if it's doing LIST or LSUB. The IMAP connection is made over TLS/SSL, so tcpdump won

[Dovecot] Finding Dovecot 1.1 hg

2008-02-14 Thread Asheesh Laroia
When I do either: $ hg clone http://hg.dovecot.org/dovecot/1.1/ or $ hg clone http://hg.dovecot.org/dovecot/ and cd into the resulting directory ("1.1/" or "dovecot/") and do autogen.sh and configure, ./configure tells me at the end: NOTE: This is the UNSTABLE development branch of Dovecot

[Dovecot] Best way to push Squat forward

2008-02-14 Thread Asheesh Laroia
Timo, you mentioned you're getting tired of fighting Squat bugs lately. Does that mean you know all the bugs, and just need time to find and fix them? Or should instead I try harder to find bugs by using Dovecot 1.1 on a daily basis, and then sending you copies of mails that break it, like ht

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Matthew Thorley
Thanks Timo, I updated my config again, according to the link you sent. I'll reply again later if I see any more problems. -- Matthew Thorley

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Matthew Thorley
I found a message on the list describing a similar problems (link below) and added blocking=yes to my auth setting. I had that in my last config with the old version and still had trouble, but hopefully it will do the trick here. -- matthew http://www.mail-archive.com/dovecot@dovecot.org/msg04643

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Timo Sirainen
On Feb 14, 2008, at 11:49 PM, Matthew Thorley wrote: Timo > Where does pam authenticate from? Where does passwd (i.e. NSS) Timo > authenticate from? I'm not sure about passwd, but pam authentication comes from ldap. Sounds like you're using nss_ldap. See http://wiki.dovecot.org/AuthDatabase/

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Matthew Thorley
Sorry Timo your seeing these twice. For some reason my mail client replied to you and not the list. Timo > Where does pam authenticate from? Where does passwd (i.e. NSS) Timo > authenticate from? I'm not sure about passwd, but pam authentication comes from ldap. It started failing again. Here ar

Re: [Dovecot] Solaris 10 / 1.1.beta15 imap cores

2008-02-14 Thread Tomi Vainio
Timo Sirainen wrote: On Thu, 2008-02-14 at 13:07 +0200, Tomi Vainio wrote: Feb 14 11:52:33 dovecot: [ID 107833 mail.crit] IMAP(tomppa): file message-parser.c: line 674: assertion failed: (ctx->part->physical_pos >= ctx->input->v_offset) Any idea how I could reproduce this? I've been running m

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Timo Sirainen
On Feb 14, 2008, at 11:07 PM, Matthew Thorley wrote: passdb: driver: pam userdb: driver: passwd Where does pam authenticate from? Where does passwd (i.e. NSS) authenticate from? PGP.sig Description: This is a digitally signed message part

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Matthew Thorley
Alright then. I took Charles advice, installed version 1.0.10, and created a new config from scratch. Dovecot is still hanging up randomly. When I starts to hang (stop allowing users to login) I get errors like this in syslog Feb 14 13:44:59 mail dovecot: pop3-login: Can't connect to auth server

Re: [Dovecot] Solaris 10 / 1.1.beta15 imap cores

2008-02-14 Thread Timo Sirainen
On Thu, 2008-02-14 at 13:07 +0200, Tomi Vainio wrote: > > Feb 14 11:52:33 dovecot: [ID 107833 mail.crit] IMAP(tomppa): file > > message-parser.c: line 674: assertion failed: (ctx->part->physical_pos >= > > ctx->input->v_offset) Any idea how I could reproduce this? I've been running my IMAP stres

[Dovecot] Managesieve with local accounts

2008-02-14 Thread Michael Baecker
Hello, I've got a problem using the plugin managsieve in dovecot (1.0.10 on gentoo linux). I use local unix accounts on a linux machine, one for each user with a .maildir in there home directory. Here is a snippet of the logging. Feb 14 20:17:48 obelix dovecot: Dovecot v1.0.10 starting up

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Edgar Fuß
It's what I'd expect. In fact, it's what UFS does. Renaming a file doesn't change it's inode. That's not true for the Solaris 9 implementation of UFS: Sorry, I meant UFS on NetBSD. I didn't know Solaris would behave differently.

[Dovecot] Restrict user on IMAP or POP

2008-02-14 Thread Sebastien Roy
Hey guys, Is it possible to deny a user on POP or IMAP! For example, on the primary server we use POP3 and IMAP but how I can force a user to use POP3 and be unable to authenticate on IMAP ? Thanks Sebastien

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Matthew Thorley
Thanks Charles. I downloaded the latest code, and reconfigured from scratch. Now everything is working. Regards -- matthew On Thu, Feb 14, 2008 at 3:55 AM, Charles Marcus <[EMAIL PROTECTED]> wrote: > On 2/13/2008, Matthew Thorley ([EMAIL PROTECTED]) wrote: > > dovecot --version > > 1.0.beta3 >

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread mouss
Bill Cole wrote: At 12:27 PM +0100 2/14/08, Edgar Fuß wrote: Am 13.02.2008 um 14:56 schrieb Bill Cole: Not on all filesystems. Note what HFS+ (MacOS) does: ~ $ ls -lc foo -rwxr-xr-x 1 wkc wkc 332 Jan 29 03:32 foo ~ $ mkdir foodir ~ $ mv foo foodir ~ $ ls -lc foodir/foo -rwxr-xr-x

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread mouss
Bill Cole wrote: At 11:53 PM +0100 2/13/08, mouss imposed structure on a stream of electrons, yielding: Bill Cole wrote: [...] Not on all filesystems. Note what HFS+ (MacOS) does: ~ $ ls -lc foo -rwxr-xr-x 1 wkc wkc 332 Jan 29 03:32 foo ~ $ mkdir foodir ~ $ mv foo foodir ~ $ ls -lc foo

Re: [Dovecot] Restrict user on IMAP or POP

2008-02-14 Thread Timo Sirainen
On Thu, 2008-02-14 at 11:12 -0500, Sebastien Roy wrote: > Is it possible to deny a user on POP or IMAP! For example, on the > primary server we use POP3 and IMAP but how I can force a user to use > POP3 and be unable to authenticate on IMAP ? http://wiki.dovecot.org/Authentication/RestrictAcc

[Dovecot] Restrict user on IMAP or POP

2008-02-14 Thread Sebastien Roy
Hey guys, Is it possible to deny a user on POP or IMAP! For example, on the primary server we use POP3 and IMAP but how I can force a user to use POP3 and be unable to authenticate on IMAP ? Thanks Sebastien

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Kyle Wheeler
On Thursday, February 14 at 09:50 AM, quoth Bill Cole: I'm curious: do you have examples of mail software that doesn't use the timestamp? (I could see some run-once script not doing it, but I'd be surprised if widely-used software didn't.) The procmailrc man page says that MSGPREFIX defaults t

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Timo Sirainen
On Thu, 2008-02-14 at 00:25 -0500, Benjamin R. Haskell wrote: > And, as Charles pointed out, in Dovecot 1.1 there's a plugin to do this. > Does the expunge plugin work without the user logging in, though? Yes. That's exactly what it does. It keeps user/mailbox <-> oldest_msg mapping in a Berkele

Re: [Dovecot] Apple Mail for 10.4/Shadow/SSL -> Problem.

2008-02-14 Thread Phredd Groves
On Wed, Jan 30, 2008 at 01:09:54PM -0500, Phredd Groves wrote: * *I have recently gotten Dovecot running on my Solaris 5.8 mail server in order *to replace UW IMAP. I'm currently testing it out with mail clients popular *amongst my users. It's been working very well, with one vital exception. * *

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Bill Cole
At 11:53 PM +0100 2/13/08, mouss imposed structure on a stream of electrons, yielding: Bill Cole wrote: [...] Not on all filesystems. Note what HFS+ (MacOS) does: ~ $ ls -lc foo -rwxr-xr-x 1 wkc wkc 332 Jan 29 03:32 foo ~ $ mkdir foodir ~ $ mv foo foodir ~ $ ls -lc foodir/foo -rwxr-xr-x

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Bill Cole
At 12:27 PM +0100 2/14/08, Edgar Fuß wrote: >Am 13.02.2008 um 14:56 schrieb Bill Cole: > >>Not on all filesystems. Note what HFS+ (MacOS) does: >> >>~ $ ls -lc foo >>-rwxr-xr-x 1 wkc wkc 332 Jan 29 03:32 foo >>~ $ mkdir foodir >>~ $ mv foo foodir >>~ $ ls -lc foodir/foo >>-rwxr-xr-x 1 wkc wk

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Bill Cole
At 12:25 AM -0500 2/14/08, Benjamin R. Haskell imposed structure on a stream of electrons, yielding: On Wed, 13 Feb 2008, Bill Cole wrote: [...] Maildir DOES NOT require a timestamp in the filename, it's just common. DJB's Maildir spec isn't RFC-esque (so it's not a MUST, in that sense).

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Edgar Fuß
Am 13.02.2008 um 14:56 schrieb Bill Cole: Not on all filesystems. Note what HFS+ (MacOS) does: ~ $ ls -lc foo -rwxr-xr-x 1 wkc wkc 332 Jan 29 03:32 foo ~ $ mkdir foodir ~ $ mv foo foodir ~ $ ls -lc foodir/foo -rwxr-xr-x 1 wkc wkc 332 Jan 29 03:32 foodir/foo ~ $ date Wed Feb 13 08:39:24

[Dovecot] Solaris 10 / 1.1.beta15 imap cores

2008-02-14 Thread Tomi Vainio
Hi, I've been using 1.0 but moved to beta to see if it works before release. Both b14 and b15 dies sometimes when accessing folders. Last time I fixed this by moving one message from folder to another and then back. Next I'm trying to build this with debugging enabled. Tomppa > Feb 14 11:52:

Re: [Dovecot] Deleting messages from MailDir

2008-02-14 Thread Charles Marcus
On 2/14/2008, Benjamin R. Haskell ([EMAIL PROTECTED]) wrote: And, as Charles pointed out, in Dovecot 1.1 there's a plugin to do this. Does the expunge plugin Actually, its the 'Expire' plugin... ;) work without the user logging in, though? (not that that's an enormous problem -- more curiosit

Re: [Dovecot] dovecot rejecting auth after working a few times

2008-02-14 Thread Charles Marcus
On 2/13/2008, Matthew Thorley ([EMAIL PROTECTED]) wrote: dovecot --version 1.0.beta3 Ack! You will have to upgrade before anyone will spend any time trying to help you. This is extremely old. It is recommended that you start with a clean, fresh config file, and slowly make the changes requ