How To Use Regular Expressions (regex) To Forward Email In Postfix

Author: , April 7th, 2015

Create the file /etc/postfix/virtual-regexp. For example, forward all emails with a leading eric and ending with @thewyz.net to a Gmail account:

Edit the file /etc/postfix/main.cf. Add regexp:/etc/postfix/virtual-regexp to the virtual_alias_maps line. For example:

Generate the map .db file:

This example requires the files virtual and virtual.db to exist, even if they are […]

How To Add a Virtual IP Address (VIP) To MacOSX

Author: , March 1st, 2011

Add a virtual IP address: # ifconfig en0 inet 192.168.1.200 netmask 255.255.255.0 alias Remove the virtual IP: # ifconfig en0 inet 192.168.1.200 netmask 255.255.255.0 -alias