Ian Wienand 8bf3bbba93
mailman: add variable for matching UAs in Apache
This allows us to quickly create a list of user agents we may not want
to crawl the site.

Change-Id: Ibbc84e0f7b529cd029770cc8ec3a3d82477734ce
2023-01-11 15:47:20 +11:00

12 lines
345 B
ReStructuredText

Role to configure mailman
**Role Variables**
.. zuul:rolevar:: mailmain_block_ua
:default: unset
Set to a list of strings of user agents to block via Apache config.
Note this is a `RewriteCond directive
<https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html>`__, so
for example to exactly match a string prefix it with ``=``.