Paul Enlund a écrit : > Hi > > I want to stop MAIL FROM: someb...@[a.b.c.d] (IP address) being accepted. > My impression would have been the config below would do this as say > [1.1.1.1] > does not have A or MX records. >
try a check_sender_access with a pcre map: /@\[/ REJECT Sorry, we do not accept literal IP addresses. > smtpd_sender_restrictions = > reject_unknown_sender_domain > well, obviously, [1.1.1.1] is not a valid DNS notation, so "nothing" is going to check it in DNS. > > How can I achieve my goal. > > Regards Paul Enlund.