Iker Perez de Albeniz: > In my main.cf for example i have added: > > smtps_data_restrictions = check_client_acces pcre:/etc/postfix/access.pcre
It is not called "smtps_data_restrictions".
> and in that example access file i have putted:
>
> /^(.*)$/ PREPEND X-Sender-IP: ${1}
Use a regexp that does not match hostnames.
/^[0-9.:]+$/ PREPEND X-Sender-IP: ${1}
Wietse
