[Exim] convert fqdn list to ip list

Etusivu
Poista viesti
Vastaa
Lähettäjä: Ury N. Stankevich
Päiväys:  
Vastaanottaja: exim-users
Aihe: [Exim] convert fqdn list to ip list
hi

i wish implement following policy:
if email sender ip address is not his domain mx, then use more
restrictive spam policy.

${sg {${sg {${lookup dnsdb{mx=microsoft.com}{$value}{} }} {[0123456789]+ }{} }}{\n}{:}}
this string makes:

mailc.microsoft.com:maila.microsoft.com:mailb.microsoft.com

but.. how can i convert it to ip:ip:ip ?

--

 Ury                          mailto:ury@iptel.by