[Dovecot] Dovecot 2.2.7/2.2.8 failing to call dspam with antispam

2013-11-25 Thread Guillaume Hilt
] process_users() failed on error 9 If i try to call dspam like this, it works : sudo -u vmail /usr/bin/dspam --source=error --class=spam --signature=4be87a9f953248352114216 --client --user vmail Any idea ? Thanks, -- Guillaume Hilt

Re: [Dovecot] Dovecot 2.2.7/2.2.8 failing to call dspam with antispam

2013-11-25 Thread Guillaume Hilt
table. Guillaume Hilt Le 25/11/2013 13:39, Tom Hendrikx a écrit : On 11/25/2013 01:17 PM, Guillaume Hilt wrote: Hello again, I'm running Gentoo AMD64 2013 with postfix, mysql, dovecot and dspam : dovecot 2.2.8 (it was working fine with 2.2.6 after doing a chmod 4511 on dspam binary

[Dovecot] Dovecot antispam unable to call dspam since dovecot upgrade to 2.X

2013-11-14 Thread Guillaume Hilt
And all the necessary users are trusted by DSPAM : Trust root Trust dspam Trust apache Trust mail Trust mailnull Trust smmsp Trust daemon Trust vmail Trust dovecot Trust postfix Any idea ? Thanks, -- Guillaume Hilt

Re: [Dovecot] Dovecot antispam unable to call dspam since dovecot upgrade to 2.X

2013-11-14 Thread Guillaume Hilt
Le 15/11/2013 08:23, Steffen Kaiser a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 14 Nov 2013, Benny Pedersen wrote: Guillaume Hilt skrev den 2013-11-14 12:12: When i'm moving a mail to or from the Spam folder, Igot this error in my logs : Nov 14 10:33:25 srv1 dovecot

[Dovecot] Problem compiling dovecot-antispam on Ubuntu 11.10 using Doveot 2.0.13

2012-03-31 Thread Guillaume Hilt
mailbox.c (plugin)! Any hint please ? Regards, -- Guillaume Hilt

Re: [Dovecot] Problem compiling dovecot-antispam on Ubuntu 11.10 using Doveot 2.0.13

2012-03-31 Thread Guillaume Hilt
Thanks, compilation works fine now. Guillaume Hilt Le 31/03/2012 19:01, e-frog a écrit : On 31.03.2012 18:55, wrote Guillaume Hilt: Hello, Last dovecot available version on Ubuntu 11.10 AMD64 is dovecot 2.0.13. dovecot-antispam package is compiled for dovecot 2.0.15. So, i'm trying

Re: [Dovecot] CMUSieve with virtual users

2009-03-31 Thread Guillaume HILT
Is there an incompatibily I could have fallen into ? Guillaume Hilt a écrit : I'm back with this problem since i never found a way to fix it. I'm now using dovecot 1.1.13 (still under Gentoo) and I tried something. I modified the lda section from this : mail_plugins = cmusieve

Re: [Dovecot] CMUSieve with virtual users

2009-03-31 Thread Guillaume HILT
: antispam_signature: X-DSPAM-Signature antispam_signature_missing: error antispam_trash: Trash antispam_spam: Spam antispam_dspam_binary: /usr/bin/dspam Timo Sirainen a écrit : On Mar 29, 2009, at 6:28 AM, Guillaume Hilt wrote: I'm back with this problem since i never found a way to fix it. I'm now using

Re: [Dovecot] CMUSieve with virtual users

2009-03-31 Thread Guillaume Hilt
I modified my dspam conf file to transfer the message to deliver but the problem is still the same. Even with debug enabled, I don't see a line about deliver in my logs. Guillaume Hilt Timo Sirainen a écrit : On Mar 31, 2009, at 12:20 PM, Guillaume HILT wrote: Mar 31 17:29:55 srv1 postfix

Re: [Dovecot] CMUSieve with virtual users

2009-03-31 Thread Guillaume Hilt
anymore, it transfer them to dspam which calls deliver since it can't deliver them itself. Guillaume Hilt Timo Sirainen a écrit : The problem isn't with dspam or Dovecot configuration files. It's that your Postfix is configured to write the mail directly to the Maildir. I don't think your

Re: [Dovecot] CMUSieve with virtual users

2009-03-31 Thread Guillaume Hilt
Timo Sirainen a écrit : On Tue, 2009-03-31 at 19:27 +0200, Guillaume Hilt wrote: It does. deliver(gh...@domain2.com): Mar 31 19:22:50 Warning: Growing pool 'Cache fields' with: 2048 OK, so here's finally a line from deliver. Now show the whole debug output of deliver. It probably

Re: [Dovecot] CMUSieve with virtual users

2009-03-29 Thread Guillaume Hilt
, is that i added the ipv6 flag on this one and i'm not using virtual users. Now i'm confused ... Guillaume Hilt Guillaume Hilt a écrit : Guillaume Hilt a écrit : Alex a écrit : Roderick A. Anderson wrote: Guillaume Hilt wrote: Alex a écrit : Guillaume HILT wrote: Upgrade done

Re: [Dovecot] CMUSieve with virtual users

2009-02-22 Thread Guillaume Hilt
Guillaume Hilt a écrit : Alex a écrit : Roderick A. Anderson wrote: Guillaume Hilt wrote: Alex a écrit : Guillaume HILT wrote: Upgrade done and running, but it didn't fixed the problem :x Alex a écrit : I had been the same issue with 1.1.7. Try to unmask the 1.1.10-r1 and install

Re: [Dovecot] CMUSieve with virtual users

2009-02-21 Thread Guillaume Hilt
Alex a écrit : Roderick A. Anderson wrote: Guillaume Hilt wrote: Alex a écrit : Guillaume HILT wrote: Upgrade done and running, but it didn't fixed the problem :x Alex a écrit : I had been the same issue with 1.1.7. Try to unmask the 1.1.10-r1 and install; it solve my issue. Do you

[Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Hi, I'm using dovecot 1.1.7 on Gentoo with Postfix and PostfixAdmin to manage my virtual users. I'm trying to use sieve (which has been compiled with Dovecot) but it doesn't work. I added cmusieve in the lda protocol : mail_plugins = cmusieve mail_plugin_dir = /usr/lib/dovecot/lda My

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Alex a écrit : Guillaume HILT wrote: Hi, Hi, I'm using dovecot 1.1.7 on Gentoo with Postfix and PostfixAdmin to manage my virtual users. I'm trying to use sieve (which has been compiled with Dovecot) but it doesn't work. I added cmusieve in the lda protocol : mail_plugins

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Alex a écrit : Guillaume HILT wrote: Alex a écrit : Guillaume HILT wrote: Hi, Hi, I'm using dovecot 1.1.7 on Gentoo with Postfix and PostfixAdmin to manage my virtual users. I'm trying to use sieve (which has been compiled with Dovecot) but it doesn't work. I added cmusieve

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Alex a écrit : Guillaume HILT wrote: Alex a écrit : Guillaume HILT wrote: Alex a écrit : Guillaume HILT wrote: Hi, Hi, I'm using dovecot 1.1.7 on Gentoo with Postfix and PostfixAdmin to manage my virtual users. I'm trying to use sieve (which has been compiled with Dovecot

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Roderick A. Anderson a écrit : Guillaume HILT wrote: Hi, I'm using dovecot 1.1.7 on Gentoo with Postfix and PostfixAdmin to manage my virtual users. I'm trying to use sieve (which has been compiled with Dovecot) but it doesn't work. I added cmusieve in the lda protocol

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
I don't have any sieve error file. # dovecot -n # 1.1.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.28-gentoo-r1--std-ipv4-64 x86_64 Gentoo Base System release 1.12.11.1 ext3 base_dir: /var/run/dovecot/ log_path: /var/log/mail/dovecot.log info_log_path: /var/log/mail/dovecot.info

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Upgrade done and running, but it didn't fixed the problem :x Alex a écrit : I had been the same issue with 1.1.7. Try to unmask the 1.1.10-r1 and install; it solve my issue.

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume HILT
Why don't I see cmusieve ? Still nothing about sieve in the logs ... Roderick A. Anderson a écrit : Guillaume HILT wrote: I don't have any sieve error file. Do you have and messages in the dovecot (or postfix) log files that relate to 'sieve'? Here is the one I got when I'd forgotten

Re: [Dovecot] CMUSieve with virtual users

2009-02-20 Thread Guillaume Hilt
Alex a écrit : Guillaume HILT wrote: Upgrade done and running, but it didn't fixed the problem :x Alex a écrit : I had been the same issue with 1.1.7. Try to unmask the 1.1.10-r1 and install; it solve my issue. Do you see anything in your log? Nothing about sieve.

Re: [Dovecot] I've moved to US

2009-02-07 Thread Guillaume Hilt
Timo Sirainen a écrit : And if it's not clear from that blog: Pretty much everything I do here will be Dovecot improvements that will be released as open source. Mailtrust has actually been paying for Dovecot features for about 3 years now. I don't know them, but I already love them :D

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
Timo Sirainen a écrit : On Jan 2, 2009, at 9:38 AM, Guillaume Hilt wrote: Jan 2 14:48:52 mail deliver(postmas...@adomain.fr): chdir(/root) failed: Permission denied .. Why does it look inside the /root folder for sieve configuration ? Your userdb returns /root as home directory. Show your

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
Anyway, I correct the sql request by adding a concat with .home/vmail/ and now I have the good home directory but the error still occurs. Setting sieve_global_dir didn't change anything. Guillaume Hilt Timo Sirainen a écrit : On Jan 3, 2009, at 10:21 AM, Guillaume Hilt wrote: Timo

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
In dovecot-sql.conf user_query = SELECT CONCAT('/home/vmail/',maildir) AS maildir, 207 AS uid, 207 AS gid FROM mailbox WHERE username = '%u' So I'll have a complete path like /home/vmail/mydomain/myuser/. Guillaume Hilt Timo Sirainen a écrit : Where did you add that? You'll need

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
I'll try that. For the mail location, it's already the case : ~/.maildir Guillaume Hilt Timo Sirainen a écrit : maildir field isn't used for anything. Perhaps there is some completely undocumented and unreliable code that makes use of it for pop3/imap, but it is used in no way by Sieve

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-03 Thread Guillaume Hilt
Looks like using As home in the sql request corrected the problem :) Thanks Timo ;) Guillaume Hilt Guillaume Hilt a écrit : I'll try that. For the mail location, it's already the case : ~/.maildir Guillaume Hilt Timo Sirainen a écrit : maildir field isn't used for anything. Perhaps

[Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-02 Thread Guillaume Hilt
to be delivered to the mailbox by dovecot, which is called by dspam) Any idea please ? Thanks and happy new year to you all, -- Guillaume Hilt

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-02 Thread Guillaume Hilt
antispam_trash: Trash antispam_spam: Spam antispam_dspam_binary: /usr/bin/dspam Guillaume Hilt Charles Marcus a écrit : On 1/2/2009, Guillaume Hilt (postmas...@shadowprojects.org) wrote: I uploaded the following config files in http://hiltg.pastebin.com/ : - main.cf - master.cf

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-02 Thread Guillaume Hilt
). I'll change the ssl key later, the server is not in production and i haven't finished the ssl part yet. Guillaume Hilt Charles Marcus a écrit : On 1/2/2009 10:10 AM, Guillaume Hilt wrote: # OS: Linux 2.6.24.5-grsec--grs-ipv4-64 Hmmm... maybe it is a grsec problem? I can't

