Hi, I always think that only hosts in mynetworks can do relay on my server, but... I created the following rule
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/dominios_permitidos, reject and put this on the dominios_permitidos map meudominio.com.br OK But when I do this, all hosts that use meudominio.com.br on the MAIL FROM command are allow to use my server to relay to the outside world. Even this host don't list on mynetworks. My main.cf file is following myhostname = r01.meudominio.com.br myorigin = $myhostname mydestination = local_recipient_maps = local_transport = error:Nao aceitamos entrega local mynetworks = 127.0.0.0/8 relay_domains = $mydestination inet_interfaces = all smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/dominios_permitidos, reject If I remove this last three lines the relay becomes close. Anyone knows how to restrict relay and only accept MAIL FROM my domain? Thanks for your attention!! Jerônimo