I have a custom requirement for managing the email delivery under my domain.
Environment :
Server: cPanel server ( Centos 7 )
My domain: myorg.com
Scenario:
In my organization ( myorg.com ) I need to limit the email delivery of one department ( say the development department ). The limiting includes delivery of incoming and outgoing mail between a few domains only. Like myorg.com can send emails only to 5 domains including myorg.com and cannot send or receive emails FROM and TO to Gmail, yahoo, etc...
I have tried to achieve the same by adding an exim custom filter. But the mails were delivered if they added outside emails in CC or BCC.
In my filter, the following condition occurs. I need to resolve the third condition. Please share your thoughts.
Conditions :
[email protected] to [email protected] - Delivered [ OK ]
[email protected] to [email protected] - blocking [OK]
[email protected] to [email protected] and CC [email protected] - Delivered to both the address [ Should be blocked, since the outside domain is there ]
We are Looking for exim custom rules or any other solution in cPanel to resolve this scenario. I have already contacted the cPanel team and they just escalated the issue telling us this needs advanced exim knowledge and customization and they will not give support for it and we need to do it ourselves.
Environment :
Server: cPanel server ( Centos 7 )
My domain: myorg.com
Scenario:
In my organization ( myorg.com ) I need to limit the email delivery of one department ( say the development department ). The limiting includes delivery of incoming and outgoing mail between a few domains only. Like myorg.com can send emails only to 5 domains including myorg.com and cannot send or receive emails FROM and TO to Gmail, yahoo, etc...
I have tried to achieve the same by adding an exim custom filter. But the mails were delivered if they added outside emails in CC or BCC.
In my filter, the following condition occurs. I need to resolve the third condition. Please share your thoughts.
Conditions :
[email protected] to [email protected] - Delivered [ OK ]
[email protected] to [email protected] - blocking [OK]
[email protected] to [email protected] and CC [email protected] - Delivered to both the address [ Should be blocked, since the outside domain is there ]
We are Looking for exim custom rules or any other solution in cPanel to resolve this scenario. I have already contacted the cPanel team and they just escalated the issue telling us this needs advanced exim knowledge and customization and they will not give support for it and we need to do it ourselves.
Last edited by a moderator: