Re: [exim] Regex String Help

Góra strony
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
Dla: David S. Madole
CC: exim
Temat: Re: [exim] Regex String Help
I tied this but it doesn't remove the duplicates. ;)

Requires the snapshot Exim 4.45 to run this.

headers add "X-Sender-Nameserver3: ${sg{${sg{\
${sg{\
${lookup dnsdb{zns=${sg{$sender_host_address}\
{\\N([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3}\)\.([0-9]{1,3}\)\\N}\
{\\N$4.$3.$2.$1.in-addr.arpa\\N}}}} \
${lookup dnsdb{zns=${sg{$sender_host_address} \
{\\N([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3}\)\.([0-9]{1,3}\)\\N}\
{\\N$3.$2.$1.in-addr.arpa\\N}}}} \
${lookup dnsdb{mxh=$sender_address_domain : ${domain:$h_From:} :
$sender_helo_name}} \
}{\n}{ }}\
}{\\N\s(.*?)(?=\s(.*\s)?\1\s)\\N}{}}}{\\N^\s|\s(?=\s)|\s$\\N}{}}"