amavisBlacklistSender Limit

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

amavisBlacklistSender Limit

Postby k_k » Wed Sep 29, 2010 7:09 am

Hi,
We have one requirement where we need to block internal mail communication of our one of the department which contains around 250 mail IDs. Means these 250 mail IDs should not able to interact with each other...for outer world they can.
I used webmail feature to block the mail communication and below command :
zmprov -l ma amavisBlacklistSender
But as per webmail , we can only block upto 100 IDs ...is it true ?? is there any setting where we can increase this limit...please confirm..we need this setting..


k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

amavisBlacklistSender Limit

Postby k_k » Thu Sep 30, 2010 7:38 am

Guys plz help....
ewilen
Elite member
Elite member
Posts: 1429
Joined: Fri Sep 12, 2014 11:34 pm

amavisBlacklistSender Limit

Postby ewilen » Thu Sep 30, 2010 12:41 pm

Okay, to begin with, note that the blacklist to which you're referring is user-configurable. So you can't enforce it once it's been set up.
If that's acceptable to you, then an easy alternative would be to use a filter instead of a blacklisting. Ideally you would have that entire department in a unique subdomain, and then you could create a filter like
If FROM contains (or "matches wildcard condition", or "is" if you haven't set up a subdomain) then Discard
(That's from the web interface, not sure what the CLI syntax would be.)
But if you've set up a subdomain, then why not just do your blacklist as follows?
zmprov -l ma amavisBlacklistSender
Because the blacklistsender can take just a domain, and then it'll block everything from that domain.
Your final option would be to hack amavisd.conf.in, using the per-recipient personal tables. This would have the virtue of NOT being user-configurable. Just add a high enough score to the blacklisted addresses, and all mail from them will be blocked without going into Junk.
ewilen
Elite member
Elite member
Posts: 1429
Joined: Fri Sep 12, 2014 11:34 pm

amavisBlacklistSender Limit

Postby ewilen » Thu Sep 30, 2010 12:45 pm

k_k
Posts: 46
Joined: Fri Sep 12, 2014 11:55 pm

amavisBlacklistSender Limit

Postby k_k » Fri Oct 01, 2010 3:23 am

Thanks Elliot for your reply.
Let me explain you the requirement in details :
We are having one domain called example.com.

Under this domain around 250 email IDs are there.

One specfic department contain around 120 email IDs. For this dept, we dont want them to communication with each other...means mail communication should be block within 120 email IDs. But they should able to send mail to rest of 130 email ids and even external world....
And all these IDs are belong to example.com.....
So in this case prostfix restriction which you mentioned is not applicable.....i will check filters option...is there any way ?
deugenin
Advanced member
Advanced member
Posts: 72
Joined: Fri Sep 12, 2014 10:11 pm

amavisBlacklistSender Limit

Postby deugenin » Sat Oct 02, 2010 11:15 am

Justo you need execute, for example:
zmprov ma account@domain.com zimbraMailBlacklistMaxNumEntries 500

zmprov ma account@domain.com zimbraMailWhitelistMaxNumEntries 500
ewilen
Elite member
Elite member
Posts: 1429
Joined: Fri Sep 12, 2014 11:34 pm

amavisBlacklistSender Limit

Postby ewilen » Tue Oct 05, 2010 4:39 pm

Wow, that's great to know.
Still doesn't deal with the ability of users to modify the BL, though. If that's an issue, again, I'd consider looking into amavisd.conf.in, although you'd have to do your own research/experimentation on how to configure.

Return to “Administrators”

Who is online

Users browsing this forum: Baidu [Spider], MSN [Bot] and 10 guests