Thanks. After some twiddling, I stumbled on the same solution I think.
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
On Wed, Nov 26, 2014 at 11:28 AM, Wietse Venema <[email protected]>
wrote:
> Eric:
> > [email protected] <forward to> mail.domain1.net
> > ALL OTHER:
> > [email protected] <INTERNET>
> > [email protected]<INTERNET>
> > [email protected]<INTERNET>
>
> Remove the relayhost setting from main.cf. Postfix by default
> delivers mail for [email protected] to domain1.net mailhost, and it
> by default delivers mail for yahoo, hotmail, etc., via the Internet.
>
> Wietse
>