Aupa,
> smtpd_client_restrictions = check_client_acces pcre:/etc/postfix/access.pcre
> /^(.*)$/ PREPEND X-Sender-IP: ${1}
Puedes hacerlo con header_checks:
header_checks = pcre:/etc/postfix/header_checks
y
/^Received: from .* \(.* \[([0-9\.]+)\]\).*$/ PREPEND X-Sender-IP: ${1}
(te respondo en postfix-users también :P )
ai0!
split.