summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-11-26 13:45:09 +0100
committerDavid Seifert <soap@gentoo.org>2017-11-27 00:20:47 +0100
commit62fb79f210cc68c03d3f67eae62cc3dd2a6010ae (patch)
tree2335f2c63d8f2250b1f1fb9fc25b46a8dea02522 /net-mail/mailbox-count
parentnet-mail/list-remote-forwards: [QA] Consistent whitespace in metadata.xml (diff)
downloadgentoo-62fb79f210cc68c03d3f67eae62cc3dd2a6010ae.tar.gz
gentoo-62fb79f210cc68c03d3f67eae62cc3dd2a6010ae.tar.bz2
gentoo-62fb79f210cc68c03d3f67eae62cc3dd2a6010ae.zip
net-mail/mailbox-count: [QA] Consistent whitespace in metadata.xml
Diffstat (limited to 'net-mail/mailbox-count')
-rw-r--r--net-mail/mailbox-count/metadata.xml74
1 files changed, 37 insertions, 37 deletions
diff --git a/net-mail/mailbox-count/metadata.xml b/net-mail/mailbox-count/metadata.xml
index fb7f98befbe3..7660ec6aa1f9 100644
--- a/net-mail/mailbox-count/metadata.xml
+++ b/net-mail/mailbox-count/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
+ <maintainer type="person">
<email>mjo@gentoo.org</email>
<name>Michael Orlitzky</name>
</maintainer>
@@ -11,107 +11,107 @@
</maintainer>
<longdescription>
/Usage/:
-
+
@
mailbox-count [OPTIONS]
@
-
+
Mailbox-count produces a simple count of mailboxes that exist
per-domain in some SQL database. The default queries are compatible
with the schema used by PostfixAdmin &lt;http://postfixadmin.sourceforge.net/&gt;,
but it is possible to supply your own queries via the @--summary-query@
and @--detail-query@ options.
-
+
The summary report lists each domain, along with the number of
mailboxes owned by that domain. The order is determined by the summary
query, which lists the domains alphabetically by default.
-
+
The default detail report shows the same, but also contains a list of
each individual mailbox (again in alphabetical order) belonging to the
domains.
-
+
/Input/:
-
+
None.
-
+
/Output/:
-
+
Either a summary, or detailed report (with @--detail@) of the
number of mailboxes per-domain contained in the database.
-
+
/Options/:
-
+
@
\--database
@
-
+
The name of the database (or file, if SQLite) to which we should
connect.
-
+
Default: The name of the current user (Postgres only).
-
+
@
\--detail
@
-
+
Produce a detailed report listing all mailboxes by domain.
-
+
@
\--detail-query
@
-
+
SQL query used to produce the detail report. This should return the
set of all (domain, username) pairs. See the default value for an
example.
-
+
Default: \"SELECT domain,username FROM mailbox ORDER BY domain;\"
-
+
@
\--host
@
-
+
Hostname where the database is located (Postgres-only).
-
+
Default: None, a UNIX domain socket connection is attempted (Postgres only)
-
+
@
\--password
@
-
+
Password used to connect to the database (Postgres-only).
-
+
Default: None (assumes passwordless authentication)
-
+
@
\--port
@
Port number used to connect to the database (Postgres-only).
-
+
Default: None, a UNIX domain socket connection is attempted (Postgres only)
-
+
@
\--summary-query
@
-
+
SQL query used to produce the summary report. This should return
(domain, user count) pairs. See the default value for an
example.
-
+
Default: \"SELECT domain,COUNT(username) FROM mailbox GROUP BY domain
ORDER BY domain;\"
-
+
@
\--username
@
-
+
Username used to connect to the database (Postgres-only).
-
+
Default: The current user
-
+
/Examples/:
-
+
The default summary report:
-
+
@
$ mailbox-count --database=postfixadmin.sqlite3
Summary (number of mailboxes per domain)
@@ -121,9 +121,9 @@
example.net: 2
example.org: 1
@
-
+
The more detailed report:
-
+
@
$ mailbox-count --detail --database=postfixadmin.sqlite3
Detail (list of all mailboxes by domain)