On 17.04.23 08:54, SysAdmin EM via Postfix-users wrote:
Hello everyone the problem persists. Maybe I’m doing something wrong.
Step 1, I add the rule in the /etc/postfix/header_checks file
/^Subject:.*You may need to add/ DISCARD TMP_BLOCK
Step 2, postmap /etc/postfix/header_checks and postfix
Hello everyone the problem persists. Maybe I’m doing something wrong.
Step 1, I add the rule in the /etc/postfix/header_checks file
/^Subject:.*You may need to add/ DISCARD TMP_BLOCK
Step 2, postmap /etc/postfix/header_checks and postfix surcharge.
Are these steps correct?
Could the problem oc
On Fri, Apr 14, 2023 at 05:51:21PM -0300, SysAdmin EM via Postfix-users wrote:
postmap -q "Subject: [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
On 14.04.23 18:15, Viktor Du
On Fri, Apr 14, 2023 at 05:51:21PM -0300, SysAdmin EM via Postfix-users wrote:
> postmap -q "Subject: [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
Works here (bash syntax)
The rule not work
postmap -q "Subject: [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
WARN
/^Subject:.*You may need to add.*/ DISCARD BLOCK_TEMPORAL
any ideas??
On Fri, Apr 14
On Fri, Apr 14, 2023 at 03:31:17PM -0300, SysAdmin EM via Postfix-users wrote:
> 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.*