Difference between revisions of "Example policyd configuration to block certain recipients"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Zimbra_Policyd_configuration|Zimbra Policyd configuration</yambe:breadcrumb> =Example policyd configuration to block certain recipients= To block certain re...")
 
m
Line 5: Line 5:
# Open policyd webui as configured using [[Configure and enable policyd on Zimbra]]
# Open policyd webui as configured using [[Configure and enable policyd on Zimbra]]
# In Policies -> Groups create group named 'blocked_recipients'.   
# In Policies -> Groups create group named 'blocked_recipients'.   
# In Group members for 'blocked_recipients' group add 'saurabh@sbarjatiya.com'  
# In Group members for 'blocked_recipients' group add 'saurabh@example.com'  
# Create 'Blocked Recipients' policy with reasonable priority
# Create 'Blocked Recipients' policy with reasonable priority
# Add member in policy from 'any' source to '%blocked_recipients' destination
# Add member in policy from 'any' source to '%blocked_recipients' destination
# In access control create 'Block bad recipients' linked to 'Blocked Recipients' policy with Verdict 'REJECT'  
# In access control create 'Block bad recipients' linked to 'Blocked Recipients' policy with Verdict 'REJECT'  
# Enable group member, group, policy member, policy and access control.   
# Enable group member, group, policy member, policy and access control.   
# Test by sending email to 'saurabh@sbarjatiya.com' from Zimbra
# Test by sending email to 'saurabh@example.com' from Zimbra

Revision as of 13:57, 20 May 2021

<yambe:breadcrumb>Zimbra_Policyd_configuration|Zimbra Policyd configuration</yambe:breadcrumb>

Example policyd configuration to block certain recipients

To block certain recipients use following configuration:

  1. Open policyd webui as configured using Configure and enable policyd on Zimbra
  2. In Policies -> Groups create group named 'blocked_recipients'.
  3. In Group members for 'blocked_recipients' group add 'saurabh@example.com'
  4. Create 'Blocked Recipients' policy with reasonable priority
  5. Add member in policy from 'any' source to '%blocked_recipients' destination
  6. In access control create 'Block bad recipients' linked to 'Blocked Recipients' policy with Verdict 'REJECT'
  7. Enable group member, group, policy member, policy and access control.
  8. Test by sending email to 'saurabh@example.com' from Zimbra