nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Per user mail attachment filtering

This is a discussion on Per user mail attachment filtering within the Mail Servers forums, part of the Mastering Servers category; Hi and TIA, I have been working on this little problem for a few weeks now and need some help ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-03-2009, 02:06 AM
Junior Member
User
 
Join Date: Nov 2007
OS: Ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rslrdx is on a distinguished road
Default Per user mail attachment filtering

Hi and TIA,

I have been working on this little problem for a few weeks now and need some help before i go completely nuts.

I installed a new mail server, oss zimbra suite, it does its job of sending and recieving BUT, the attachment filtering options are not the best, its only allow or deny options for everyone at once. That is a problem because i have different departments on the company (about 100 people total) some can recieve ALL attachements, others, cant recieve any, others, can recieve some. so the solution would be to either have some sort of group policy or at least per user policy.

Even though its based on oss software, its not the orginal version of them, so hacking those could be troublesome, and would prevent from an easier upgrade process in the future.

At one point it was suggest that i do the mail filtering outside of the zimbra server and just forward the email to the zimbra server. I belive thats is now the best option i have at this point, even though i dont like to have two mail servers to do the function of what i belive should be a single mail server.

So, I need a mail server that can filter attachments on a per user basis, and while i have searched the net, googled, chatted in irc channels and other forums, i had overlooked this one. So I hope someone can enlighten my path with some good ideas and sugestions.

Some things i have to keep in mind, easy of use, mail routing, mx records priority, backup.

Any ideas are apreciated.

Rodrigo.
Reply With Quote
  #2 (permalink)  
Old 26-03-2009, 02:45 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

For nomral MTA such as Postfix you can use procmail to filter out emails. But, I'm not sure if this will work with zimbra.

However, you can use procmail from another user using IMAP.

Quote:
At one point it was suggest that i do the mail filtering outside of the zimbra server and just forward the email to the zimbra server. I belive thats is now the best option i have at this point, even though i dont like to have two mail servers to do the function of what i belive should be a single mail server.
You need to setup something as follows:
Code:
anti-spam+gateway -> Forward-email to zimbra
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help

Last edited by nixcraft; 26-03-2009 at 02:50 AM.
Reply With Quote
Reply

Tags
mta , postfix , procmail , smtp , zimbra


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Sendmail Attachment Size & User Quota Restriction. nishith Mail Servers 2 31-12-2008 12:05 PM
howto block mail service for a user ephdia Databases servers 0 17-07-2008 10:26 AM
Linux delete mail for root or any other user from a shell prompt raj Getting started tutorials 0 05-05-2007 01:36 AM
POSTFIX Filtering for LAN and WAN matrix Mail Servers 0 06-02-2007 05:18 PM
send mail attachment solaris K.R. Solaris/OpenSolaris 1 01-02-2007 07:05 PM


All times are GMT +5.5. The time now is 12:12 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38