[Dovecot] New message notification

2008-11-19 Thread Juan Asensio Sánchez
Sieve filtering, so the script should not be executed when the message is moved to the SPAM folder, or pass to the script an argument specifying the folder where the message has been saved. Regards and thanks in advance. Juan Asensio Sánchez - http://www.nutum.es

[Dovecot] Custom Debian package bulding

2008-08-26 Thread Juan Asensio Sánchez
Hi I am using Debian source packages from http://xi.rename-it.nl/debian/. When downloading dependencies, I have seen that the package requires MySQL, that I don't use. How could I remove this dependency or chanage them? Is that defined in any file? However, I would like to use SQLite or Postgres

Re: [Dovecot] quota vs. antispam issue

2008-07-25 Thread Juan Asensio Sánchez
Yes I didn't realise that error, so the plugin did not work correctly. After fixing it (remove the ;), recompile, the plugin looks to work fine. Thank you very much again. 2008/7/25 Anders <[EMAIL PROTECTED]>: > Johannes Berg wrote: > >> Ok, I've committed that, so it should work now. Somebody p

[Dovecot] One LDAP attribute for many variables

2008-07-25 Thread Juan Asensio Sánchez
Hi Using Dovecot 1.1.2 with LDAP. If i have this: user_attrs = uid=home=/var/vmail/%$,mailuserquota=quota_rule=*:storage=%$,=mail=maildir:/var/vmail/%n/Maildir OK. But if i have this: user_attrs = uid=home=/var/vmail/%$,mailuserquota=quota_rule=*:storage=%$,uid=mail=maildir:/var/vmail/%$/Mail

Re: [Dovecot] quota vs. antispam issue

2008-07-24 Thread Juan Asensio Sánchez
I will test it tomorrow. Thanks for your work. 2008/7/24 Johannes Berg <[EMAIL PROTECTED]>: > On Mon, 2008-07-21 at 15:26 +0300, Timo Sirainen wrote: >> On Mon, 2008-07-21 at 06:48 +0200, Johannes Berg wrote: >> > On Sun, 2008-07-20 at 23:53 +0300, Timo Sirainen wrote: >> > >> > > > Ok, that seem

[Dovecot] Run script before delivery

2008-07-18 Thread Juan Asensio Sánchez
Hi Is it possible to run one script before the "real" delivery of a message (with lda, or before the execution of the sieve scripts) but after the creation of necessary folders (Dovecot automatically creates the folders for virtual users)? I want to to this to manually create a fixed empty sieve s

Re: [Dovecot] Antispam plugin custom behavior?

2008-06-11 Thread Juan Asensio Sánchez
Hi The anispam plugin does exactly what you need, and you could forget the cron script. If you use SpamAssassin, you could add a rule to Sieve to move the Spam messages when they arrives to the Spam folder. If a user moves a message from Spam folder to any other folder, then the message is conside

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

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 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 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
nated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) 2008/6/4 Juan Asensio Sánchez <[EMAIL PROTECTED]>: > 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 > e

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 Juan Asensio Sánchez
() No symbol table info available. (gdb) Regards. 2008/6/3 Johannes Berg <[EMAIL PROTECTED]>: > 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. &g

Re: [Dovecot] Error using antispam plugin

2008-06-02 Thread Juan Asensio Sánchez
antispam If i enable again the plugins, the error happens again. Any solution? Regards. 2008/5/31 Juan Asensio Sánchez <[EMAIL PROTECTED]>: > Hi again > > Testing with Dovecot 1.1RC7, and antispam plugin 31/05/2008, 18:00, > the problem persists. The error ocurrs when Evolution/T

Re: [Dovecot] Error using antispam plugin

2008-05-31 Thread Juan Asensio Sánchez
mpdir /tmp repeated for every child error. Regards. 2008/5/29 Juan Asensio Sánchez <[EMAIL PROTECTED]>: > 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,

Re: [Dovecot] v1.1.rc6 released

2008-05-30 Thread Juan Asensio Sánchez
Hi I will try the plugin because i have been who most problems has had. Regards. 2008/5/30 Johannes Berg <[EMAIL PROTECTED]>: > On Fri, 2008-05-30 at 03:39 +0300, Timo Sirainen wrote: >> http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc6.tar.gz >> http://dovecot.org/releases/1.1/rc/dovecot-1.1.r

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

Re: [Dovecot] Error when using include directive in Sieve

2008-05-28 Thread Juan Asensio Sánchez
us <[EMAIL PROTECTED]>: > On 5/27/2008 6:47 PM, Juan Asensio Sánchez wrote: >> >> Hi >> >> I have two sieve scripts: > > Is this the same installation as the one with the 'error antispam plugin'? > > If so, there is no 1.1rc15, so, was it actually 1.1

[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

[Dovecot] Error when using include directive in Sieve

2008-05-27 Thread Juan Asensio Sánchez
Hi I have two sieve scripts: # cat /var/vmail/sieve/global require ["include"]; include :global "spam"; include :personal "sieve"; # cat /var/vmail/sieve/spam require "fileinto"; if exists "X-Spam-Flag" { fileinto "Junk"; } # ls -l /var/vmail/sieve/ total 16 -rw-r--r-- 1 mailuser mailgroup 68

[Dovecot] Problem compiling antispam plugin with Dovecot 1.1

2008-05-24 Thread Juan Asensio Sánchez
Hi I am trying to compile antispam plugin with Dovecot 1.1, but i get an error when running make install: pdc-server:~/tmp/dovecot-antispam# make cc -c -DHAVE_CONFIG_H -Wall -I/root/tmp/dovecot-1.1.rc5/ -I/root/tmp/dovecot-1.1.rc5/src/ -I/root/tmp/dovecot-1.1.rc5/src/lib/ -I/root/tmp/dovecot-1.1

[Dovecot] Auto-subscribe to folders

2008-05-18 Thread Juan Asensio Sánchez
Hi I will use autocreate plugin in a new installation, and client has asked me if the users can be auto-subscribed to certain folders. Example: the users will have an autocreated Junk folder (for SPAM) and we want the users not to be un-subscribed for this folder; so if the user wants to be unsubs

Re: [Dovecot] deliver custom maildir creation

2008-05-05 Thread Juan Asensio Sánchez
Here: http://dovecot.org/patches/1.1/ How to compile (in spanish ;)): http://wiki.nutum.es/linux/samba/samba_ldap_mds/compilacion_paquetes_dovecot Regards 2008/5/5 Charles Marcus <[EMAIL PROTECTED]>: > On 5/5/2008, Juan Asensio Sánchez ([EMAIL PROTECTED]) wrote: > > > Perh

Re: [Dovecot] deliver custom maildir creation

2008-05-05 Thread Juan Asensio Sánchez
Perhaps the autocreate plugin can do this. 2008/5/5 Charles Marcus <[EMAIL PROTECTED]>: > On 5/5/2008, Asheesh Laroia ([EMAIL PROTECTED]) wrote: > > > I don't know as far as deliver, but what I do is put the mailboxes I want > to be sure exist in my /etc/skel. That way, on user creation, the > di

Re: [Dovecot] Compiling plugins

2008-05-04 Thread Juan Asensio Sánchez
-fPIC -shared -Wall -Wextra -DPLUGINNAME=antispam -o debug.o debug.c cc -o .o cc: no input files make: *** [.o] Error 1 pdc-server:~/tmp/antispam# 2008/5/5 Juan Asensio Sánchez <[EMAIL PROTECTED]>: > Hi > > I use Debian Etch 4.0r3. I am trying to compile antispam plugin, but

[Dovecot] Compiling plugins

2008-05-04 Thread Juan Asensio Sánchez
Hi I use Debian Etch 4.0r3. I am trying to compile antispam plugin, but i have no idea about how to do it cause i have never done so. I have compiled source packages for Debian with some instructions in some pages, but i can not compile this plugin separately. Can anyone help me or give some tips

[Dovecot] Fatal: Running as root isn't permitted

2008-05-04 Thread Juan Asensio Sánchez
:19 +0200, Juan Asensio Sánchez wrote: > > mech-gssapi.o: In function `gssapi_krb5_userok': > > /root/tmp/dovecot-1.1.rc4/src/auth/mech-gssapi.c:325: undefined > > reference to `krb5_get_error_message' > > This fixes it: http://hg.dovecot.org/dovecot-1.1/rev/ad0f32abda6d > >

Re: [Dovecot] Fatal: Running as root isn't permitted

2008-05-04 Thread Juan Asensio Sánchez
ROTECTED]>: > On Sat, 2008-05-03 at 23:13 +0200, Juan Asensio Sánchez wrote: > > Well > > > > I solved it. Altough "mail_uid = mailuser" is defined in dovecot.conf, > > i must also return an "uid" from the ldap query. Changing: > > >

Re: [Dovecot] Fatal: Running as root isn't permitted

2008-05-03 Thread Juan Asensio Sánchez
var/vmail/%d/%n,=uid=mailuser,mailuserquota=quota=maildir:storage,=mail=maildir:/var/vmail/%d/%n/Maildir u solved the problem. Hope this could be helpful for someone. 2008/5/2 Juan Asensio Sánchez <[EMAIL PROTECTED]>: > Hi > > I am running Dovecot 1.1RC4, built from the source pac

[Dovecot] Fatal: Running as root isn't permitted

2008-05-02 Thread Juan Asensio Sánchez
Hi I am running Dovecot 1.1RC4, built from the source packages at the debian repositories (http://xi.rename-it.nl/debian/). When a message is delivered through the LDA, i get this error: deliver([EMAIL PROTECTED]): May 02 14:43:28 Fatal: Running as root isn't permitted These are my config files

[Dovecot] Global and personal sieve scripts

2008-04-30 Thread Juan Asensio Sánchez
Hi According to Dovecot documentation (): # If there is no user-specific Sieve-script, global Sieve script is # executed if set. (v1.0.1 and older used "global_script_path") #sieve_global_path = Then, if one user has its own script, the global script won't be executed? I would like to exec

[Dovecot] Run command when moving messages

2008-04-20 Thread Juan Asensio Sánchez
Hi Is it possible to run a command when a message is moved from a folder to another? I want this to simulate the antispam plugin, so one script would be ran when a message is moved to/from the spam folder, so the sa-learn command would be called. Thanks