[Exim] convert fqdn list to ip list

Top Pagina
Delete this message
Reply to this message
Auteur: Ury N. Stankevich
Datum:  
Aan: exim-users
Onderwerp: [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