We would like to use Postfix to relay mail for one domain (@domain1.net) and deliver mail for all other domains directly. I started looking at Transport Maps.
RELAY: u...@domain1.net <relay to> mail.domain1.net ALL OTHER: u...@yahoo.com <INTERNET> u...@hotmail.com<INTERNET> u...@gmail.com<INTERNET> I hope this makes sense. I can clarify if not. MAIN.CF alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_size_limit = 0 mydestination = ourrelay-cb01, localhost.localdomain, , localhost myhostname = ourrelay-cb01.mydomain.com mynetworks = hash:/etc/postfix/auth_mailers readme_directory = no recipient_delimiter = + relayhost = smtprouter.mailserver.com smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes transport_maps = hash:/etc/postfix/transport Thank You, Eric