summaryrefslogtreecommitdiff
path: root/net-mail/mailbox-count
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mailbox-count')
-rw-r--r--net-mail/mailbox-count/Manifest2
-rw-r--r--net-mail/mailbox-count/metadata.xml162
2 files changed, 23 insertions, 141 deletions
diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
index e486ccbe65a5..ecce2d95cfd3 100644
--- a/net-mail/mailbox-count/Manifest
+++ b/net-mail/mailbox-count/Manifest
@@ -1,3 +1,3 @@
DIST mailbox-count-0.0.6.tar.gz 21176 BLAKE2B 655815d463e14ee8c32cc955819d6b95d5359a644fb09433cb8ab303f07a98ce33b4c048be724253f30d8855a921abb5a7a29e62391ef8a1a9288e2f430710fc SHA512 285aeeaa8cfaade6c91a850154772e47aa212f73d1206c3c8262d08a15b95f15ce812152ca5acf79f5390f476ed6af52a73e03af4ab297e1268044a4a9ece6b5
EBUILD mailbox-count-0.0.6.ebuild 909 BLAKE2B 1c4d5e6e76fe42ed08606e76aad0fc1ec75b29dd7de70f21f641ea0070a6e3fa3098e5d53af8a2c888e4bd66304c486cc1fe5ff22d221eb835538e5efd81799e SHA512 93b965b5d38edf94863fec72fa221bc91ff71c688b7b8ba8bedfb3d1879d50e933db5dfedafe1a92b7b9386aefc367151c58e92e501fb876509258da4cb6f0fc
-MISC metadata.xml 3289 BLAKE2B 5d1dec2ad9a593e25c496b66ae3c611c66aea004c0a1b235d6ef8cf16f91f2f8c55b5d7e901e8fe3f06b6e2b0b26fe91b51b3abfb5bdfff4766b620e3cd05fcb SHA512 fbd3e2e45ca48318b17b26acd9564d9e562a6c007413d9740226b7ca27152377c54a943f4d2be02fb757744e684f7798a1c6ba04cc00244dafa18aa0f6e09593
+MISC metadata.xml 1059 BLAKE2B edbab64630a76439222edc42778fd497de925c8e8c5817da4be3f978c582149d62c369828421d36f0969a2dfa4d87255acf601bf73d339acfea30fe8f1708543 SHA512 9eae87b53f29f2909be1e862b9f811a946f32b271fab52513a6322533b9aa9d0c0738ca8548c4350282fb3bbb879305f7fb82ae662bd9982f851b72eff7315c2
diff --git a/net-mail/mailbox-count/metadata.xml b/net-mail/mailbox-count/metadata.xml
index 4831484d5891..134a467564f6 100644
--- a/net-mail/mailbox-count/metadata.xml
+++ b/net-mail/mailbox-count/metadata.xml
@@ -1,144 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>mjo@gentoo.org</email>
- <name>Michael Orlitzky</name>
- </maintainer>
- <maintainer type="project">
- <email>haskell@gentoo.org</email>
- <name>Gentoo Haskell</name>
- </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)
- \----------------------------------------
- example.com: 3
- example.invalid: 1
- example.net: 2
- example.org: 1
- @
-
- The more detailed report:
-
- @
- $ mailbox-count --detail --database=postfixadmin.sqlite3
- Detail (list of all mailboxes by domain)
- \----------------------------------------
- example.com (3):
- &amp;#x20; user1
- &amp;#x20; user3
- &amp;#x20; user5
- example.invalid (1):
- &amp;#x20; user7
- example.net (2):
- &amp;#x20; user2
- &amp;#x20; user4
- example.org (1):
- &amp;#x20; user6
- @
- </longdescription>
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ <name>Michael Orlitzky</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ 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 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.
+ </longdescription>
</pkgmetadata>