Installing Modoboa, Let’s Encrypt & Ubuntu 16.04

Over the past month or so I’ve been trying out running my own email server. This has come about due to warnings from Mailchimp giving warnings about our newsletter emails potentially being marked as spam because we used a Gmail account and they could not verify the domain or identity of our email address. Thus the desire to try one of these self-hosted solutions that I could potentially use for friends and family needing email. Obviously I could have gone with a hosted solution and just setup my DNS per Mailchimps requirements, but what is the fun of that.

My first choice was using mailinabox.email which runs well and is fairly easy to setup.  It consists of Postfix, Dovecot, Z-Push, Roundcube, ownCloud, Spamassassin, PostgreyNginx and runs on Ubuntu 14.04. I opted to run this on Digital Ocean. The server handles all DNS for the domain you specify as the root domain to handle your email. It allows you to also setup many domains on the server with unlimited users, issuing of Let’s Encrypt certificates, etc. For me a couple of things were lacking in regards to user management. Mailinabox website recommended two other platforms that had a little more advanced feature set so I checked them both out. I chose Modoboa I honestly liked the admin and user interface and management a little bit better as well as the statistics for traffic and spam.

Read more

Customizing WooCommerce Product Pages

I’ve been working on an online store for a business I work for here in SE Asia and trying to find ways to customize WooCommerce to meet my needs. One setting that I don’t care for is the listing to the categories on individual product pages as it was redundant and irrelevant to the product.  There wasn’t much formatting options I could find to remove it, or adjust its location as it seemed to not want to line break right after the SKU.  I didn’t find much searching Google, but found a few forums on WooCommerce site that indicated how to do this.  However, these forums are in the process of being shutdown for whatever reason, so I wanted to make this available to anyone else looking for such a solution.

You need to modify your CSS to disable the elements you want to hide.  Using your web browser page inspector or another tool, you can find the CSS class to control this.  The code you need to insert into your CSS is as follows:

The .posted_in is the element that lists the product category on a product. Using the display:none hides this from the product page.  You can hide this individually on each product, or site wide. You would follow this for other css elements that you want to hide. If you are looking for a great WordPress theme, GeneratePress is pretty amazing and lets you simply modify CSS without having to hack your CSS.