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
id - the whitelist entry ID
serverid - the SMTP server ID (or 0 for 'all SMTP servers')
ipaddress - IP address (returned as host address or CIDR address as appropriate), or blank
senderlocalpart - sender local part, */? wildcards allowed, * for 'all'
senderdomain - sender domain, */? wildcards allowed, * for 'all'