Re: [Dovecot] Error using antispam plugin

2008-06-05 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

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

2008-06-05 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] [solved] mbox: extra linefeed after Content-Length header in 1.1.rc8

2008-06-05 Thread Diego Liziero
On Wed, 2008-06-04 at 23:59 +0200, Diego Liziero wrote: As the extra linefeed is between Content-Length and Subject headers, I'm thinking about using a regexp based replace such as s/(Content-Length: [0-9]+)\n\n(Subject: )/$1\n$2/s but I can't find how to make multiple lines matching work.

[Dovecot] Get the size of a maildir

2008-06-05 Thread Nicolas Letellier
Hello. I would like to know it a 'proper' solution exist to get the size (in MB) of a maildir. Actually, to get it, I do a 'du -sh' but I'm not sure it is a good solution. And it does not return the same value than imap-quota. Is there a command, a tool, in Dovecot to get it? There is the

Re: [Dovecot] Get the size of a maildir

2008-06-05 Thread Timo Sirainen
On Thu, 2008-06-05 at 11:50 +0200, Nicolas Letellier wrote: Hello. I would like to know it a 'proper' solution exist to get the size (in MB) of a maildir. Actually, to get it, I do a 'du -sh' but I'm not sure it is a good solution. And it does not return the same value than imap-quota.

Re: [Dovecot] strange quota error

2008-06-05 Thread Joseba Torre
El Miércoles, 4 de Junio de 2008 a las 19:02, JOHN ROMAN escribió: [EMAIL PROTECTED] ~]# dovecot --version 1.0.10 1.0 doesn't support fs quota for nfs mounted filesystems. You can get it patching the sources. I do this this way (quick dirt translation of my spanish docs) -tested with

Re: [Dovecot] Get the size of a maildir

2008-06-05 Thread Nicolas Letellier
Le Thu, 05 Jun 2008 13:11:23 +0300, Timo Sirainen [EMAIL PROTECTED] a écrit : On Thu, 2008-06-05 at 11:50 +0200, Nicolas Letellier wrote: Hello. I would like to know it a 'proper' solution exist to get the size (in MB) of a maildir. Actually, to get it, I do a 'du -sh' but I'm not

Re: [Dovecot] Get the size of a maildir

2008-06-05 Thread Timo Sirainen
On Jun 5, 2008, at 1:25 PM, Nicolas Letellier wrote: printf 1 getquotaroot inbox\n | dovecot --exec-mail imap (or depending on your settings change $USER, $HOME or use netcat and master user login) Thanks for the response. It seems to be a good solution! But I don't know how use this tool.

Re: [Dovecot] Get the size of a maildir

2008-06-05 Thread Nicolas Letellier
Le Thu, 5 Jun 2008 13:32:59 +0300, Timo Sirainen [EMAIL PROTECTED] a écrit : On Jun 5, 2008, at 1:25 PM, Nicolas Letellier wrote: printf 1 getquotaroot inbox\n | dovecot --exec-mail imap (or depending on your settings change $USER, $HOME or use netcat and master user login) Thanks

[Dovecot] deliver 1.0 vs 1.1

2008-06-05 Thread arne van theemsche
Hi I use deliver with an auth socket I have 2 namespaces (which isn't relevant here, but anyway) namespace private { separator = / prefix = location = maildir:/var/spool/mail/%1n/%2n/%n inbox = YES #hidden = yes } namespace private { separator = / prefix = mail/ location =

[Dovecot] Weird RC6 trash problem

2008-06-05 Thread Marc Perkel
Noticed an occasional strange problem that appeared after upgrading to RC6. Using Thunderbird on XP I empty the trash and everything in trash folder vanishes. But then it reappears in the message totals. But if I actually click on the folder there's nothing there. Not sure if this is an RC6

[Dovecot] assertion after upgrading to 1.1rc7 from 1.1rc3

2008-06-05 Thread Nuno Lopes
Hi, I'm getting this assertion after making an upgrade from 1.1rc3 to 1.1rc7. Deleting the index files solves the problem. This seems to happen only to some accounts but I haven't managed to find which ones. I'm using dovecot's deliver to deliver the messages. Panic: IMAP([EMAIL PROTECTED]):

Re: [Dovecot] assertion after upgrading to 1.1rc7 from 1.1rc3

2008-06-05 Thread Timo Sirainen
On Thu, 2008-06-05 at 15:01 +0100, Nuno Lopes wrote:  I'm getting this assertion after making an upgrade from 1.1rc3 to 1.1rc7. Deleting the index files solves the problem. This seems to happen only to some accounts but I haven't managed to find which ones. I'm using dovecot's deliver to

Re: [Dovecot] quotactl bug?

2008-06-05 Thread Geoffroy Desvernay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JOHN ROMAN a écrit : 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

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

2008-06-05 Thread Jurvis LaSalle
On Jun 4, 2008, at 8:54 PM, Timo Sirainen wrote: 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

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

2008-06-05 Thread Hugo Monteiro
Jurvis LaSalle wrote: On Jun 4, 2008, at 8:54 PM, Timo Sirainen wrote: 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

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

2008-06-05 Thread Timo Sirainen
On Thu, 2008-06-05 at 12:55 -0400, Jurvis LaSalle wrote: Jun 5 12:37:46 khan dovecot-auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser= rhost=127.0.0.1 user=validLDAPaccount So the user was logged in, but an error was logged for some reason.

Re: [Dovecot] Error using antispam plugin

2008-06-05 Thread Juan Asensio Sánchez
Compiling this way: # export CFLAGS=-g3 -O2 # DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -rfakeroot -b I get this: pdc-server:~# ps aux | grep dove root 16954 0.0 0.2 1940 616 ?Ss 21:15 0:00

Re: [Dovecot] Error using antispam plugin

2008-06-05 Thread Timo Sirainen
On Jun 5, 2008, at 11:17 PM, Juan Asensio Sánchez wrote: Compiling this way: # export CFLAGS=-g3 -O2 Almost, but not quite :) *without* -O2, not with. It's enabled by default. PGP.sig Description: This is a digitally signed message part

Re: [Dovecot] Error using antispam plugin

2008-06-05 Thread Juan Asensio Sánchez
What flags should i then use? I have tried with -g3 -O0 and only with -O0 but i do not get any additional info. 2008/6/5 Timo Sirainen [EMAIL PROTECTED]: On Jun 5, 2008, at 11:17 PM, Juan Asensio Sánchez wrote: Compiling this way: # export CFLAGS=-g3 -O2 Almost, but not quite :) *without*

Re: [Dovecot] Error using antispam plugin

2008-06-05 Thread Timo Sirainen
On Jun 6, 2008, at 1:21 AM, Juan Asensio Sánchez wrote: What flags should i then use? I have tried with -g3 -O0 and only with -O0 but i do not get any additional info. The problem with your backtrace is that: #0 mail_get_physical_size (mail=0x8135db8, size_r=0x0) at mail.c:100 - size_r

Re: [Dovecot] Error using antispam plugin

2008-06-05 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 06, 2008 at 12:21:27AM +0200, Juan Asensio Sánchez wrote: What flags should i then use? I have tried with -g3 -O0 and only with -O0 but i do not get any additional info. Hmm. It should. I'm tight on time, but you can have a look into