<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									How to restrict sending email other than the allowed domain for specific user or all users? - General Info				            </title>
            <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/</link>
            <description>Zextras Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 05 Mar 2026 13:58:33 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4815</link>
                        <pubDate>Sun, 09 Apr 2023 05:26:24 +0000</pubDate>
                        <description><![CDATA[It worked by modifying the below line of /opt/zextras/conf/postfix_check_recipient_access.cf file:
check_recipient_access lmdb:/opt/zextras/common/conf/local_domains, reject
I modify it fr...]]></description>
                        <content:encoded><![CDATA[<p>It worked by modifying the below line of <span>/opt/zextras/conf/postfix_check_recipient_access.cf file:</span></p>
<p>check_recipient_access lmdb:/opt/zextras/common/conf/local_domains, reject</p>
<p>I modify it from "permit" to "reject" and add only the allowed domains in below file</p>
<pre contenteditable="false">/opt/zextras/common/conf/local_domains</pre>
<p>Thanks and Regards,</p>
<p>Elias</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>elias2k1</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4815</guid>
                    </item>
				                    <item>
                        <title>RE: How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4814</link>
                        <pubDate>Sun, 09 Apr 2023 04:03:58 +0000</pubDate>
                        <description><![CDATA[@sharif Bhai,
It worked if I mentioned the domain I want to reject. But if I use wildcard it doesn&#039;t work. As it&#039;s not possible to mention all the domain other than the local domains. What ...]]></description>
                        <content:encoded><![CDATA[<p>@sharif Bhai,</p>
<p>It worked if I mentioned the domain I want to reject. But if I use wildcard it doesn't work. As it's not possible to mention all the domain other than the local domains. What is the workaround?</p>
<p>for Example,</p>
<blockquote data-userid="61297" data-postid="4808" data-mention="sharif">
<div class="wpforo-post-quote-author"><strong> Posted by: @sharif </strong></div>
<p>example.com OK</p>
<p>example2.com OK</p>
<p>gmail.com REJECT</p>
</blockquote>
<p>The above example worked but the following isn't working:</p>
<p>example.com OK</p>
<p>example2.com OK</p>
<p>*@* REJECT</p>
<p> </p>
<p>Need your valuable suggestion.</p>
<p> </p>
<p>Regards,</p>
<p>Elias</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>elias2k1</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4814</guid>
                    </item>
				                    <item>
                        <title>RE: How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4811</link>
                        <pubDate>Fri, 07 Apr 2023 16:55:35 +0000</pubDate>
                        <description><![CDATA[@sharif Bhai, 
Thanks. I will try these steps in my environment. I have some other queries. Please try to answer those as soon as possible. It will help me to resolve some compliance requir...]]></description>
                        <content:encoded><![CDATA[<p>@sharif Bhai, </p>
<p>Thanks. I will try these steps in my environment. I have some other queries. Please try to answer those as soon as possible. It will help me to resolve some compliance requirements.</p>
<p>Regards,</p>
<p>Elias</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>elias2k1</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4811</guid>
                    </item>
				                    <item>
                        <title>RE: How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4808</link>
                        <pubDate>Fri, 07 Apr 2023 11:44:44 +0000</pubDate>
                        <description><![CDATA[Posted by: @elias2k1 
Is there any update on this? I am new at Zextras. And I have been facing some more issues, which I already mentioned.

@elias2k1
Dear Elias Bhai,
As you mentioned ...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="73465" data-postid="4806" data-mention="elias2k1">
<div class="wpforo-post-quote-author"><strong> Posted by: @elias2k1 </strong></div>
<p>Is there any update on this? I am new at Zextras. And I have been facing some more issues, which I already mentioned.</p>
</blockquote>
<p><strong>@elias2k1</strong></p>
<p>Dear Elias Bhai,</p>
<p>As you mentioned that you are using Carbonio CE 23.3.0, <br /><br />If example.com and example2.com are on the same server infrastructure then,</p>
<p>user1 &amp; user2 should be able to send emails to example.com and example2.com without any issue.</p>
<p>Also, user1 should be able to send all external emails.</p>
<p> </p>
<p>To restrict any users from sending emails to any destination, you can follow this link instructions: </p>
<p><a href="https://wiki.zimbra.com/wiki/Block_user_for_send_email_to_some_external_email" target="_blank" rel="noopener">https://wiki.zimbra.com/wiki/Block_user_for_send_email_to_some_external_email</a></p>
<p>I set following restrictions for user2 and it worked:</p>
<pre contenteditable="false">zextras@mail:~$ cat /opt/zextras/common/conf/local_domains

example.com                     OK
example2.com                  OK

gmail.com                       REJECT
zextras@mail:~$
</pre>
<p> </p>
<p>Now, my user2 can only send emails to example.com or example2.com. But when it tries to send email to gmail.com log shows:</p>
<pre contenteditable="false">Apr  7 11:25:29 mail postfix/smtpd: NOQUEUE: reject: RCPT from localhost: 554 5.7.1 &lt;imsilsa26112@gmail.com&gt;: Recipient address rejected: Access denied; from=&lt;user2@example.com&gt; to=&lt;imsilsa26112@gmail.com&gt; proto=ESMTP helo=&lt;mail.example.com&gt;</pre>
<p> </p>
<p>Currently, our until we fully deploy the CBpolicyD, restricting an user to send external emails can not be done with some single clicks.</p>
<p> </p>
<p>As you rightly pointed out that it is a useful feature, we plan make the process easier in future releases. </p>
<p>Therefore please stay tuned with us and share your feedback and opinion.</p>
<p> </p>
<p>Thanks and regards,</p>
<p>Sharif</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>Sharif</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4808</guid>
                    </item>
				                    <item>
                        <title>RE: How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4806</link>
                        <pubDate>Thu, 06 Apr 2023 13:14:04 +0000</pubDate>
                        <description><![CDATA[@sharif Bhai, 
Is there any update on this? I am new at Zextras. And I have been facing some more issues, which I already mentioned.
Regards,
Elias]]></description>
                        <content:encoded><![CDATA[<p><span>@sharif </span>Bhai, </p>
<p>Is there any update on this? I am new at Zextras. And I have been facing some more issues, which I already mentioned.</p>
<p>Regards,</p>
<p>Elias</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>elias2k1</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4806</guid>
                    </item>
				                    <item>
                        <title>RE: How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4792</link>
                        <pubDate>Wed, 05 Apr 2023 04:51:28 +0000</pubDate>
                        <description><![CDATA[Is there any update? We considerably require this. We are using version 23.3.0. Please help.]]></description>
                        <content:encoded><![CDATA[<p>Is there any update? We considerably require this. We are using version 23.3.0. Please help.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>elias2k1</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4792</guid>
                    </item>
				                    <item>
                        <title>How to restrict sending email other than the allowed domain for specific user or all users?</title>
                        <link>https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4775</link>
                        <pubDate>Mon, 03 Apr 2023 03:49:53 +0000</pubDate>
                        <description><![CDATA[I have installed the latest version of Zextras Carbonio CE in our environment. But there is a requirement for email sending restriction. How can I do that? For example, I have users like use...]]></description>
                        <content:encoded><![CDATA[<p>I have installed the latest version of Zextras Carbonio CE in our environment. But there is a requirement for email sending restriction. How can I do that? For example, I have users like user1@example.com and user2@example.com. I want to allow only user1@example.com can send mail to all external domains, but user2@example.com can only send emails to example.com and example2.com but not other external domains. How can I do that in my environment? Please help me as it's an urgent requirement.</p>]]></content:encoded>
						                            <category domain="https://community.zextras.com/forum/general-info/">General Info</category>                        <dc:creator>elias2k1</dc:creator>
                        <guid isPermaLink="true">https://community.zextras.com/forum/general-info/how-to-restrict-sending-email-other-than-the-allowed-domain-for-specific-user-or-all-users/#post-4775</guid>
                    </item>
							        </channel>
        </rss>
		