<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Spam management under Ldap]]></title>
		<link>https://forum.iredmail.org/topic517-spam-management-under-ldap.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic517.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Spam management under Ldap.]]></description>
		<lastBuildDate>Sun, 03 Jan 2010 17:15:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Spam management under Ldap]]></title>
			<link>https://forum.iredmail.org/post2208.html#p2208</link>
			<description><![CDATA[<p>O.K., there are a little guide to integrate LDap in iredmail.org email system:<br />Edit &quot;50-user&quot; file in /etc/amavis/conf.d/ and add, AFTER FIRST COMMENT</p><p>&quot;#<br /># Place your configuration directives here.&nbsp; They will override those in<br /># earlier files.<br />#<br /># See /usr/share/doc/amavisd-new/ for documentation and examples of<br /># the directives you can use in this file<br />#&quot;</p><p>THIS SETTINGS:</p><p>########### PERSONALIZED SETTINGS BY LDAP ###########<br />$sa_timeout&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 30;<br />$sa_mail_body_size_limit&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 150*1024;<br />$sa_spam_subject_tag&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &#039;***SPAM*** &#039;;<br />$first_infected_stops_scan&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1;<br />$enable_ldap&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1;<br />$default_ldap&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= {<br />&nbsp; hostname&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;localhost&#039;,<br />&nbsp; base&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; your_base_dn&#039;,<br />&nbsp; bind_dn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;your_bind_user&#039;,<br />&nbsp; bind_password&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;your_bind_passwd&#039;,<br />&nbsp; query_filter&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; &#039;(&amp;(objectClass=amavisAccount)(mail=%m))&#039;<br />};</p><br /><p>Save file.</p><p>Install libnet-ldap-perl, because iredmail does not provide to install it<br />(debian: apt-get install libnet-ldap-perl)</p><p>Now, stop and restart amavisd et voilà, you have a nice amavisd LDap integration!</p><p>:-)</p><p>Bye,</p><p>Enrico</p>]]></description>
			<author><![CDATA[null@example.com (sly4you)]]></author>
			<pubDate>Sun, 03 Jan 2010 17:15:08 +0000</pubDate>
			<guid>https://forum.iredmail.org/post2208.html#p2208</guid>
		</item>
		<item>
			<title><![CDATA[Re: Spam management under Ldap]]></title>
			<link>https://forum.iredmail.org/post2206.html#p2206</link>
			<description><![CDATA[<p>Amavisd will now lookup some special attributes from LDAP, you can monitor openldap log file to check what it expect.<br />Simplily change &#039;loglevel&#039; to 256 in openldap config file and restart ldap service, and then monitor /var/log/openldap.log.</p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sun, 03 Jan 2010 15:49:24 +0000</pubDate>
			<guid>https://forum.iredmail.org/post2206.html#p2206</guid>
		</item>
		<item>
			<title><![CDATA[Re: Spam management under Ldap]]></title>
			<link>https://forum.iredmail.org/post2205.html#p2205</link>
			<description><![CDATA[<p>O.K.,</p><p>I have read many documentation on the Net regarding Amavisd under LDap.<br />File interested to change are amavis.d conf file<br />(that are &quot;user&quot; file in /etc/amavis/conf.d/ directory under debian, if I have understand correctly)</p><p>$enable_ldap = 1; # 0 = false, 1 = true</p><p>$default_ldap = {<br />&nbsp; &nbsp; &nbsp;hostname =&gt; &#039;ldap.domain.com&#039;, # ldap hostname<br />&nbsp; &nbsp; &nbsp;timeout =&gt; 5,<br />&nbsp; &nbsp; &nbsp;tls =&gt; 1, # 0 = false, 1 = true<br />&nbsp; &nbsp; &nbsp;base =&gt; &#039;cn=users,dc=domain,dc=com&#039;, # your searchbase<br />&nbsp; &nbsp; &nbsp;query_filter =&gt; <br />&nbsp; &nbsp; &nbsp;&#039;(&amp;(objectClass=amavisAccount)(|(mail=%m)(mailAlternateAddress=%m)))&#039;<br />};</p><p>And into another write to set up another change, alwais in amavisd.conf:</p><p>Comment out the lines that start with:<br />@bypass_spam_checks_acl&nbsp; = qw( . );<br />@local_domains_acl</p><p>O.K.,<br />where are a good way?</p><p>:-)</p><p>Many thanks,</p><p>Enrico</p>]]></description>
			<author><![CDATA[null@example.com (sly4you)]]></author>
			<pubDate>Sun, 03 Jan 2010 15:10:50 +0000</pubDate>
			<guid>https://forum.iredmail.org/post2205.html#p2205</guid>
		</item>
		<item>
			<title><![CDATA[Re: Spam management under Ldap]]></title>
			<link>https://forum.iredmail.org/post2195.html#p2195</link>
			<description><![CDATA[<p>you can integrate Amavis + LDAP <img src="https://forum.iredmail.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Thu, 31 Dec 2009 00:05:59 +0000</pubDate>
			<guid>https://forum.iredmail.org/post2195.html#p2195</guid>
		</item>
		<item>
			<title><![CDATA[Spam management under Ldap]]></title>
			<link>https://forum.iredmail.org/post2194.html#p2194</link>
			<description><![CDATA[<p>Hi All,<br />my question are if is possible use Spamassassin schema to store<br />in LDap server spam user preference and set iRedmail to use it.</p><p>If yes, how I can enable it?</p><p>If not possible, are available anothers settings (ex: amavis) to have same result?</p><p>Many thanks,</p><p>Enrico</p>]]></description>
			<author><![CDATA[null@example.com (sly4you)]]></author>
			<pubDate>Wed, 30 Dec 2009 23:49:24 +0000</pubDate>
			<guid>https://forum.iredmail.org/post2194.html#p2194</guid>
		</item>
	</channel>
</rss>
