Posts

How to set up a simple mail server on Debian in 5 easy steps

Image
This tutorial will take you through the steps of setting up and configuring a simple mail server (SMTP, POP3, IMAP) on Debian/Linux. The instructions will be given for Debian, but they can be adapted quite simply to other distributions such as Ubuntu and other Debian-based OSes; you could even pretty much follow the same steps if you're running Red-Hat based systems such as CentOS or Fedora. I can promise you that this is as easy as it gets, provided you have correctly verified and validated the pre-requisites step. What we will achieve in this tutorial We will be setting up a simple email server with the following basic functionality: The server will be able to both send (via SMTP) and receive emails (via IMAP and POP3) optionally with SSL functionality User accounts and  passwords will be encrypted and stored in a simple text file , which can be managed easily with a text editor. It will support a potentially infinite amount of mailboxes over one or more domains As...

Top 3 ways to disable high contrast and accessibility features in Windows 7

Image
BEFORE FOLLOWING THIS GUIDE, make sure your users don't actually need this feature. High-contrast mode is very useful for some people. If you disable it for them, they will be pissed (I noticed several visitors got mad at me for writing this tutorial). Working as a system administrator (among other roles) in an international school, we've got a lot of computers to manage here and kids never miss a chance to mess up with them. The latest trend is to enable high-contrast mode, basically making the computer turn black and white along with a bunch of other fluorescent colors. I don't need to remind you how annoying this is and why a more permanent solution needs to be found for this problem. Tip: you can quickly enable or disable high contrast mode by pressing  Left Alt+Left Shift+Print Screen . In this article, I am providing three different ways to permanently disable high-contrast mode . All have their pros and their cons, feel free to try each of them and let me kn...

Easiest way to transfer application settings across computers: AppMigrate

UPDATE October 2014: this application has been discontinued. [Old article:] This article presents you with the top 3 ways to migrate or transfer applications settings across computers. This will come in handy in situations such as: when you buy a new computer and need to transfer your settings from your old computer to your new computer when you want to replicate or send application settings to a friend or someone else when you want to back up your settings in order to ensure you won't lose something if your computer were to break down somehow The solution I'm going to present you is fully automated, free, and it's even open source so it's completely devoid of all risks regarding data privacy. It's a simple tool called AppMigrate . Quick tutorial First, head over to the official website and download the latest AppMigrate installer . Install the program and open it via the newly created shortcut in your start/home menu. A window appears showing you...

Nginx error 413: Request entity too large Quick Fix

A quick article today about a common error people encounter with Nginx: the infamous 413 Request Entity Too Large HTTP error. I had the problem myself just yesterday on one of my newly configured servers, so I thought I'd make a blog post about it to make sure I don't forget this next time. Error 413: what does it mean? This error shows up when a visitor sends too much data in the HTTP request. This is normally caused by: • an overy large file being uploaded by the visitor • more generally too much POST data being sent by the client The fix is as simple as setting a directive in your Nginx configuration, read on below. How to fix it? client_max_body_size To fix this, you need to increase the value of the client_max_body_size directive. This directive defines the maximum amount of data Nginx will accept in an HTTP request. By default this value is set to 1 megabyte, meaning if you attempt to upload a file larger than 1 megabyte you'll be getting an  Error ...

Top 5 fixes for: Excel 2013 has stopped working - also works for Word, Powerpoint, Outlook...

Image
Recently I've started encountering a particularly annoying problem with Office 2013. Every time I'd open Excel 2013 under Windows 8, it would crash instantly, leaving me a message: " Excel 2013 has stopped working ". I looked around and found a few solutions, but nothing worked for me. Eventually, I managed to fix the problem all by myself. I'm going to describe the steps that I've tried here. Note that this post is also valid for messages such as: Word 2013 has stopped working Powerpoint 2013 has stopped working Excel 2013 has stopped working Outlook 2013 has stopped working Office 2013 has stopped working (insert any other Office tool here). Most of these solutions are also valid for Office 2007 and Office 2010 applications . Solution 1: change the default printer This solution fixed all my problems, so I'm going to describe it first. Also it's the simplest! Try this first before anything else, because the next solutions are a bit more...

Access a DBISAM database with PHP via ODBC

Image
Recently I've been needing to access a DBISAM database created by third-party application, in order to export some of its data. Initially, I didn't even know what format the database was; I'd just found a bunch of files with the following extensions: .dat , .idx , .blb , .ibk , .bbk , and more. After a quick Google search, I stumbled upon a few pages that led me to DBISAM from Elevate Software . It's a proprietary database format that doesn't require a server application, somewhat similar to SQLite. Accessing the database from PHP was quite complex because I didn't have a proper reference or blog article to detail the process. That's exactly why I'm writing this: to give people directions on a subject that's hardly documented at all. In this tutorial, you'll learn how to access the database via PHP, execute a simple SQL query, and display the result. ODBC driver and connection I almost forgot: there's a catch-- even two, and here...

Windows 8 on Macbook freezes due to Broadcom wifi driver: a solution?

I am writing this article in the hope that this will help someone else. I have a white 2009 Macbook (version 6,1 -- if you want to know what's yours, refer to this list http://support.apple.com/kb/ht1635 ) So here's the thing. I just installed Windows 8 on my macbook, via Boot camp. Unfortunately, even after installing the most recent available drivers (from Bootcamp 4, since Bootcamp 5 doesn't support my Macbook version), my computer freezes at random times. After reading about a lot of similar problems on the web, this blog post seemed to best describe the issue I was personally encountering. Indeed: if I disable the Broadcom wifi adapter, the freezes no longer occur.  So yes, it seems the problem comes from the Broadcom wifi driver . It seems that I was able to solve the problem after looking at numerous solutions on the web. I followed all the instructions on this blog article but it did not solve the freezing problem. So I took additional steps. Before read...