Re: [exim] Regex String Help

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Marc Perkel
日付:  
To: David S. Madole
CC: exim
題目: 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}{}}"