Dear all, I am on Postfix 2.11.7 and have pcre-based sender_access, body_checks and header_checks files.
body_checks = pcre:/etc/postfix/body_checks,pcre:/etc/postfix/bad_urls header_checks = pcre:/etc/postfix/header_checks When using postmap on these files, I am getting a lot of warnings saying there are duplicate entries such as: # postmap /etc/postfix/body_checks (…) postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you've" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/you've" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/your" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/your" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/your" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/your" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/your" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/a" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/in" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/by" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/der" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/sehr" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/this" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/start" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/a" postmap: warning: /etc/postfix/body_checks.db: duplicate entry: "/email“ (…) # grep '/you' /etc/postfix/body_checks /you will not receive this offer again/ REJECT Spam /you will not receive any future mailings/ REJECT Spam /your request will be (honored|honoured) with prompt removal/ REJECT Spam /yourgameisfalse.com/ REJECT Spam 19 Would somebody mind explaining to my why this happens? How do these rules have to look like to be parsed correctly? Many thanks. Best regards Sebastian
signature.asc
Description: Message signed with OpenPGP using GPGMail