chiark / gitweb /
probes: receive
[modbot-urcm.git] / forward-slimy.part.INO
index 059e4622387bfaa42fc5ae6b5c3099d7bbf661ef..6cafafa1d726789a3fe13a45c51746c59862ac4c 100644 (file)
@@ -2,6 +2,10 @@ if $local_part_suffix is +%ABBREV%+%KEYSUBMIT%
 or $local_part_suffix is +%ABBREV%+test-submission
 then
        unseen pipe "mail -s submission %LOGGROUPEMAILPREFIX%+%ABBREV%+log+submissions"
+       if $header_X-WebSTUMP-Relay-Probe: contains %GROUP% then
+               pipe "%BASEDIR/probes/modrelays-probe received %BASEDIR%"
+               finish
+       endif
        unseen pipe "%BASEDIR%/xlog/bin/record submission %GROUP%"
        pipe "%BASEDIR%/stump/etc/modenv stump.pl submission.pl"
        finish