Postfix Forwarding

Forward all email from a linux host to an SMTP server.

vi /etc/postfix/transport
* smtp:mail.mydomain.com

vi /etc/postfix/main.cf
transport_maps = hash:/etc/postfix/transport

postmap hash:/etc/postfix/transport

postfix reload