Sorry for such a basic question but I couldn’t find a solution on my part. I’m trying to block a Subject using header_checks but it’s not working.
This is my rule: /^Subject:.*Invalid HTTP_HOST header.*/ DISCARD SUBJECTALERT I used postmap to test the rule but not match. postmap -q "[KIS] ERROR (EXTERNAL IP): Invalid HTTP_HOST header: '10.54.130.188:8020'. You may need to add u'10.54.130.188' to ALLOWED_HOSTS." regexp:/etc/postfix/header_checks in the configuration see support for regexp: postconf -m btree cidr environ fail hash internal memcache nis proxy regexp sdbm static tcp texthash unix postconf mail_version mail_version = 2.9.6 Is there something wrong with my rule?
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org