Custom collection for handling mox mail server logs in crowdsec. The HTTP logs are parsed as a standard http access log so that the standard scenarios work, the mail logs require a custom scenario
cat acquis.yaml >> /etc/crowdsec/acquis.yaml
mkdir -p /etc/crowdsec/parsers/s01-parsers/mox
mv mox-parser.yaml /etc/crowdsec/parsers/s01-parsers/mox/mox-parser.yaml
mkdir -p /etc/crowdsec/scenarios/mox
mv mox-auth-fail-scenario.yaml /etc/crowdsec/scenarios/mox/mox-auth-fail.yaml
cscli collections install crowdsecurity/base-http-scenarios
systemctl reload crowdsec