On Thu, Jan 13, 2011 at 03:55:31PM -0500, Zhou, Yan wrote: > I thought my Postfix would only accept messages > destined to local domains. > > What am I missing? > > mynetworks = 10.128.61.0/24, 10.128.12.0/24, 127.0.0.0/8
Clients with the IP addresses above, > sample_directory = /usr/share/doc/postfix-2.3.3/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > unknown_local_recipient_reject_code = 550 can send outbound email, because you do not specify any non-default SMTP access controls, and the default is to permit outbound mail from clients in $mynetworks. Note that local submission via sendmail(1) is not subject to the SMTP access lists, so if you want to disable that too, set: default_transport = error:5.1.2 Mail to remote domains not permitted This still allows mail to off-host "relay" domains, which use $relay_transport. -- Viktor.