transport file contains: * smtp:mail.power.com
On 04/06/2014, at 11:59 AM, Viktor Dukhovni wrote: On Wed, Jun 04, 2014 at 11:52:59AM +1000, Andrew Stuart wrote:
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases home_mailbox = Maildir/
Only applicable with local(8) delivery, but you have local_transport = virtual, so unless you have explicit transport entries selecting "local", these can be set empty.
local_recipient_maps = $virtual_mailbox_maps local_transport = virtual mydestination = example.org, localhost.example.org, localhost
So example.org users should be routed to virtual(8) barring transport overrides.
relay_domains = in.example.org relayhost = mail.power.com
This domain should be routed to the "relay" transport barring transport overrides, with a nexthop of $relayhost.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
Change defer to reject when you get a chance.
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
http://www.postfix.org/TLS_README.html#quick-start
smtpd_use_tls = yes
smtpd_tls_security_level = may
transport_maps = hash:/etc/postfix/transport
What's in there relating to either domain or a "*" entry?
virtual_alias_maps = hash:/etc/postfix/virtual.aliases
Are addresses in example.org rewritten to some other domain? Log entries of mail leaving via relayhost? -- Viktor.