Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: How to block attachments on a per user basis???

  1. #1
    rslrdx is offline Active Member
    Join Date
    Oct 2008
    Posts
    49
    Rep Power
    6

    Default How to block attachments on a per user basis???

    Hi and TIA

    I'm looking for a way to block a few types of attachments on a per user basis, or some sort of diferential list of users.

    Is this even possible? I'm looking through the forums and cant find any indications that it can be done.

    zcs-5.0.11_GA_2695.UBUNTU8_64.20081117052616
    Ubuntu 8.04.2

  2. #2
    gnyce is offline Advanced Member
    Join Date
    Aug 2007
    Location
    outside Philadelphia
    Posts
    214
    Rep Power
    8

    Default

    Pretty sure that the zimbra admin interface doesn't expose this sort of option. But also reasonably sure that amavisd can do this (which Zimbra uses)... look at the /opt/zimbra/conf/amavisd.conf and amavisd.conf.in

    The amavisd.conf contains the settings that zimbra uses, this conf is generated from amavisd.conf.in (everytime you start zimbra, I think) - a few warnings, it is likely that you can mess things up, so tread carefully, and any changes you make will be lost upon upgrades, so you'll want to track them. Good luck!

    PS - I'm not a zimbra guru, so some of what I said above could be incorrect. But, I also have used amavisd-new before on a gateway, and tho' I have not done what you are looking for, I've found amavisd to be pretty flexible. So there is your 'caveat emptor'
    Last edited by gnyce; 02-08-2009 at 06:25 PM. Reason: added caveat

  3. #3
    rslrdx is offline Active Member
    Join Date
    Oct 2008
    Posts
    49
    Rep Power
    6

    Default

    i will look into that..

  4. #4
    rslrdx is offline Active Member
    Join Date
    Oct 2008
    Posts
    49
    Rep Power
    6

    Default

    I'm not sure editing the files directly is a good idea on this case, doesnt say anything like it on the wiki and there is very little information on the forums... Does anyone have any ideas? surely other need to be selective about the attachment users can recieve.

  5. #5
    gnyce is offline Advanced Member
    Join Date
    Aug 2007
    Location
    outside Philadelphia
    Posts
    214
    Rep Power
    8

    Default

    Not completely true... there are some wiki articles that talk about editing the amavisd.conf.in file...

    IP Address whitelisting - Zimbra :: Wiki
    Improving Anti-spam system - Zimbra :: Wiki
    limit number of child processes - Zimbra - Forums


    From the author of amavisd
    ... "it is possible to have per-recipient banning rules (through @banned_filename_maps / %banned_rules"

    Don't misunderstand, it would take a little fiddling, but it is entirely doable. The alternative is to establish a mail gateway in front of zimbra that does this for you.

  6. #6
    rslrdx is offline Active Member
    Join Date
    Oct 2008
    Posts
    49
    Rep Power
    6

    Default

    Quote Originally Posted by gnyce View Post
    Don't misunderstand, it would take a little fiddling, but it is entirely doable. The alternative is to establish a mail gateway in front of zimbra that does this for you.
    fiddling is prerequisite for open source, but having a mail gateway in front of zimbra seems like a waste of resources by the zimbra package all together... if i need a mail gateway for what i think should be a basic standar option on mail servers, then zimbra is nothing more then a pretty web interface for a mail "reciever".

    Well, Thanks, at leasts i know what to look for now... I'm off to find some way to easily edit amavis.

  7. #7
    rslrdx is offline Active Member
    Join Date
    Oct 2008
    Posts
    49
    Rep Power
    6

    Default

    I'm still trying to get this working, but countless hours of google searches are not really getting me anywhere... anyone here trying to do this kind of thing?

  8. #8
    jamturtle is offline Member
    Join Date
    Mar 2007
    Posts
    11
    Rep Power
    8

    Default

    Maybe I am just butting in but I thought based on working with other mailers this might be a good lead for you. Look in your ldap settings. Back in my previous job we used SUN Java Commincation Suite [awesome suite, but a bit dated] and we defined everything on a user per user basis on the ldap server. We could increase or decrease mail size, exclude files types, define different AV software, etc. I know zimbra uses ldap. I just have not figured out how to edit it yet [when running its own version].
    Or do it by filters on a per user basis [yes its the hard way but probably would work].
    Just trying to help :^)

  9. #9
    rslrdx is offline Active Member
    Join Date
    Oct 2008
    Posts
    49
    Rep Power
    6

    Default

    I just find this very amusing..... there should be a way to easily do this, but by judgin all that i found, i'm pretty much SOL...

    Could a Different COS help in any way?

  10. #10
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Will investigate this

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •