<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Monitoring incoming/outgoing mails with BCC]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4039.xml" />
	<updated>2012-10-24T13:52:26Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4039-monitoring-incomingoutgoing-mails-with-bcc.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Monitoring incoming/outgoing mails with BCC]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18823.html#p18823" />
			<content type="html"><![CDATA[<p>Hi wdbacker,</p><p>iRedMail-0.8.3 and earlier versions have this issue. Here&#039;s fix for OpenLDAP backend:</p><p>- In /etc/postfix/ldap/sender_bcc_maps_user.cf, replace &quot;(mail=%s)&quot; by &quot;(|(mail=%s)(&amp;(enabledService=shadowaddress)(shadowAddress=%s)))&quot; in parameter &quot;query_filter =&quot;. The final LDAP filter looks like below:<br /></p><div class="codebox"><pre><code>query_filter    = (&amp;(|(mail=%s)(&amp;(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=senderbcc))</code></pre></div><p>- Perform the same modification in file /etc/postfix/ldap/recipient_bcc_user.cf, the final LDAP filter looks like below:<br /></p><div class="codebox"><pre><code>query_filter    = (&amp;(|(mail=%s)(&amp;(enabledService=shadowaddress)(shadowAddress=%s)))(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=recipientbcc))</code></pre></div><p>To avoid too many SQL lookups in Postfix, i prefer fixing it with iRedAdmin-Pro:</p><p>- While adding new alias domain for domain &#039;example.com&#039;, iRedAdmin-Pro-MySQL or iRedAdmin-Pro-PGSQL will insert new records in SQL tables (vmail.sender_bcc_domain, vmail.recipient_bcc_domain) if domain &#039;example.com&#039; has bcc settings, or users under &#039;example.com&#039; have bcc settings (vmail.sender_bcc_user, vmail.recipient_bcc_user).</p><p>- Perform opposite process while removing alias domain.</p><p>This fix will be available in next release of iRedAdmin-Pro-MySQL and iRedAdmin-Pro-PGSQL.</p><p>Thanks for your feedback. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-24T13:52:26Z</updated>
			<id>http://www.iredmail.org/forum/post18823.html#p18823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Monitoring incoming/outgoing mails with BCC]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18721.html#p18721" />
			<content type="html"><![CDATA[<p>Sounds like a bug. Will test it later and fix it. Thanks for your feedback. <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-20T13:46:06Z</updated>
			<id>http://www.iredmail.org/forum/post18721.html#p18721</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Monitoring incoming/outgoing mails with BCC]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18686.html#p18686" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.0<br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP<br />- Linux/BSD distribution name and version: CentOS 6.3<br />- Related log if you&#039;re reporting an issue: <br />==== <br />Hi,</p><p>I think I&#039;ve found a problem with monitoring of incoming &amp; outgoing mails through BCC. When I configure this per user, it works for the main e-mail address, but not for all mail aliases of this user. I didn&#039;t test this BCC feature with aliases at domain level, so maybe there is the same issue?</p><p>Thanks in advance!</p>]]></content>
			<author>
				<name><![CDATA[wdbacker]]></name>
				<uri>http://www.iredmail.org/forum/user19896.html</uri>
			</author>
			<updated>2012-10-18T10:33:58Z</updated>
			<id>http://www.iredmail.org/forum/post18686.html#p18686</id>
		</entry>
</feed>
