On 5/18/2017 1:32 PM, Marek Kozlowski wrote:
> :-)
> 
> mydomain = mini.pw.edu.pl
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
> mail.$mydomain, www.$mydomain, ftp.$mydomain
> relay_domains = $mydestination
> 
> 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?
> 

Please see the documentation for relay_domains and address classes.
You probably should set relay_domains explicitly empty.

http://www.postfix.org/postconf.5.html#relay_domains
http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains
http://www.postfix.org/ADDRESS_CLASS_README.html



  -- Noel Jones

Reply via email to