Ubuntu 14.04 14.10 Postfix unix accounts catchall email forwarder

If you are using unix account authentication with Postfix, like i am, this is how to setup a catchall email address. Don’t worry, email destined for legitimate accounts will not be caught.

Add these lines to /etc/postfix/main.cf:

local_recipient_maps =
luser_relay = addressyouwantitsentto@yourdomain.com

Now restart postfix:

sudo /etc/init.d/postfix restart


Leave a Reply

Your email address will not be published. Required fields are marked *