<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — Monitoring incoming/outgoing mails with BCC]]></title>
		<link>http://www.iredmail.org/forum/topic4039-monitoring-incomingoutgoing-mails-with-bcc.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic4039.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Monitoring incoming/outgoing mails with BCC.]]></description>
		<lastBuildDate>Wed, 24 Oct 2012 13:52:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Monitoring incoming/outgoing mails with BCC]]></title>
			<link>http://www.iredmail.org/forum/post18823.html#p18823</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Wed, 24 Oct 2012 13:52:26 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18823.html#p18823</guid>
		</item>
		<item>
			<title><![CDATA[Re: Monitoring incoming/outgoing mails with BCC]]></title>
			<link>http://www.iredmail.org/forum/post18721.html#p18721</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (ZhangHuangbin)]]></author>
			<pubDate>Sat, 20 Oct 2012 13:46:06 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18721.html#p18721</guid>
		</item>
		<item>
			<title><![CDATA[Monitoring incoming/outgoing mails with BCC]]></title>
			<link>http://www.iredmail.org/forum/post18686.html#p18686</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (wdbacker)]]></author>
			<pubDate>Thu, 18 Oct 2012 10:33:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post18686.html#p18686</guid>
		</item>
	</channel>
</rss>
