https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7992
--- Comment #10 from Henrik Krohns <apa...@hege.li> --- FYI, it's possible to capture multiple values into a capture by using the same name. echo -e "X-ESP-ID: 12345, 66666\n\nHello" | \ SA_LOGGER_ESCAPE=0 spamassassin \ --cf 'header __X_ESP_ID X-ESP-ID =~ /^(?<XESPID>\d+)(?:,\s*(?<XESPID>\d+))*/' \ --cf 'askdns ESP_LOOKUP _XESPID_.espbl.foobar.com A 127.0.0.2' -t -D askdns 2>&1 | \ grep ESP dbg: askdns: rule ESP_LOOKUP depends on tags: XESPID dbg: askdns: launching query (ESP_LOOKUP): 66666.espbl.foobar.com dbg: askdns: launching query (ESP_LOOKUP): 12345.espbl.foobar.com But it's not possible to use the same capture name across different rules. As the set_tag is called right after a rule is hit, a new hit will always overwrite the older tag value. Also the first set_tag call will activate and remove any depending callbacks. -- You are receiving this mail because: You are the assignee for the bug.