Spam Petya: > Hi! > > I am still getting NDR-s. I uploaded come ndr header to a txt file to test > with postmap, and I am seeing the REJECT, so the header_check is working if > I understand right. > I used this command to test: postmap -vq - > regexp:/etc/postfix/header_checks < uploaded_text.txt > Output: > (...) > postmap: dict_regexp_lookup: /etc/postfix/header_checks: > =?us-ascii?Q?7E0z14P8WDtXEwmu8gftuT9PHKgHFzkME8KD0jE=3D?= > Received: from fmfwd00.freemail.hu (195.228.245.78) by REJECT > Received: by fmfwd00.freemail.hu (Postfix) REJECT > > > postconf -n | egrep 'header_checks|receive_override_options' Output is: > header_checks = regexp:/etc/postfix/header_checks > but postconf -M | egrep 'header_checks|receive_override_options' gives > nothing. > > Any more ideas what should I check?
Can you demonstarte that POSTFIX actually uses these rules? If it does not use these rules, then it does not matter what you put in there. Wietse