Use:
~smtpspfwhitelist~ <format string> ~end~
If you specify the parameter serverid then this will just return white list entries which match all servers or this server.
The format string can have the replacements