Skip to content

Instantly share code, notes, and snippets.

@wgroenewold
Created October 24, 2016 09:41
Show Gist options
  • Save wgroenewold/7fb50c8031b531d7d2ed31268d040a82 to your computer and use it in GitHub Desktop.
Save wgroenewold/7fb50c8031b531d7d2ed31268d040a82 to your computer and use it in GitHub Desktop.
Mail forwarder aanmaken op srv2
===============================
$ nano /etc/postfix/main.cf
Voeg aan virtual_alias_domains je domein toe. Syntax:
virtual_alias_domains = domain.com anotherdomain.com yetanotherdomain.com
$ nano /etc/postfix/virtual
Voeg emailadres forwarder toe. Syntax:
from@domain.com to@anotherdomain.com
$ postmap /etc/postfix/virtual
$ service postfix reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment