Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to know what lines need to be added to header_checks in order to make postfix log replyto entry. I already tried this with no chance :

/^Reply-To:.*$/ INFO replyto:$1


share|improve this question

1 Answer 1

up vote 1 down vote accepted

$1 refers to a matched substring, but your pattern does not define any substrings. Try:

/^Reply-To:(.*)$/ INFO replyto:$1

Check http://www.postfix.org/header_checks.5.html

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.