<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — ANTISPAM via Dovecot and Spamassassin]]></title>
		<link>https://forum.iredmail.org/topic8169-antispam-via-dovecot-and-spamassassin.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic8169.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in ANTISPAM via Dovecot and Spamassassin.]]></description>
		<lastBuildDate>Sat, 03 Oct 2015 20:17:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post43056.html#p43056</link>
			<description><![CDATA[<p>As lamagra said you must replace:<br />antispam_pipe_program = /usr/bin/sa-learn<br />by<br />antispam_pipe_program = /usr/bin/sa-learn-pipe.sh</p><p>and create the following <strong>sa-learn-pipe.sh</strong> file in /usr/bin/ (ex: sudo nano /usr/bin/sa-learn-pipe.sh)</p><p>Write the following code:</p><div class="codebox"><pre><code>#!/bin/bash

echo /usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt echo &quot;$$-start ($*)&quot; &gt;&gt; /tmp/sa-learn-pipe.log

#echo $* &gt; /tmp/sendmail-parms.txt cat&lt;&amp;0 &gt;&gt; /tmp/sendmail-msg-$$.txt

/usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt &amp;&amp; rm -f /tmp/sendmail-msg-$$.txt &amp;

echo &quot;$$-end&quot; &gt;&gt; /tmp/sa-learn-pipe.log

exit 0</code></pre></div><p>Save the file (CTRL+o then CTRL+x)</p><p>Then make it executable:<br />sudo chmod +x /usr/bin/sa-learn-pipe.sh</p><p>Restart dovecot<br />sudo service dovecot restart</p><p>Tell me if it works as expected (Tested on Ubuntu 14.xx) </p><p>Source:<br /><a href="http://wiki2.dovecot.org/Plugins/Antispam">http://wiki2.dovecot.org/Plugins/Antispam</a></p>]]></description>
			<author><![CDATA[null@example.com (b.loyez)]]></author>
			<pubDate>Sat, 03 Oct 2015 20:17:29 +0000</pubDate>
			<guid>https://forum.iredmail.org/post43056.html#p43056</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post42778.html#p42778</link>
			<description><![CDATA[<p>Well, yesterday i&#039;ve made upgrade my debian to version 8.2 and after that dovecot antispam stop working ;-)/can&#039;t move any mails to Junk folder, only from Trash it was working/.<br />I&#039;ve changed antispam_pipe_program = /usr/bin/sa-learn<br />to <br />antispam_pipe_program = /usr/bin/sa-learn-pipe.sh<br />and now it&#039;s working again and i can move message from inbox to Junk without any problems.</p>]]></description>
			<author><![CDATA[null@example.com (lamagra)]]></author>
			<pubDate>Tue, 22 Sep 2015 07:57:40 +0000</pubDate>
			<guid>https://forum.iredmail.org/post42778.html#p42778</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post42689.html#p42689</link>
			<description><![CDATA[<p>Any luck with this issue?&nbsp; I&#039;m having the same problem, looking for advice.</p>]]></description>
			<author><![CDATA[null@example.com (comster)]]></author>
			<pubDate>Fri, 18 Sep 2015 20:53:12 +0000</pubDate>
			<guid>https://forum.iredmail.org/post42689.html#p42689</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41843.html#p41843</link>
			<description><![CDATA[<p>Ok I sent an email on the dovecot mailing-list, thanks for your help</p>]]></description>
			<author><![CDATA[null@example.com (lakano)]]></author>
			<pubDate>Fri, 21 Aug 2015 10:06:45 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41843.html#p41843</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41827.html#p41827</link>
			<description><![CDATA[<p>No clue yet, sorry. I suggest ask support in Dovecot mailing list instead.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 20 Aug 2015 22:44:19 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41827.html#p41827</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41823.html#p41823</link>
			<description><![CDATA[<p>Hello Zhang,</p><p>Here is the output of &quot;dovecot -n&quot;:<br /></p><div class="quotebox"><blockquote><p># dovecot -n<br /># 2.2.9: /etc/dovecot/dovecot.conf<br /># OS: Linux 3.13.0-62-generic x86_64 Ubuntu 14.04.1 LTS <br />auth_master_user_separator = *<br />auth_mechanisms = PLAIN LOGIN<br />dict {<br />&nbsp; acl = mysql:/etc/dovecot/dovecot-share-folder.conf<br />&nbsp; quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf<br />}<br />first_valid_uid = 2000<br />last_valid_uid = 2000<br />listen = * [::]<br />log_path = /var/log/dovecot.log<br />mail_gid = 2000<br />mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/<br />mail_plugins = quota mailbox_alias acl<br />mail_uid = 2000<br />managesieve_notify_capability = mailto<br />managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave<br />namespace {<br />&nbsp; inbox = yes<br />&nbsp; location = <br />&nbsp; mailbox Drafts {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Drafts<br />&nbsp; }<br />&nbsp; mailbox Junk {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Junk<br />&nbsp; }<br />&nbsp; mailbox Sent {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Sent<br />&nbsp; }<br />&nbsp; mailbox &quot;Sent Messages&quot; {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Sent<br />&nbsp; }<br />&nbsp; mailbox Spam {<br />&nbsp; &nbsp; auto = no<br />&nbsp; &nbsp; special_use = \Junk<br />&nbsp; }<br />&nbsp; mailbox Trash {<br />&nbsp; &nbsp; auto = subscribe<br />&nbsp; &nbsp; special_use = \Trash<br />&nbsp; }<br />&nbsp; prefix = <br />&nbsp; separator = /<br />&nbsp; type = private<br />}<br />namespace {<br />&nbsp; list = children<br />&nbsp; location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%u<br />&nbsp; prefix = Shared/%%u/<br />&nbsp; separator = /<br />&nbsp; subscriptions = yes<br />&nbsp; type = shared<br />}<br />passdb {<br />&nbsp; args = /etc/dovecot/dovecot-mysql.conf<br />&nbsp; driver = sql<br />}<br />passdb {<br />&nbsp; args = /etc/dovecot/dovecot-master-users<br />&nbsp; driver = passwd-file<br />&nbsp; master = yes<br />}<br />plugin {<br />&nbsp; acl = vfile<br />&nbsp; acl_shared_dict = proxy::acl<br />&nbsp; antispam_backend = pipe<br />&nbsp; antispam_debug_target = syslog<br />&nbsp; antispam_pipe_program = /usr/bin/sa-learn<br />&nbsp; antispam_pipe_program_args = --username=%Lu<br />&nbsp; antispam_pipe_program_notspam_arg = --ham<br />&nbsp; antispam_pipe_program_spam_arg = --spam<br />&nbsp; antispam_spam = Junk<br />&nbsp; antispam_trash = Trash<br />&nbsp; antispam_verbose_debug = 1<br />&nbsp; auth_socket_path = /var/run/dovecot/auth-master<br />&nbsp; mailbox_alias_new = Sent Messages<br />&nbsp; mailbox_alias_new2 = Sent Items<br />&nbsp; mailbox_alias_old = Sent<br />&nbsp; mailbox_alias_old2 = Sent<br />&nbsp; quota = dict:user::proxy::quotadict<br />&nbsp; quota_rule = *:storage=1G<br />&nbsp; quota_warning = storage=85%% quota-warning 85 %u<br />&nbsp; quota_warning2 = storage=90%% quota-warning 90 %u<br />&nbsp; quota_warning3 = storage=95%% quota-warning 95 %u<br />&nbsp; sieve = %Lh/sieve/dovecot.sieve<br />&nbsp; sieve_before = /var/vmail/sieve/dovecot.sieve<br />&nbsp; sieve_dir = %Lh/sieve<br />&nbsp; sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute<br />&nbsp; sieve_filter_bin_dir = /usr/lib/dovecot/sieve-filter<br />&nbsp; sieve_global_dir = /var/vmail/sieve<br />&nbsp; sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.filter +vnd.dovecot.execute<br />&nbsp; sieve_pipe_bin_dir = /usr/lib/dovecot/sieve-pipe<br />&nbsp; sieve_plugins = sieve_extprograms<br />}<br />protocols = pop3 imap sieve lmtp<br />service auth {<br />&nbsp; unix_listener /var/spool/postfix/private/dovecot-auth {<br />&nbsp; &nbsp; group = postfix<br />&nbsp; &nbsp; mode = 0666<br />&nbsp; &nbsp; user = postfix<br />&nbsp; }<br />&nbsp; unix_listener auth-master {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0666<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />&nbsp; unix_listener auth-userdb {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />}<br />service dict {<br />&nbsp; unix_listener dict {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />}<br />service imap-login {<br />&nbsp; process_limit = 500<br />&nbsp; service_count = 1<br />}<br />service lmtp {<br />&nbsp; executable = lmtp -L<br />&nbsp; inet_listener lmtp {<br />&nbsp; &nbsp; address = 127.0.0.1<br />&nbsp; &nbsp; port = 24<br />&nbsp; }<br />&nbsp; process_min_avail = 5<br />&nbsp; unix_listener /var/spool/postfix/private/dovecot-lmtp {<br />&nbsp; &nbsp; group = postfix<br />&nbsp; &nbsp; mode = 0600<br />&nbsp; &nbsp; user = postfix<br />&nbsp; }<br />&nbsp; user = vmail<br />}<br />service managesieve-login {<br />&nbsp; inet_listener sieve {<br />&nbsp; &nbsp; address = 127.0.0.1<br />&nbsp; &nbsp; port = 4190<br />&nbsp; }<br />}<br />service pop3-login {<br />&nbsp; service_count = 1<br />}<br />service quota-warning {<br />&nbsp; executable = script /usr/local/bin/dovecot-quota-warning.sh<br />&nbsp; unix_listener quota-warning {<br />&nbsp; &nbsp; group = vmail<br />&nbsp; &nbsp; mode = 0660<br />&nbsp; &nbsp; user = vmail<br />&nbsp; }<br />}<br />ssl = required<br />ssl_cert = &lt;/etc/ssl/certs/iRedMail.crt<br />ssl_cipher_list = ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA<br />ssl_dh_parameters_length = 2048<br />ssl_key = &lt;/etc/ssl/private/iRedMail.key<br />ssl_prefer_server_ciphers = yes<br />ssl_protocols = !SSLv2 !SSLv3<br />userdb {<br />&nbsp; args = /etc/dovecot/dovecot-mysql.conf<br />&nbsp; driver = sql<br />}<br />protocol lda {<br />&nbsp; auth_socket_path = /var/run/dovecot/auth-master<br />&nbsp; lda_mailbox_autocreate = yes<br />&nbsp; lda_mailbox_autosubscribe = yes<br />&nbsp; log_path = /var/log/dovecot-sieve.log<br />&nbsp; mail_plugins = quota mailbox_alias acl sieve<br />&nbsp; postmaster_address = root<br />}<br />protocol lmtp {<br />&nbsp; info_log_path = /var/log/dovecot-lmtp.log<br />&nbsp; lmtp_save_to_detail_mailbox = yes<br />&nbsp; mail_plugins = quota sieve<br />&nbsp; postmaster_address = postmaster<br />&nbsp; recipient_delimiter = +<br />}<br />protocol imap {<br />&nbsp; imap_client_workarounds = tb-extra-mailbox-sep<br />&nbsp; mail_max_userip_connections = 20<br />&nbsp; mail_plugins = quota mailbox_alias acl imap_quota imap_acl antispam<br />}<br />protocol pop3 {<br />&nbsp; mail_max_userip_connections = 20<br />&nbsp; mail_plugins = quota mailbox_alias acl<br />&nbsp; pop3_client_workarounds = outlook-no-nuls oe-ns-eoh<br />&nbsp; pop3_uidl_format = %08Xu%08Xv<br />}</p></blockquote></div><p>I just tried to add the argument &quot;-D&quot; to add debug details, but this doesn&#039;t add anything.<br />Nothing in /var/log/mail.log, nothing in /var/log/dovecot.log , so the only result are in syslog:</p><div class="quotebox"><blockquote><p>Aug 20 20:21:13 mail imap: antispam: plugin initialising (2.0-notgit)<br />Aug 20 20:21:13 mail imap: antispam: verbose debug enabled<br />Aug 20 20:21:13 mail imap: antispam: &quot;Junk&quot; is exact match spam folder<br />Aug 20 20:21:13 mail imap: antispam: no unsure folders<br />Aug 20 20:21:13 mail imap: antispam: &quot;Trash&quot; is exact match trash folder<br />Aug 20 20:21:13 mail imap: antispam: pipe backend spam argument = --spam<br />Aug 20 20:21:13 mail imap: antispam: pipe backend not-spam argument = --ham<br />Aug 20 20:21:13 mail imap: antispam: pipe backend program = /usr/bin/sa-learn<br />Aug 20 20:21:13 mail imap: antispam: pipe backend program arg[0] = -D --username=guillaume.XXXX@nydomain.com<br />Aug 20 20:21:13 mail imap: antispam: pipe backend tmpdir /tmp<br />Aug 20 20:21:14 mail imap: antispam: mailbox_is_unsure(Junk): 0<br />Aug 20 20:21:14 mail imap: antispam: mailbox_is_trash(INBOX): 0<br />Aug 20 20:21:14 mail imap: antispam: mailbox_is_trash(Junk): 0<br />Aug 20 20:21:14 mail imap: antispam: mail copy: from trash: 0, to trash: 0<br />Aug 20 20:21:14 mail imap: antispam: mailbox_is_spam(INBOX): 0<br />Aug 20 20:21:14 mail imap: antispam: mailbox_is_spam(Junk): 1<br />Aug 20 20:21:14 mail imap: antispam: mailbox_is_unsure(INBOX): 0<br />Aug 20 20:21:14 mail imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0<br />Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program /usr/bin/sa-learn<br />Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program /usr/bin/sa-learn<br />Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program parameter 1 -D --username=guillaume.XXXX@mydomain.com<br />Aug 20 20:21:14 mail imap: antispam: running mailtrain backend program parameter 2 --spam<br />Aug 20 20:21:16 mail imap: antispam: run program failed with exit code -1</p></blockquote></div><p>Something bad happends in sa-learn and return a bad exit code, then the antispam return to not move the email.</p><p>Regards</p>]]></description>
			<author><![CDATA[null@example.com (lakano)]]></author>
			<pubDate>Thu, 20 Aug 2015 18:25:55 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41823.html#p41823</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41817.html#p41817</link>
			<description><![CDATA[<p>*) Please show us full output of command &#039;dovecot -n&#039;.<br />*) Any related log in /var/log/syslog or /var/log/mail.log?</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 20 Aug 2015 14:51:44 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41817.html#p41817</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41803.html#p41803</link>
			<description><![CDATA[<p>Yes, but just seen the logs was in syslog, so here the error:</p><div class="quotebox"><blockquote><p>Aug 20 11:18:47 mail imap: antispam: mailbox_is_unsure(Junk): 0<br />Aug 20 11:18:47 mail imap: antispam: mailbox_is_trash(INBOX): 0<br />Aug 20 11:18:47 mail imap: antispam: mailbox_is_trash(Junk): 0<br />Aug 20 11:18:47 mail imap: antispam: mail copy: from trash: 0, to trash: 0<br />Aug 20 11:18:47 mail imap: antispam: mailbox_is_spam(INBOX): 0<br />Aug 20 11:18:47 mail imap: antispam: mailbox_is_spam(Junk): 1<br />Aug 20 11:18:47 mail imap: antispam: mailbox_is_unsure(INBOX): 0<br />Aug 20 11:18:47 mail imap: antispam: mail copy: src spam: 0, dst spam: 1, src unsure: 0<br />Aug 20 11:18:47 mail imap: antispam: running mailtrain backend program /usr/bin/sa-learn<br />Aug 20 11:18:47 mail imap: antispam: running mailtrain backend program /usr/bin/sa-learn<br />Aug 20 11:18:47 mail imap: antispam: running mailtrain backend program parameter 1 --username=guillaume.XXXX@mydomain.com<br />Aug 20 11:18:47 mail imap: antispam: running mailtrain backend program parameter 2 --spam<br />Aug 20 11:18:50 mail imap: antispam: run program failed with exit code -1</p></blockquote></div><p>But we haven&#039;t more logs, it&#039;s sa-learn which return -1... but why?<br />Where is set the &quot;sa-learn&quot; command/args ?<br />grep &quot;sa-learn&quot; not match in /etc/ of dovecot/amavis/postfix/spamassassin folders.. </p><p>If we could add the parameter &quot; -D &quot; to add debug information, this could help to understood!</p><p>Regards,</p>]]></description>
			<author><![CDATA[null@example.com (lakano)]]></author>
			<pubDate>Thu, 20 Aug 2015 09:24:26 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41803.html#p41803</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41787.html#p41787</link>
			<description><![CDATA[<p>Did you try to turn on antispam debug level?<br /></p><div class="codebox"><pre><code>plugin {
  ...
  antispam_debug_target = syslog
  antispam_verbose_debug = 1
  ...
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 20 Aug 2015 00:21:27 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41787.html#p41787</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41770.html#p41770</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><p>Did you try to turn on debug mode in Dovecot to see what happened?<br />Reference: <a href="http://www.iredmail.org/docs/debug.dovecot.html">http://www.iredmail.org/docs/debug.dovecot.html</a></p></blockquote></div><p>Good idea, but this not help.<br />I see a lots of new lines in the logs, but when I move the mail to /Junk for trigger the error, there is no new line in logs.<br /></p><div class="quotebox"><blockquote><p>Aug 19 16:23:22 imap-login: Info: Login: user=&lt;guillaume.XXXX@mydomain.com&gt;, method=PLAIN, rip=80.215.245.72, lip=188.164.131.104, mpid=4647, TLS, session=&lt;jqvgxqodiwBQ1/VI&gt;<br />Aug 19 16:23:22 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules<br />Aug 19 16:23:22 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so<br />Aug 19 16:23:22 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so<br />Aug 19 16:23:22 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so<br />Aug 19 16:23:22 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so<br />Aug 19 16:23:22 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so<br />Aug 19 16:23:22 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_antispam_plugin.so<br />Aug 19 16:23:22 imap: Debug: Added userdb setting: plugin/master_user=guillaume.XXXX@mydomain.com<br />Aug 19 16:23:22 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/mydomain.com/g/u/i/guillaume.XXXX-2015.08.17.15.39.44/<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 guillaume.XXXX@mydomain.com<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 guillaume.XXXX@mydomain.com<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 guillaume.XXXX@mydomain.com<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Quota grace: root=user bytes=0 (10%)<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: dict quota: user=guillaume.XXXX@mydomain.com, uri=proxy::quotadict, noenforcing=0<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/vmail1/mydomain.com/g/u/i/guillaume.XXXX-2015.08.17.15.39.44//Maildir/:INDEX=/var/vmail/vmail1/mydomain.com/g/u/i/guillaume.XXXX-2015.08.17.15.39.44//Maildir/<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: maildir++: root=/var/vmail/vmail1/mydomain.com/g/u/i/guillaume.XXXX-2015.08.17.15.39.44//Maildir, index=, indexpvt=, control=, inbox=/var/vmail/vmail1/mydomain.com/g/u/i/guillaume.XXXX-2015.08.17.15.39.44//Maildir, alt=<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl: initializing backend with data: vfile<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl: acl username = guillaume.XXXX@mydomain.com<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl: owner = 1<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl vfile: Global ACL directory: (none)<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/Shared/%u<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl: initializing backend with data: vfile<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl: acl username = guillaume.XXXX@mydomain.com<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl: owner = 0<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl vfile: Global ACL directory: (none)<br />Aug 19 16:23:22 imap(guillaume.XXXX@mydomain.com): Debug: acl vfile: file /var/vmail/vmail1/mydomain.com/g/u/i/guillaume.XXXX-2015.08.17.15.39.44//Maildir/.Drafts/dovecot-acl not found</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (lakano)]]></author>
			<pubDate>Wed, 19 Aug 2015 14:24:28 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41770.html#p41770</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41757.html#p41757</link>
			<description><![CDATA[<div class="quotebox"><cite>lakano wrote:</cite><blockquote><p>It&#039;s a problem in other mail tools, for example I&#039;m using Thunderbird, and the error reported by Thunderbird is &quot;[SERVERBUG] failed to send mail&quot;</p></blockquote></div><p>Did you try to turn on debug mode in Dovecot to see what happened?<br />Reference: <a href="http://www.iredmail.org/docs/debug.dovecot.html">http://www.iredmail.org/docs/debug.dovecot.html</a></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 19 Aug 2015 13:46:11 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41757.html#p41757</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41745.html#p41745</link>
			<description><![CDATA[<div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>lakano wrote:</cite><blockquote><p>1) I can&#039;t start amavisd easily to check if Bayes plugin is launched, because on my Ubuntu Server 14.04.1, the /etc/amavis/ doesn&#039;t contains amavisd.conf ( only a conf.d/ with mutliples files )</p></blockquote></div><p>Read this tutorial:<br /><a href="http://www.iredmail.com/docs/file.locations.html#amavisd">http://www.iredmail.com/docs/file.locat … ml#amavisd</a></p></blockquote></div><p>Great!</p><br /><div class="quotebox"><cite>ZhangHuangbin wrote:</cite><blockquote><div class="quotebox"><cite>lakano wrote:</cite><blockquote><p>2) I would like to start sa-learn on a folder where I have a lot of spam, but I don&#039;t found it in my /var/vmail/vmail1/mydomain.com/t/e/s/test@mydomain.com/Maildir/ ( cur / new are empty )</p></blockquote></div><p>Use command &#039;ls -<span style="color:red">a</span>&#039; to list imap folders. they&#039;re hidden directories which have a dot &#039;.&#039; in directory names.</p></blockquote></div><p>Ok I see, thanks a lots <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>So, now I only have the problem reported by @noark : <br /></p><div class="quotebox"><cite>noark wrote:</cite><blockquote><p>ts seems that I am running into problems with roundcube. When i drag from inbox to spam folder gives error: Server Error: UID MOVE: failed to send mail .</p><p>However it seems to work for internal mail. But I can drag mail from Trash to Spam fine.</p></blockquote></div><p>It&#039;s not only a problem in RoundCube ( I haven&#039;t tested the plugin MarkAsSpam because I&#039;ll not use RoundCube ) <br />It&#039;s a problem in other mail tools, for example I&#039;m using Thunderbird, and the error reported by Thunderbird is &quot;[SERVERBUG] failed to send mail&quot;</p><p>Any idea / suggestion to solve this problem will be really appreciated <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Thanks a lots guys for this amazing works!</p>]]></description>
			<author><![CDATA[null@example.com (lakano)]]></author>
			<pubDate>Wed, 19 Aug 2015 04:55:55 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41745.html#p41745</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41728.html#p41728</link>
			<description><![CDATA[<div class="quotebox"><cite>lakano wrote:</cite><blockquote><p>1) I can&#039;t start amavisd easily to check if Bayes plugin is launched, because on my Ubuntu Server 14.04.1, the /etc/amavis/ doesn&#039;t contains amavisd.conf ( only a conf.d/ with mutliples files )</p></blockquote></div><p>Read this tutorial:<br /><a href="http://www.iredmail.com/docs/file.locations.html#amavisd">http://www.iredmail.com/docs/file.locat … ml#amavisd</a></p><div class="quotebox"><cite>lakano wrote:</cite><blockquote><p>2) I would like to start sa-learn on a folder where I have a lot of spam, but I don&#039;t found it in my /var/vmail/vmail1/mydomain.com/t/e/s/test@mydomain.com/Maildir/ ( cur / new are empty )</p></blockquote></div><p>Use command &#039;ls -<span style="color:red">a</span>&#039; to list imap folders. they&#039;re hidden directories which have a dot &#039;.&#039; in directory names.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Tue, 18 Aug 2015 14:20:17 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41728.html#p41728</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41723.html#p41723</link>
			<description><![CDATA[<p>Hello !</p><p>I&#039;m trying to follow this tutorial to set the dovecot antispam plugin, but I have some problem.</p><p>1) I can&#039;t start amavisd easily to check if Bayes plugin is launched, because on my Ubuntu Server 14.04.1, the /etc/amavis/ doesn&#039;t contains amavisd.conf ( only a conf.d/ with mutliples files )</p><p>2) I would like to start sa-learn on a folder where I have a lot of spam, but I don&#039;t found it in my /var/vmail/vmail1/mydomain.com/t/e/s/test@mydomain.com/Maildir/ ( cur / new are empty )</p><p>3) So, I&#039;m trying to move a spam directly from Thunderbird to /Junk/ folder, but I have an error &quot;[SERVERBUG] failed to send mail&quot;.<br />If I move it firstly to /Trash, then move it after to /Junk, this works, it&#039;s same behavior as @neoark </p><p>4) Even after moved successfully my SPAM in /Junk, I don&#039;t see anything in my MySQL table bayes_token.</p><p>Any help will be appreciated <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Regards</p><p>EDIT:<br />Finally the bayes_token table count increase (only 93 rows... for 250 spams files strange) but may be theses operations are delayed, this could explain why few minutes ago the table was empty.</p><p>But if someone have found a solution to move directly email to /Junk without the need to firstly move it to /Trash, this could be really usefull <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>thanks!</p>]]></description>
			<author><![CDATA[null@example.com (lakano)]]></author>
			<pubDate>Tue, 18 Aug 2015 13:48:13 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41723.html#p41723</guid>
		</item>
		<item>
			<title><![CDATA[Re: ANTISPAM via Dovecot and Spamassassin]]></title>
			<link>https://forum.iredmail.org/post41120.html#p41120</link>
			<description><![CDATA[<p>This isn&#039;t a crash. its that sa-learn is not DIRECTLY compatible with Antispam, it needs a wrapper around it to route everything where it needs to be, google around to find example wrappers. It refuses to move the mail as that would result in a piece of Spam that would get past the net (of being taught to sa-learn)</p>]]></description>
			<author><![CDATA[null@example.com (7t3chguy)]]></author>
			<pubDate>Fri, 17 Jul 2015 00:45:50 +0000</pubDate>
			<guid>https://forum.iredmail.org/post41120.html#p41120</guid>
		</item>
	</channel>
</rss>
