From 7a19ab91c57bfe9c3fb8a6e4105f300c7f638e2d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 22 Apr 2014 20:52:40 -0400 Subject: [PATCH] Add an example config file. --- doc/mailbox-countrc.example | 44 +++++++++++++++++++++++++++++++++++++ mailbox-count.cabal | 1 + 2 files changed, 45 insertions(+) create mode 100644 doc/mailbox-countrc.example diff --git a/doc/mailbox-countrc.example b/doc/mailbox-countrc.example new file mode 100644 index 0000000..8a3529d --- /dev/null +++ b/doc/mailbox-countrc.example @@ -0,0 +1,44 @@ +# +# Sample configuration file for mailbox-count. +# + +# The name of the database to which we should connect. +# +# Default: The name of the current user (Postgres only) +# +# database = "postfixadmin" + + +# Produce a detailed report listing all mailboxes by domain. +# +# Default: false +# +# detail = true + + +# Hostname where the database is located. +# +# Default: None, a UNIX domain socket connection is attempted (Postgres only) +# +# host = "localhost" + + +# Password used to connect to the database. +# +# Default: None (assumes passwordless authentication) +# +# password = "hunter2" + + +# Port number used to connect to the database. +# +# Default: None, a UNIX domain socket connection is attempted (Postgres only) +# +# port = 5432 + + +# Username used to connect to the database. +# +# Default: The current user +# +# username = "postgres" diff --git a/mailbox-count.cabal b/mailbox-count.cabal index f80f2b7..752fe24 100644 --- a/mailbox-count.cabal +++ b/mailbox-count.cabal @@ -10,6 +10,7 @@ bug-reports: mailto:michael@orlitzky.com category: Mail, Utils build-type: Simple extra-source-files: + doc/mailbox-countrc.example doc/man1/mailbox-count.1 test/fixtures/postfixadmin.sqlite3 synopsis: -- 2.43.2