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 in

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 - siz

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 qu

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
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 /usr/sbin/dove

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] 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] 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] Error using antispam plugin

2008-06-03 Thread Juan Asensio Sánchez
I compile Dovecot from the source packages of the Debian repository. I don't know if it has been correctly compiled with that flag, i have executed: # CFLAGS=-g3 dpkg-buildpackage -rfakeroot -b When running gdb again, i get diffrenet output but i think that this information is not relevant: (gdb

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
On Tue, 2008-06-03 at 22:16 +0300, Timo Sirainen wrote: > On Tue, 2008-06-03 at 21:11 +0200, Johannes Berg wrote: > > On Tue, 2008-06-03 at 21:06 +0200, Juan Asensio Sánchez wrote: > > > Wow. Thanks for your quick answer. I don't know much about compiling > > > or debugging. Could anyone say me how

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Timo Sirainen
On Tue, 2008-06-03 at 21:11 +0200, Johannes Berg wrote: > On Tue, 2008-06-03 at 21:06 +0200, Juan Asensio Sánchez wrote: > > Wow. Thanks for your quick answer. I don't know much about compiling > > or debugging. Could anyone say me how to do that or give some tips? > > well, add -g3 somewhere to t

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
On Tue, 2008-06-03 at 21:06 +0200, Juan Asensio Sánchez wrote: > Wow. Thanks for your quick answer. I don't know much about compiling > or debugging. Could anyone say me how to do that or give some tips? well, add -g3 somewhere to the CFLAGS when building dovecot. johannes signature.asc Descrip

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Juan Asensio Sánchez
Wow. Thanks for your quick answer. I don't know much about compiling or debugging. Could anyone say me how to do that or give some tips? Thanks in advance. 2008/6/3 Johannes Berg <[EMAIL PROTECTED]>: > >> Program received signal SIGSEGV, Segmentation fault. >> 0x0809ea67 in mail_get_physical_size

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
> Program received signal SIGSEGV, Segmentation fault. > 0x0809ea67 in mail_get_physical_size () > (gdb) bt full > #0 0x0809ea67 in mail_get_physical_size () > No symbol table info available. > #1 0xb7e795c5 in quota_mail_storage_created () from > /usr/lib/dovecot/modules/imap/lib10_quota_plugin

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Juan Asensio Sánchez
Hi Thanks for the help, This is the result of the running commands: pdc-server:~# dpkg -l | grep gdb ii gdb 6.4.90.dfsg-1 The GNU Debugger ii libgdbm3 1.8.3-3 GNU dbm database routines (runtime version) pdc-server:~# dpkg -l

Re: [Dovecot] Error using antispam plugin

2008-06-03 Thread Johannes Berg
On Tue, 2008-06-03 at 00:51 +0200, Juan Asensio Sánchez wrote: > Well > > Finally i found the error. It look like antispam is not compatible > with quota plugin. > > mail_plugins = quota imap_quota autocreate antispam > > If i remove quota and imap_quota plugins from imap protocol, > everything

Re: [Dovecot] Error using antispam plugin

2008-06-02 Thread Juan Asensio Sánchez
Well Finally i found the error. It look like antispam is not compatible with quota plugin. mail_plugins = quota imap_quota autocreate antispam If i remove quota and imap_quota plugins from imap protocol, everything works fine and the message is saved in sent folder. mail_plugins = autocreate an

Re: [Dovecot] Error using antispam plugin

2008-05-31 Thread Juan Asensio Sánchez
Hi again Testing with Dovecot 1.1RC7, and antispam plugin 31/05/2008, 18:00, the problem persists. The error ocurrs when Evolution/Thunderbird tries to save the message in the Sent folder (the message is sent and received by the recipient correctly). If i disable antispam plugin from IMAP protocol

Re: [Dovecot] Error using antispam plugin

2008-05-29 Thread Juan Asensio Sánchez
No idea how to add the -g3 option to compile. Once done, how and where is the gdb generated? I would need detailed help to do this. I know that it is known to not work, but if nobody uses it, then it will never work. I think this plugin is great, a great way to classify SPAM without difficult ins

Re: [Dovecot] Error using antispam plugin

2008-05-28 Thread Timo Sirainen
On Wed, 2008-05-28 at 06:43 -0400, Charles Marcus wrote: > Right, all I saw was rc15... so many distros have locked onto that > version for some reason... I think it's mainly RHEL / CentOS. But RHEL 5.2 was released this week with Dovecot 1.0.7 (or so I've heard), so perhaps we can soon get rid o

Re: [Dovecot] Error using antispam plugin

2008-05-28 Thread Anders
Juan Asensio Sánchez wrote: > I am using Dovecot1.1 rc15 compiled from Debian source repositories > (http://xi.rename-it.nl/debian/) and last version of antispam plugin, > obtained with git. Any idea or help to debug? I believe that antispam has not been announced working with 1.1 yet. Anders.

Re: [Dovecot] Error using antispam plugin

2008-05-28 Thread Johannes Berg
> I am using Dovecot1.1 rc15 compiled from Debian source repositories > (http://xi.rename-it.nl/debian/) and last version of antispam plugin, > obtained with git. Any idea or help to debug? Well, compile with -g3 and attach gdb. It's known to not work, and I never said it work would, in fact, the

Re: [Dovecot] Error using antispam plugin

2008-05-28 Thread Charles Marcus
On 5/28/2008, Juan Asensio Sánchez ([EMAIL PROTECTED]) wrote: Well, i did a mistake, it is 1.1rc5 version, so i don't think this is an old version. Right, all I saw was rc15... so many distros have locked onto that version for some reason... -- Best regards, Charles

Re: [Dovecot] Error using antispam plugin

2008-05-28 Thread Juan Asensio Sánchez
Well, i did a mistake, it is 1.1rc5 version, so i don't think this is an old version. 2008/5/28 Charles Marcus <[EMAIL PROTECTED]>: > On 5/28/2008, Juan Asensio Sánchez ([EMAIL PROTECTED]) wrote: >> >> I am using Dovecot1.1 rc15 compiled from Debian source repositories >> (http://xi.rename-it.nl/d

Re: [Dovecot] Error using antispam plugin

2008-05-28 Thread Charles Marcus
On 5/28/2008, Juan Asensio Sánchez ([EMAIL PROTECTED]) wrote: I am using Dovecot1.1 rc15 compiled from Debian source repositories (http://xi.rename-it.nl/debian/) and last version of antispam plugin, obtained with git. Any idea or help to debug? First... upgrade... this is a very old version.

[Dovecot] Error using antispam plugin

2008-05-28 Thread Juan Asensio Sánchez
Hi When activating antispam plugin in imap protocol, when sending an email, Evolution/Thunderbirdkeeps infinitely "Sending authentication information", and Dovecor logs shows "dovecot: May 28 10:14:35 Error: child 6910 (imap) killed with signal 11"; lots of empty folders in /tmp are created with n