后缀:pcre 的 postmap 错误

Thi*_*his 2 linux postfix pcre

postfix-pcre在 debian linux 上使用。

当我运行 postmap /etc/postfix/smtp_header_checks.pcreand 时postmap pcre:/etc/postfix/smtp_header_checks.pcre,出现以下错误:

postmap: warning: smtp_header_checks.pcre, line 1: record is in "key: value" 
format; is this an alias file?
Run Code Online (Sandbox Code Playgroud)

怎么了?我有这个/etc/postfix/smtp_header_checks.pcre

# Remove sender's IP address information
/^Received: .*/ IGNORE
/^X-Originating-IP:/ IGNORE
Run Code Online (Sandbox Code Playgroud)

Thi*_*his 5

您不需要postmap在 postfix 的 pcre 文件上运行。