Internet

Automatically block aggressive IPs to prevent brute force or DDOS attacks using Bash and IPtables

Oct 11th, 2014 | By

Something I do, mainly because of my ignorance of a more elegant solution, is to manually check my logs every 4 hours and the mail server logs every 2 minutes for excessive access by individual IP’s. I run a few scripts together that: Check the access.log and list off the top 10 IP’s organized by
[continue reading...]



How to transfer rules/filters from one zimbra account to another

May 28th, 2014 | By

Well it would appear that the vast majority of links and literature on this subject is outdated and no longer working although it’s not terribly broken it just needs a slight tweak which I’ll post below.  A big thanks to the guys over here: http://www.spheron1.co.uk/2011/06/27/zimbra-mailbox-importexport-and-migration-of-e-mail-filter-rules/ for having the only working solution i found   So first
[continue reading...]



How to get proper wordwrap in Zimbra desktop client when composing emails

May 27th, 2014 | By

For whatever reason there was a fix pushed to the web client but no the desktop client a while back that fixed this. Anyways, if you compare the msgview.css file for both web(/opt/zimbra/jetty-distribution-7.6.12.v20130726/webapps/zimbra/css) and desktop(C:\Program Files (x86)\Zimbra\Zimbra Desktop\jetty\webapps\zimbra\css) clients you’ll notice that in the web client there’s a section that looks like this: .MsgBody-text, .MsgBody-html
[continue reading...]



How to migrate a maildir imap email (vmail/postfix/dovecot) account over to Zimbra

May 27th, 2014 | By

Compared to migrating a local pop3 account and folder structure over this one is as simple as cake.  Let’s say you have the remnants of your postfix/dovecot vmail server kicking around, you just finished setting up Zimbra and have it up and running but now you want to recreate all of your folder structure and
[continue reading...]



Mass email migration from local pop3 (thunderbird) client to imap or exchange client (zimbra) while preserving folder structure

May 27th, 2014 | By

Well this one is a serious doozy, here’s the situation: I have been using thunderbird via pop3 and organizing all of the emails manually into folders locally over the past 3-4 years This has resulted in close to 100,000 emails(or 6.9GB) being organized and sorted manually or through filters into a local mbox folder structure
[continue reading...]



How to change the default Zimbra theme for all users

May 26th, 2014 | By

Well this one is kind of a hack as you aren’t changing the default theme from Carbon to something else you are just renaming the directory name of one of the other themes to carbon(or creating a symlink) to fool zimbra into thinking a theme is carbon when it’s actually not.  Anyhow this is how
[continue reading...]



Why is my zimbra.log full of maildrop errors?

May 25th, 2014 | By

Checked on my zimbra log today and found a ton of these: warning: mail_queue_enter: create file maildrop/858267.11154: No such file or directory   Now there could be two solutions to this problem, for me it was as simple as going into /opt/zimbra/bin and running #postfix stop checking for any lingering postfix processes that aren’t shutting
[continue reading...]



How to get the Zimbra web admin stats to work after installing Zimbra 8 onto a Debian 6 server

May 25th, 2014 | By

So yesterday we got Zimbra 8 up and running on our Debian 6 machine with mysql and apache but now I’ve noticed that while I can log into the web admin at port 7071 nothing works Even though all services are running and I can confirm that in the CLI the web interface is telling
[continue reading...]



Setting up email forwards in Zimbra with zmprov

May 24th, 2014 | By

http://www.zimbra.com/forums/administrators/10857-how-create-mail-forward-only.html   The best way to do this is a way where you aren’t creating additional accounts for each forward as some zimbra licenses have limited accounts.  What you want to do is setup distribution lists like so: # zmprov createDistributionList user@domain.com # zmprov addDistributionListMember user@domain.com someone@else.com   Now keep in mind you have to add the domain
[continue reading...]



How to add a new domain to a Zimbra install and then a new account to the domain

May 24th, 2014 | By

Ok, so you’ve got your zimbra server pretty much up and running and seeing as you’re just like me and had to take a production email server offline and retrofit it like this you have a dozen or two busy email accounts that have been rejecting emails for the past 12 hours and that needs
[continue reading...]