accept hosts = : accept hosts = +relay_from_hosts drop condition = ${if match{$sender_helo_name}{MY_IP}{yes}{no} } message = "Dropped spammer pretending to be us" drop condition = ${if match{$sender_helo_name}{^[0-9]\.[0-9]\.[0-9]\.[0-9]}{yes}{no} } message = "Dropped IP-only or IP-starting helo" drop condition = ${if match{$sender_helo_name}{dsl|dialup|pool|peer|dhcp|dynamic|asianet}{yes}{no} } message = "Dropped dynamic host helo" drop condition = ${if match{$sender_helo_name}{localhost}{yes}{no} } message = "Dropped spammers pretending to localhost"