Re: [Dovecot] deliver looking into root directory for sieve configuration ?

2009-01-02 Thread Guillaume Hilt
Charles Marcus a écrit : On 1/2/2009 11:54 AM, Guillaume Hilt wrote: It's okay, you're trying to help me, so I won't complain :) So, postfix isn't running in a chroot. Are you sure? master .cf? smtp inet n - n - - smtpd pickupfifo n

[Dovecot] Dovecot with LDAP on multiple domains ?

2008-12-20 Thread Guillaume Hilt
, -- Guillaume Hilt

Re: [Dovecot] deliver segv on sieve redirect

2008-11-26 Thread Guillaume Hilt
If you redirect the mail, how can it be stored into a folder after that ? Andy Howell a écrit : Hello, I've been trying out the bleeding edge, 1.2.alpha4. I'm having a problem with deliver and dovecot-1.2-sieve-0.1.1. I get a segv on this sieve script: require [fileinto, reject,

[Dovecot] Unable to use imapflags in sieve

2008-11-25 Thread Guillaume Hilt
Hello, I'm using dovecot 1.1.6 with libsieve 2.2.5 and I can't use the imapflags extension. Here's the begginning of my .dovecot.sieve file : require [fileinto]; #require imapflags; #require reject; #if header :contains X-DSPAM-Probability: 0.9 { # addflag $label3; #} # On déplace

Re: [Dovecot] antispam plugin claims antispam signature not found

2008-11-15 Thread Guillaume HILT
with some new mails this time. Guillaume HILT a écrit : Not really, I haven't tried it with some new mails. I had this problem with some old one I imported from my previous server (i used spamassassin and courier-imap). I'll try to test the training and if it's not working, I'll revert to the svn

Re: [Dovecot] antispam plugin claims antispam signature not found

2008-11-14 Thread Guillaume HILT
Johannes Berg a écrit : On Tue, 2008-11-11 at 11:42 +0100, Johannes Berg wrote: Not sure, I personally think that moving them silently makes errors harder to diagnose. I'll add an option since then you can set this option (antispam_missing_signature = [error|move]) to move after you've

Re: [Dovecot] antispam plugin claims antispam signature not found

2008-11-14 Thread Guillaume HILT
I have the same problem and i'm wondering how should i use this patch ? I'm not familiar with the patch command. Thanks. PS: Sorry for the empty mail Johannes Berg a écrit On Tue, 2008-11-11 at 11:42 +0100, Johannes Berg wrote: Not sure, I personally think that moving them silently

Re: [Dovecot] antispam plugin claims antispam signature not found

2008-11-14 Thread Guillaume HILT
Ok, i updated the files by hand, and it's working like a charm :) Thanks for the patch Johannes. Guillaume HILT a écrit : I have the same problem and i'm wondering how should i use this patch ? I'm not familiar with the patch command. Thanks. PS: Sorry for the empty mail Johannes Berg

Re: [Dovecot] antispam plugin claims antispam signature not found

2008-11-14 Thread Guillaume HILT
some old mails to train the plugin. Johannes Berg a écrit : On Fri, 2008-11-14 at 16:53 +0100, Guillaume HILT wrote: Ok, i updated the files by hand, and it's working like a charm :) Thanks for the patch Johannes. Umm, you realise that now it's not training at all, right? That's why

[Dovecot] Problem with Dovecot 1.1.4 and dovecot-antispam 20080829

2008-10-30 Thread Guillaume Hilt
Hi there, I'm running a server under Gentoo 64 with postfix 2.5.5, Dovecot 1.1.4-r1 and Dovecot-antispam 20080829 (all are the lastest versions availables under Portage). I ran into a problem when I log in to my mailbox : Oct 30 10:39:23 ks29138 dovecot: IMAP(hiltg): Loading modules from