On Tue, 9 Jun 2015 11:51:28 +0300 "Hanna" <ha...@ecei.biz> wrote:
> in /etc/postfix/blockr > > domain.com REJECT sorry, blocked. > .domain.com REJECT sorry, blocked. > you dont need to specify ".domain.com", since the first also REJECT any subdomain under "domain.com". http://www.postfix.org/access.5.html and test using 'postmap -q "string" /etc/postfix/blockr'. ex. "string" = "t...@domain.com" and "t...@test.domain.com" > But postfix blocks only incase email are sent to domain.com , but it > accepts emails for subdomain ".domain". so why it is not working ? > > How can I enforce postfix to block also the subdomain for the > recipient address ? >