where CAPTURE_EHLO is
CAPTURE_EHLO = UPDATE whitelist SET \
ehlo='${quote_mysql:${sg {$sender_helo_name} \
{\N(?<![^.]*\.(com|net|edu|gov|org))\N}{}}}' \
WHERE domain='${quote_mysql:$sender_address_domain}'
But I get error " lookbehind assertion is not fixed length at offset 32"
Not only that, my expression limits me to only a few TLDs.
This appears to me to require some kind regex to strip the
server123.mx23. away. Can someone take this a bit farther?