[Exim] convert fqdn list to ip list

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ury N. Stankevich
Datum:  
To: exim-users
Betreff: [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