Results 1 to 7 of 7

Thread: amavisBlacklistSender Limit

  1. #1
    Join Date
    Nov 2008
    Posts
    46
    Rep Power
    7

    Default amavisBlacklistSender Limit

    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 <original email id > amavisBlacklistSender < list of the rest of the user email id>

    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..

  2. #2
    Join Date
    Nov 2008
    Posts
    46
    Rep Power
    7

    Default

    Guys plz help....

  3. #3
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    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 <original email id > amavisBlacklistSender <subdomain>

    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.

  4. #4
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

  5. #5
    Join Date
    Nov 2008
    Posts
    46
    Rep Power
    7

    Default

    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 ?

  6. #6
    Join Date
    Jun 2006
    Location
    Santiago - Chile
    Posts
    76
    Rep Power
    9

    Default

    Justo you need execute, for example:

    zmprov ma account@domain.com zimbraMailBlacklistMaxNumEntries 500
    zmprov ma account@domain.com zimbraMailWhitelistMaxNumEntries 500
    Daniel Eugenin
    http://www.it-linux.cl

  7. #7
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    9

    Default

    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.

Similar Threads

  1. How to retrieve quota limit of a user via SOAP?
    By jacky.cheung in forum Developers
    Replies: 3
    Last Post: 09-22-2009, 10:09 PM
  2. limit total recipients and exclude some special users
    By tiger2000 in forum Administrators
    Replies: 0
    Last Post: 06-23-2009, 03:02 AM
  3. Limit Amount of Outgoing Messages
    By chrismakk69 in forum Administrators
    Replies: 1
    Last Post: 03-13-2009, 01:29 AM
  4. Licence account limit doesn't update
    By ons in forum Administrators
    Replies: 2
    Last Post: 08-13-2008, 06:15 AM
  5. 5 X Upload Size Limit Exceeded
    By forbe in forum Error Reports
    Replies: 3
    Last Post: 06-10-2008, 01:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •