[Exim] convert fqdn list to ip list

Góra strony
Delete this message
Reply to this message
Autor: Ury N. Stankevich
Data:  
Dla: exim-users
Temat: [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