Example policyd configuration to block certain recipients
From Notes_Wiki
<yambe:breadcrumb>Zimbra_Policyd_configuration|Zimbra Policyd configuration</yambe:breadcrumb>
Example policyd configuration to block certain recipients
To block certain recipients use following configuration:
- Open policyd webui as configured using Configure and enable policyd on Zimbra
- In Policies -> Groups create group named 'blocked_recipients'.
- In Group members for 'blocked_recipients' group add 'saurabh@sbarjatiya.com'
- Create 'Blocked Recipients' policy with reasonable priority
- 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'
- Enable group member, group, policy member, policy and access control.
- Test by sending email to 'saurabh@sbarjatiya.com' from Zimbra