Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-07-2007, 10:48 AM
Intermediate Member
 
Posts: 23
Default Enhancement Hacks - power of filters & always_bcc

Zimbra is absolutely wonderful and I look forward to some much needed enhancements but until then I thought I would share some of my simple/hacky yet effective steps I have taken to accomplish specific tasks.

fyi: I'm running open source edition on Ubuntu 6.10 LTS, 40 Users (EDIT: 6.06 rather)

"Archive All" Email Account
always_bcc to an internal address archiveall@mydomain.com in main.cf
http://www.postfix.org/postconf.5.html (search for always_bcc)

Keyword review
As a financial firm we need to have a method of flagging certain terms appearing in the body of e-mail for review. Using filters in my archiveall@mydomain.com account I can create folders and tag items containing keywords in the body of the message
Filters can be very powerful. My only wish would be to be able to setup procedural "groups" of filters so that I could use more powerful logical conditions.

Internal E-Mail
While the solutions I have seen for this involve a little too much customization for my taste (I hate it when upgrades break or remove functionality I added through hacking), I have a "good for the time being" solution for our interns here.
ALL interns email address' maintain the same email naming convention as everyone else plus a ".intern" appended to the name (e.g. "John Doe" jdoe.intern@mydomain.com)
They are instructed to not send email to external accounts. archiveall@mydomain.com has a filter that says the following

if all of the following conditions are met, flag it
From contains ".intern@mydomain.com"
To does not contain "@mydomain.com"


I have to run now and get back to work but I thought I would share and hopefully get a thread going of similar tips / improvements to my own to help out fellow administrators.


-Gavin

Last edited by gsilver : 05-10-2007 at 09:29 AM. Reason: s/catchall/archiveall
Reply With Quote
  #2 (permalink)  
Old 05-10-2007, 09:10 AM
Intermediate Member
 
Posts: 23
Default

bump.. above post was broken i think for a bit but now is fixed..

please share your thoughts!
Reply With Quote
  #3 (permalink)  
Old 05-10-2007, 09:27 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

I think you should rename you "Catch All" title in your first post, a 'catch all' email address is something completely different and we do have a method of creating one via the command line. I guess yours is a type of Archive Account?
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 05-10-2007, 09:33 AM
Intermediate Member
 
Posts: 23
Default

you are right... it is an archive account,

my original purpose for this type of account was to quickly resolve the lies of "omg my email is missing and i swear i did not delete it"

but after realizing the power of filters on what is equal to an "all mail" account i saw many more uses of such an account
Reply With Quote
  #5 (permalink)  
Old 05-10-2007, 09:58 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

Yes, it's certainly a good idea. There is an archiving facility available for the Network Edition but this is a good idea for the OSS version. You might also like to look at the zmmsgtrace tool for ...erm tracing messages through the system.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 08-24-2007, 03:35 AM
Loyal Member
 
Posts: 98
Default

Hello Gavin,
I'm not sure I'm not following you. I understand about the always_bcc in postfix. But I don't understand the filter. How do we implement the filter?
Cheers.
Reply With Quote
  #7 (permalink)  
Old 08-28-2007, 08:04 AM
Intermediate Member
 
Posts: 23
Default

Hey there!
  1. Create an account that will have a quota large enough to get copies of ALL mail. (e.g. archiveall@yourdomain.com)
  2. Set "always_bcc" to that address.
  3. In the admin view, "view mail" as archiveall@yourdomain.com (or alternatively; login directly as that account)
  4. Go to "Options"
  5. Go to "Mail Filters"
  6. Set rules accordingly.

Hope that helps.. Let me know if you are still having trouble.
Reply With Quote
  #8 (permalink)  
Old 08-28-2007, 08:17 AM
Loyal Member
 
Posts: 98
Default

Now I understand it.
Good work! Creative thinking!
Nice.
Reply With Quote
  #9 (permalink)  
Old 02-24-2009, 10:22 AM
Starter Member
 
Posts: 1
Default

Quote:
Originally Posted by gsilver View Post
Hey there!
  1. Create an account that will have a quota large enough to get copies of ALL mail. (e.g. archiveall@yourdomain.com)
  2. Set "always_bcc" to that address.
  3. In the admin view, "view mail" as archiveall@yourdomain.com (or alternatively; login directly as that account)
  4. Go to "Options"
  5. Go to "Mail Filters"
  6. Set rules accordingly.

Hope that helps.. Let me know if you are still having trouble.
Let's say the quota is reached... Does the intern get an email back? If no, how did you prevent that?
Reply With Quote
  #10 (permalink)  
Old 03-26-2009, 08:32 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

You would have been better starting a new thread about this as the behaviour has changed since this thread started.

Quote:
Originally Posted by ideallife View Post
Let's say the quota is reached... Does the intern get an email back? If no, how did you prevent that?
The user will get a warning message when the quota is getting close to full, if it goes that far then incoming mail will eventually get bounced. The way to prevent it is give the user a larger quota.
__________________
Regards


Bill
Reply With Quote

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0