Skip to content

MarcoGos/dovecot_quotas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dovecot Quotas

GitHub Release GitHub Activity Install Stats

Project Maintenance Community Forum

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.

Prerequirements

You need a ssh login account which lets you execute the following command on a linux server:

  • doveadm quota get -A

Installation

Via HACS:

  • Add the following custom repository as an integration:

    • MarcoGos/dovecot_quotas
  • Restart Home Assistant

  • Add the integration to Home Assistant

Setup

Provide a hostname, username and password and select the accounts you want to follow.

What to expect?

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.

Known problems

No problem known thus far.

Footnotes

  1. Source Wikipedia

  2. Is calculated by Quota - Used

  3. Is calculated by substracting 100% - Used (%)

About

Dovecot Quotas custom component integration for Home Assistant

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages