require ["vnd.dovecot.pipe", "copy", "body"]; # rule:[Booking SMS] if body :text :contains "Extranet code:" { pipe :copy "booking_sms.sh"; }