Re: [Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 04, 2008 at 03:03:34PM -0700, Asheesh Laroia wrote: [...] > Python has an re.MULTILINE option you can pass to the regular expression so > that it can cross lines. Perhaps Perl or your favorite regular expression > toolkit has something

Re: [Dovecot] Error using antispam plugin

2008-06-04 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 04, 2008 at 08:53:10PM +0200, Juan Asensio Sánchez wrote: > Applying the change Timo has said i get this: [...] > Very similar to previous post (if not identical). Timo, how can i > compile with the -O2 option when building from debian so

Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 20:02 -0400, Jurvis LaSalle wrote:  > >> Jun 4 19:12:08 khan dovecot-auth: pam_unix(dovecot:auth): > >> authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= > >> rhost=127.0.0.1 user=user123 > > > > Someone's trying to brute-force in? > > > sorry. i changed tha

Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-04 Thread Jurvis LaSalle
On Jun 4, 2008, at 7:44 PM, Timo Sirainen wrote: On Wed, 2008-06-04 at 19:21 -0400, Jurvis LaSalle wrote: Hi, We've had some issues with auth. /var/log/secure is full of 1000s of these lines: Jun 4 19:12:08 khan dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid

Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 19:21 -0400, Jurvis LaSalle wrote: > Hi, > > We've had some issues with auth. /var/log/secure is full of 1000s of > these lines: > > Jun 4 19:12:08 khan dovecot-auth: pam_unix(dovecot:auth): > authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= > r

Re: [Dovecot] auth issues on centos5 with ldap backend

2008-06-04 Thread Scott Silva
on 6-4-2008 4:21 PM Jurvis LaSalle spake the following: Hi, We've had some issues with auth. /var/log/secure is full of 1000s of these lines: Jun 4 19:12:08 khan dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=127.0.0.1 use

[Dovecot] auth issues on centos5 with ldap backend

2008-06-04 Thread Jurvis LaSalle
Hi, We've had some issues with auth. /var/log/secure is full of 1000s of these lines: Jun 4 19:12:08 khan dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=127.0.0.1 user=user123 Users can usually login OK with their ldap cr

Re: [Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 23:59 +0200, Diego Liziero wrote: > On Tue, Jun 3, 2008 at 3:05 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-06-03 at 10:34 +0200, Diego Liziero wrote: > >> mbox messages get header corruption caused by an extra linefeed after > >> Content-Length > > > > Fixed

Re: [Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-04 Thread Asheesh Laroia
On Wed, 4 Jun 2008, Diego Liziero wrote: On Tue, Jun 3, 2008 at 3:05 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: On Tue, 2008-06-03 at 10:34 +0200, Diego Liziero wrote: mbox messages get header corruption caused by an extra linefeed after Content-Length Fixed: http://hg.dovecot.org/dovecot-

Re: [Dovecot] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-04 Thread Diego Liziero
On Tue, Jun 3, 2008 at 3:05 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Tue, 2008-06-03 at 10:34 +0200, Diego Liziero wrote: >> mbox messages get header corruption caused by an extra linefeed after >> Content-Length > > Fixed: http://hg.dovecot.org/dovecot-1.1/rev/e043135e971d Works, thank y

Re: [Dovecot] Error using antispam plugin

2008-06-04 Thread Juan Asensio Sánchez
Applying the change Timo has said i get this: == (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. mail_get_physical_size (mail=0x81203a0, size_r=0x0) at mail.c:100 100 return p->v.get_physical_size

Re: [Dovecot] mbox empty messages in Sent folder

2008-06-04 Thread Diego Liziero
On Tue, May 27, 2008 at 5:43 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: >> > Maybe this helps? http://hg.dovecot.org/dovecot-1.1/rev/dd9d344ba140 >> >> Thanks Timo, I'll let you know if it happens again with this patch. > > That only causes the empty message not to be written at all, it doesn't >

Re: [Dovecot] Error using antispam plugin

2008-06-04 Thread Johannes Berg
> But looking at the antispam code I think there's one bug: > > static int antispam_save_finish(struct mail_save_context *ctx) > struct mail *dest_mail = ast->mail; > > I think ast->mail can be NULL. It should maybe be instead: > > dest_mail = ctx->dest_mail != NULL ? ctx->dest_mail : ast

Re: [Dovecot] Error using antispam plugin

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 20:20 +0200, Juan Asensio Sánchez wrote: > Program received signal SIGSEGV, Segmentation fault. > mail_get_physical_size (mail=0x8129ba8, size_r=0x0) at mail.c:100 > 100 return p->v.get_physical_size(mail, size_r); > (gdb) bt full > #0 mail_get_physical_size (mail=0

Re: [Dovecot] Error using antispam plugin

2008-06-04 Thread Juan Asensio Sánchez
Well Now i think i did it. This is the debug information: = pdc-server:~# ps aux | grep -i dove root 9044 0.0 0.2 1940 616 ?Ss 20:13 0:00 /usr/sbin/dovecot root 9045 0.0 1.1 9680 2948 ?S

Re: [Dovecot] 1.1RC8 and gssapi

2008-06-04 Thread Cassidy Larson
that fixed the freebsd dovecot-devel port problem, once I uninstalled the krb5 port I had previously installed. So now it compiles as expected. thanks! -c On Wed, Jun 4, 2008 at 11:34 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-04 at 11:05 -0600, Cassidy Larson wrote: > > I h

Re: [Dovecot] 1.1RC8 and gssapi

2008-06-04 Thread Cassidy Larson
Since the base krb5 included with FreeBSD doesnt include gssapi_krb5.h, I needed to install the krb5 port which has it. After installing the krb5 port it compiles fine from scratch, but the FreeBSD dovecot-devel port doesnt work and gives some fun errors: /usr/lib/libgssapi.so: undefined reference

Re: [Dovecot] 1.1RC8 and gssapi

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 11:05 -0600, Cassidy Larson wrote: > I have a /usr/include/krb5.h but no gssapi_krb5.h. I thought all systems having gssapi.h and krb5.h had also gssapi_krb5.h. But I guess if you don't care about cross-realm auth you don't need it. This fixes it: http://hg.dovecot.org/doveco

Re: [Dovecot] 1.1RC8 and gssapi

2008-06-04 Thread Cassidy Larson
I have a /usr/include/krb5.h but no gssapi_krb5.h. On Wed, Jun 4, 2008 at 11:03 AM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > Do you have gssapi_krb5.h anywhere? Do you have krb5.h? > >

Re: [Dovecot] 1.1RC8 and gssapi

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 11:00 -0600, Cassidy Larson wrote: > Trying to compile 1.1rc8 from scratch on FreeBSD 6.3 as well as from the > dovecot-devel port and I get an error when trying to include gssapi. > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-sql > -I../../src/lib-set

Re: [Dovecot] strange quota error

2008-06-04 Thread JOHN ROMAN
heh, sorry bout that. [EMAIL PROTECTED] ~]# dovecot --version 1.0.10 /usr/local/sbin/dovecot -n # 1.0.10: /usr/local/etc/dovecot.conf protocols: imaps ssl_cert_file: /etc/ssl/dovecot/newcert.pem ssl_key_file: /etc/ssl/dovecot/newkey.pem login_dir: /var/run/dovecot/login login_executable: /usr/lo

[Dovecot] 1.1RC8 and gssapi

2008-06-04 Thread Cassidy Larson
Trying to compile 1.1rc8 from scratch on FreeBSD 6.3 as well as from the dovecot-devel port and I get an error when trying to include gssapi. gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-sql -I../../src/lib-settings -I../../src/lib-ntlm -I../../src/lib-otp -DAUTH_MODULE_DIR=

Re: [Dovecot] v1.1.rc8 released

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 14:38 +0200, Steffen Kaiser wrote: > >> Also, the W= size thing is not added to filenames when using -p. > > > > And cache isn't updated either. These are because hard linking can be > > done without actually reading the mail contents. I won't fix this for > > v1.1, but I

Re: [Dovecot] v1.1.rc8 released

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 12:09 +0200, Anders wrote: > >> Also, the W= size thing is not added to filenames when using -p. > > > > And cache isn't updated either. These are because hard linking can be > > done without actually reading the mail contents. I won't fix this for > > v1.1, but I updated

Re: [Dovecot] strange quota error

2008-06-04 Thread Charles Marcus
On 6/4/2008, JOHN ROMAN ([EMAIL PROTECTED]) wrote: i also occasionally see this. dovecot: statfs(/users/jdoe/Maildir) failed: Permission denied Maybe a little more info would be helpful? Version? dovecot -n output? -- Best regards, Charles

[Dovecot] quotactl bug?

2008-06-04 Thread JOHN ROMAN
more on the strange quota errorthis is in BSD, with quotas referenced on an NFS, and users provided by YP/NIS quotactl(Q_GETQUOTA, /.amd_mnt/crock/vol/v_user1/jdoe) failed: Operation not supported this looks strange to me, as the specification for quotactl states the function Q_GETQUOTA:

[Dovecot] strange quota error

2008-06-04 Thread JOHN ROMAN
i have a dovecot setup that uses an nfs backend to store maildir data.  i want to enforce fs quotas, but whenever theyre selected and i attempt to query them from thunderbird...this appears in the log quotactl(Q_GETQUOTA, /.amd_mnt/crock/vol/v_user1/jdoe) failed: Operation not supported i also

Re: [Dovecot] v1.1.rc8 released

2008-06-04 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Jun 2008, Timo Sirainen wrote: Also, the W= size thing is not added to filenames when using -p. And cache isn't updated either. These are because hard linking can be done without actually reading the mail contents. I won't fix this f

Re: [Dovecot] FreeBSD port for 1.1, some bits more...

2008-06-04 Thread Geert Hendrickx
FWIW, pkgsrc users can find an up-to-date dovecot 1.1 package in pkgsrc-wip: http://pkgsrc.se/wip/dovecot http://pkgsrc.se/wip/dovecot-sieve Geert On Tue, Jun 03, 2008 at 10:41:42PM +0200, Geoffroy DESVERNAY wrote: > I did (re-)compile dovecot (1.1rc8) today, with managesieve (0.10.2) a

Re: [Dovecot] v1.1.rc8 released

2008-06-04 Thread Anders
Timo Sirainen wrote: > On Wed, 2008-06-04 at 11:37 +0200, Anders wrote: >> Timo Sirainen wrote: >> >> >+ deliver: Added -c parameter to provide path to delivered mail. >> > This allows maildir to save identical mails to multiple recipients >> > using hard links. [...] >> Also, the W

Re: [Dovecot] v1.1.rc8 released

2008-06-04 Thread Timo Sirainen
On Wed, 2008-06-04 at 11:37 +0200, Anders wrote: > Timo Sirainen wrote: > > > + deliver: Added -c parameter to provide path to delivered mail. > > This allows maildir to save identical mails to multiple recipients > > using hard links. > > Now I tried this, with some trouble. > >

Re: [Dovecot] v1.1.rc8 released

2008-06-04 Thread Anders
Timo Sirainen wrote: > + deliver: Added -c parameter to provide path to delivered mail. > This allows maildir to save identical mails to multiple recipients > using hard links. Now I tried this, with some trouble. I had to set "maildir_copy_with_hardlinks = yes" for "delive