[Exim] convert fqdn list to ip list

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ury N. Stankevich
Date:  
À: exim-users
Sujet: [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