> On May 18, 2017, at 2:32 PM, Marek Kozlowski <m.kozlow...@mini.pw.edu.pl> > wrote: > > I'm wondering why after telnet connection to port 25 the host accepts > any `RCPT TO:' addresses ending with `mini.pw.edu.pl' (for example: > `s...@1.2.3.4.5.mini.pw.edu.pl') and then tries to forward it. I thought > that only those explicitly listed above would be accepted. Which > parameter may be missing / responsible for it? How can I debug or change it?
http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains Recommended: parent_domain_matches_subdomains = smtpd_access_maps OR, better yet, if you access(5) tables don't depend on implicit sub-domain matching: parent_domain_matches_subdomains = -- Viktor.