Dovecot is an open-source IMAP and POP3 server for Unix-like operating systems, written primarily with security in mind. Timo Sirainen originated Dovecot and first released it in July 2002. Dovecot developers primarily aim to produce a lightweight, fast and easy-to-set-up open-source email server. The primary purpose of Dovecot is to act as a mail storage server. The mail is delivered to the server using some mail delivery agent and is stored for later access with an email client.1
Within Dovecot you can set quota's. This custom integration will retreive these quota's and present them within Home Assistant.
You need a ssh login account which lets you execute the following command on a linux server:
- doveadm quota get -A
Via HACS:
-
Add the following custom repository as an integration:
- MarcoGos/dovecot_quotas
-
Restart Home Assistant
-
Add the integration to Home Assistant
Provide a hostname, username and password and select the accounts you want to follow.
Each selected account will show up as a device. The following entities will be created for every selected account (device):
- Quota:
- Quota setup for account. Value will be Unknown if no quota is set.
- Free:
- Total free space2
- Free (%)
- Percentage free space based on quota3
- Used:
- Total used space
- Used (%):
- Percentage used based on quota
The entity information is updated every 60 minutes.
No problem known thus far.