cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1149
Views
0
Helpful
2
Replies

How to enable content filter for DistributionGroup

mads
Level 1
Level 1

I have enablet content filtering i default Policy with a newly created content filter called Blacklist_distributiongroup

The incoming content filter is configured with following rules

Blacklist_distributiongroup: if (rcot-to-group == allindomaingroup@domain.com) {drop(); }

But it doenst drop mail - it is send throug to recipient

What am i doing wrong ???

1 Accepted Solution

Accepted Solutions

jsteer
Level 1
Level 1

Mads - i'd check that the message is :

a. is the address correct as it's comes through from the internet?

b. is the content filter active

c. what do you see in the mail_log when the message passes thru?

I'd suggest you use the trace option in the GUI to mimic a message to this address and see wha the output is.

The rcpt-to-group rule is using ldap to match up an address. Is your ldap connection setup?

Perhaps its worth changing the filter to be:

Blacklist_distributiongroup: if (rcpt-to == allindomaingroup@domain.com) {drop(); }

Good luck

jason

View solution in original post

2 Replies 2

jsteer
Level 1
Level 1

Mads - i'd check that the message is :

a. is the address correct as it's comes through from the internet?

b. is the content filter active

c. what do you see in the mail_log when the message passes thru?

I'd suggest you use the trace option in the GUI to mimic a message to this address and see wha the output is.

The rcpt-to-group rule is using ldap to match up an address. Is your ldap connection setup?

Perhaps its worth changing the filter to be:

Blacklist_distributiongroup: if (rcpt-to == allindomaingroup@domain.com) {drop(); }

Good luck

jason

Hi Jason

Question a,b and c was allready checked -

I Changed the content rule to

Blacklist_distributiongroup: if (rcpt-to == ^allin) {drop(); }

Now it works

Thanks

Mads

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: