Quick way to forward mails via postfix

Thanks to https://www.bentasker.co.uk/documentation/linux/173-configuring-postfix-to-automatically-forward-mail-for-one-address-to-another

Assuming you're running Postfix, it's as simple as the steps below

First we make sure the virtual mappings file is enabled

vim /etc/postfix/main.cf 

# Scroll down until you find virtual_alias_maps 

# Make sure it reads something like 
virtual\_alias\_maps = hash:/etc/postfix/virtual  
# We also need to make sure the domain is enabled 

Save and exit, next we add the aliases to our mapping file

nano /etc/postfix/virtual  
# Forward mail for admin@example.com to jo.bloggs@hotmail.com 
admin@example.com  jo.bloggs@hotmail.com  

Simple! And if we want to send to two different addresses at once, we just specify them

admin@example.com  jo.bloggs@hotmail.com jos.wife@hotmail.com  

Finally, we just need to create a hash (actually later versions of Postfix don't require this)

postmap /etc/postfix/virtual  

It's exactly the same principle as passing mail into a local user's mailbox.

Linux – How to create a self-signed (wildcard) certificate

This is a quick step to generate self-signed certificate :

openssl genrsa 2048 > host.key  
openssl req -new -x509 -nodes -sha1 -days 3650 -key host.key > host.cert  
#[enter *.domain.com for the Common Name]
openssl x509 -noout -fingerprint -text < host.cert > host.info  
cat host.cert host.key > host.pem  
chmod 400 host.key host.pem  

from here

https://mumble.org.uk/ Blog of Ben Hughes, etsy's infosec guy.

Read everything about him, start at the blog. See a good point: http://www.arresteddevops.com/devops-security/

A full on docker intro



linux containers


Scaling with Steve Corona

Moving from php to rails

jruby performance


very interesting hands-on experience talk


Using HTTP status codes to annoy attackers / scanners / spiders

also check http://blog.c22.cc

consider web application firewall configuration with this stuff.