Page 1 of 1

cbpolicyd with third level domain

Posted: Wed Nov 20, 2019 8:59 am
by fferraro87
Hi,

i'm setting policy for my mail server on cbpolicyd , i'm using webui.

I've created a reject policy in order to drop domain sending email that isn't in my group, so i've create a group called list_domain and put all domains allowed to send from my mail server.
and i create a policy that drop email from !%list_domain to !%list_domain

Everything going fine if i've on list_domain i've domain like example.com instead if i've a domain like test.example.com i've that error on log :

Code: Select all

[2019/11/20-09:48:25 - 11283] [POLICIES] WARNING: [ID:8/Name:Reject non existing domains]=>(group:list_domain): - Destination 'test.example.com' is not a valid specification


how can i fix this?

Re: cbpolicyd with third level domain

Posted: Thu Nov 21, 2019 5:30 am
by fayaz
hi


your policy should be source is %users_local_only and destination is !%list_domain .

please try this let us know.