All entries by this author

Every entry I could find for your Gitlab.rb file

Nov 5th, 2014 | By

For now I’m just dumping everything I can find in here randomly, will clean it up later       By default, Unicorn listens at TCP address 127.0.0.1:8080. Nginx listens on port 80 (HTTP) and/or 443 (HTTPS) on all interfaces. The ports for Redis, PostgreSQL and Unicorn can be overriden in /etc/gitlab/gitlab.rb as follows: redis[‘port’]
[continue reading…]



Editing Gitlab email templates to prevent them from getting caught in spam filters

Nov 5th, 2014 | By

So it looks like the default emails are getting picked up by gmail’s spam filters so I wanted to rewrite the tempaltes so they seemed a bit more natural sounding and hopefully pass the test.  To do so you need to go into :   and edit the following files: /opt/gitlab/embedded/service/gitlab-rails/app/views/notify new_user_email.text.erb new_user_email.html.haml   This will
[continue reading…]



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…]



Headphones plugged in but Audio still plays for .5 seconds on laptop speakers before switching to headphones

Sep 30th, 2014 | By

Alright, this problem has been driving me nuts this week.  My headset is plugged in, audio is working fine, mic is detected but whenever I play audio, be it through winamp or youtube there will be a slight delay where it plays through my laptop speakers for about .5 seconds before switching over to my headset. No
[continue reading…]



How to Fix Error code: service.FAILURE Method: [unknown] Details:soap:Receiver in Zimbra

Sep 9th, 2014 | By

Finally solved this issue so figured I’d share.  For me it was because I had the zimbra user’s shell set to /usr/sbin/nologin when it needed to be /bin/sh Also if you don’t have openSSH installed you’re going to need that running



How to fix watermark issues in Bandicam

Jun 12th, 2014 | By

So there’s this thing with Bandicam and custom watermarks where it will sometimes end up looking like this:  Which isn’t fun for anyone.. After some trial and error today I figured out that it was happening because the .png images were saved with ‘Save background color’ checked in my export settings.  Or at least this
[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…]