zone-eu/zone-mta

PR request: include disabled zones in /zones api

skadefro opened this issue · 1 comments

I would suggest updating http api /zone to also include disabled zones.
This could be relevant in multiple cases, but specifically i requests it to show mails and statistics in ZoneMTA web admin for disabled zones too.
I'm using the trick suggested in #287 so this would allow monitoring mails in hold.
We could also add a different property to a zone, that will not disable it but also make it stop processing, but disabled kind of covers that perfectly ?

Fixed with fb826d6 - added a query argument includeDisabled. If it is "true" then returns all zones